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 readme.txt 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 "readme.txt" Watch "readme.txt" New topic


Nate Johnson
Ranch Hand

Joined: May 13, 2002
Posts: 301
Can we assume that the grader will have their path setup correctly to run java correctly? The syntax for my client is
java -jar client.jar <options>
If the bin directory for java is not in the path, it will not work (obviously)...

scwcd, scjd, scjp<br /><a href="" target="_blank" rel="nofollow"></a><br /><a href="" target="_blank" rel="nofollow"></a>
Michael Morris
Ranch Hand

Joined: Jan 30, 2002
Posts: 3451
Hi Nate,
He wouldn't be much of an examiner if he didn't, now would he? Seriously though, it is best to avoid all environmental setup if possible and most especially setting the CLASSPATH since there are as many ways to do it as there are platforms that Java runs on.
So I guess the short answer is that it is safe to assume that the examiner's CLASSPATH is properly set.
Hope this helps,
Michael Morris

Any intelligent fool can make things bigger, more complex, and more violent. It takes a touch of genius - and a lot of courage - to move in the opposite direction. - Ernst F. Schumacher
Mark Spritzler

Joined: Feb 05, 2001
Posts: 17276

java -jar client.jar <options>

I'd day that is the best way to start the client.

Perfect World Programming, LLC - iOS Apps
How to Ask Questions the Smart Way FAQ
Don't get me started about those stupid light bulbs.
subject: readme.txt
It's not a secret anymore!