Re: Retrieving the module classpath to run an external Java program

2020-02-05 Thread Ernie Rael
See the NB javadoc for InstalledFileLocator. Using that, you should be able to put together the classpath you want. For example, File aJar = InstalledFileLocator.getDefault().locate(     "modules/ext/something.jar", "com.here.you", false); -ernie On 2/5/2020 6:40 PM, Michael Wiedeking w

Retrieving the module classpath to run an external Java program

2020-02-05 Thread Michael Wiedeking
Hello. From within my plugin I need to start an external process running a Java program which needs some of my modules. Is there a way to retrieve a (runtime) classpath which contains all the locations of my modules' JAR files (including all the needed NetBeans modules)? Thanks, M. [Clarifi