Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
The moose likes Developer Certification (SCJD/OCMJD) and the fly likes Correct synthax for Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Certification » Developer Certification (SCJD/OCMJD)
Bookmark "Correct synthax for" Watch "Correct synthax for" New topic

Correct synthax for

raphael Bereh
Ranch Hand

Joined: Jan 15, 2002
Posts: 79
Hi All,
What is the correct synthax for the option :
I have seen in some documents that after file you should have : /jar_file.jar but I have tried this on Windows and Linux and only the following works:
So which one is it :
file:/jar_file.jar or
file:jar_file.jar ?
Actually, on Windows Systems, if there is no CLASSPATH variable, file:/jar_file,jar works !!!,
If there is one it does not, instead file:jar_file.jar works !!!

With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
subject: Correct synthax for
Similar Threads
Command line synthax
Character conversion problem
problem with downloading file
Using a Jar File in Dos/Batch Script
Is it me or just Eclipse... JEdit too...