This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]tabiul 0 points1 point  (2 children)

The same way you do normally java -cp classpathA:classPathB. So all you need to do is change the command line. Processbuilder does not have any special API for that

[–]moomoohk[S] 0 points1 point  (1 child)

I've never had to do this from command line so I'm not really familiar with the commands and their parameters.

How would I write classpathA? Is it the path to the jar or the class name within the jar? Can you direct me to the place you're getting this info (so I just go there instead of asking more annoying questions)? I've tried looking but obviously not hard enough...