I'm trying to add a directory to the classpath of an application run profile
If I override by using -cp x:target/classes in the VM settings, I get the following error:
java.lang.NoClassDefFoundError: com/intellij/rt/execution/application/AppMain
Any idea on how to add a directory to the classpath for my project?
In IntelliJ, Eclipse classpath variables are called path variables and they are accessible via this link: File > Settings > Appearance & Behaviour > Path Variables.
In Intellij 13, it looks it's slightly different again. Here are the instructions for Intellij 13:
Classes
(even if it's properties), press OK and OK againIf you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With