Link to home
Start Free TrialLog in
Avatar of Sarge516
Sarge516

asked on

I need the java launcher command line that runs my program from eclipse 3.5. Where do I find that?

I know there are workarounds, but I need to find the command line string that eclipse generates to run my class.  I have numerous jars and I need to cut and paste that string into another application. I am looking for the command generated by eclipse, i.e java -cp .....

Running Eclipse 3.5 on Fedora 12.
Avatar of Gurvinder Pal Singh
Gurvinder Pal Singh
Flag of India image

java -classpath ..\lib\jar1;..\lib\jar2 classname
Well, since this is on Fedora I'd use : as the separator between the parts in the classpath i.e.
  java -cp ../lib/jar1;../lib/jar2 fully-qualified-classname
ASKER CERTIFIED SOLUTION
Avatar of gksinghiet
gksinghiet

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Sarge516
Sarge516

ASKER

I was trying to get what eclipse generates, but that might not be possible. This solution would work for what I need to do.

Thanks!
Thanks for the point and rating :)