Add arbitrary class path to debug setting?

Is it possible to add an arbitrary class path to a
debug/run session? If I add this to the vm parameters
then this is assumed to be the class path and all other
paths specified for the project/module are ignored!

All I want is to ADD to the paths that IDEA computes for
the setting based on the selected module.

Any help would be appreciated.

Cheers,

Bonny

2 comments
Comment actions Permalink

There's no way to do this.
You'll have to add the directory/jars as a module/project/global library.

0
Comment actions Permalink

You could add it to the bootstrap classloader using
-Xbootclasspath/a:path
but then it will be loaded before any classpath entries.

The recommended way is of course to add it as a library.

Chris Sherratt schrieb:

There's no way to do this.
You'll have to add the directory/jars as a module/project/global library.

0

Please sign in to leave a comment.