This week's book giveaway is in the Design forum.
We're giving away four copies of Building Microservices and have Sam Newman on-line!
See this thread for details.
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

Win a copy of Building Microservices this week in the Design forum!
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: 17271

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 - Two Laptop Bag - Tube Organizer
How to Ask Questions the Smart Way FAQ
Najib Coutya

Joined: Dec 18, 2001
Posts: 28
Thanks a lot Mark.
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link:
subject: Jars
It's not a secret anymore!