File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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


Najib Coutya

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

Joined: Feb 05, 2001
Posts: 17276

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.

Perfect World Programming, LLC - iOS Apps
How to Ask Questions the Smart Way FAQ
Najib Coutya

Joined: Dec 18, 2001
Posts: 28
Thanks a lot Mark.
I agree. Here's the link:
subject: Jars
It's not a secret anymore!