Is There An Option For dynamic.classpath?

My classpath got too long on Windows and I couldn't launch from IDEA.
Setting this option in the workspace.xml fixed it

<component name="PropertiesComponent">
  ...
  <property name="dynamic.classpath" value="true" />
</component>


Can this be set at the Project level or the system level via the GUI?
3 comments
Comment actions Permalink

IDE should detect long classpath and suggest to enable this option automatically, see my answer here for details: http://stackoverflow.com/a/4853779/104891 .

If it was not suggested, please file a bug at http://youtrack.jetbrains.com/issues/IDEA and specify what run/debug configuration and compiler you are using.

0
Comment actions Permalink

Hi, I currently IntelliJ version 2018.3, I did the change, but still unable to run my JUnit tests.

I still have the message Command line is too long.

I change the value of Shorten command line:

  • JAR manifest don't work for me.
  • java Wrapper class works but couldn't load correctly quasar library.

 

thank you for your help.

0
Comment actions Permalink

Please report at https://youtrack.jetbrains.com/issues/IDEA with the reproducible test case.

0

Please sign in to leave a comment.