GeeCON Prague 2014*
The moose likes Developer Certification (SCJD/OCMJD) and the fly likes Jars Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Certification » Developer Certification (SCJD/OCMJD)
Bookmark "Jars" Watch "Jars" New topic
Author

Jars

Najib Coutya
Greenhorn

Joined: Dec 18, 2001
Posts: 28
Dear All,
I've got my classes bundled in client.jar and server.jar.
On NT and 98 I don't need to worry at all with classpath cause i'm executing with the java -jar method, and it's all working fine.
My question is do I need to worry at all about setting the classpath on UNIX, cause I can't test my stuff on Unix unfortunately!
If it's the same case on Unix, than I don't need to bother the examiner with setting the classpath in my readme documentation. do I?
Thanks for your help.
Mark Spritzler
ranger
Sheriff

Joined: Feb 05, 2001
Posts: 17250
    
    6

Unix is the same, if you run java from the directory that has the jar file.
But it is the same in windows and UNIX.
Mark


Perfect World Programming, LLC - Two Laptop Bag - Tube Organizer
How to Ask Questions the Smart Way FAQ
Najib Coutya
Greenhorn

Joined: Dec 18, 2001
Posts: 28
Thanks a lot Mark.
 
GeeCON Prague 2014
 
subject: Jars