aspose file tools*
The moose likes Developer Certification (SCJD/OCMJD) and the fly likes Examiner's Path to JDK executables 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 "Examiner Watch "Examiner New topic
Author

Examiner's Path to JDK executables

Jack Coleman
Ranch Hand

Joined: Apr 08, 2002
Posts: 32
I always hate to assume anything.
Do we need to explicitly tell the examiner how to set up their path to the java and jar executables? The instructions state that:
"If any environmental setup is required, do not just say what needs to be done; provide instructions on how to perform the setup."
Since these people most likely work for Sun, can't we assume(ugh) that their system path is properly set up?
If anyone who has already submitted can respond, I would appreciate it.


Tell me, Mr. Anderson, what good is a phone call when you are unable to speak?
Mark Spritzler
ranger
Sheriff

Joined: Feb 05, 2001
Posts: 17257
    
    6

Hope this helps. Here is the only instructions I wrote in my readme.txt in regards to running the program

-----------------------------------------
To run the server
1. run the following command
java -Drmi.security.policy=policy.all -jar server.jar

this starts the server and it's GUI.
----------------------------------------------------------------------------------------------------------
To run the client
1. to run in Local mode
a. run the following command
java -jar client.jar

OR


2. to run in Remote mode
a. run following command

java -Djava.security.policy=policy.all -jar client.jar {URL of Server}

make sure you add the URL location of the database in that call.
as an example

java -Djava.security.policy=policy.all -jar client.jar Localhost
or
java -Djava.security.policy=policy.all -jar client.jar 192.155.255.16
-----------------------------------------

Hope that helps
Mark


Perfect World Programming, LLC - Two Laptop Bag - Tube Organizer
How to Ask Questions the Smart Way FAQ
Jack Coleman
Ranch Hand

Joined: Apr 08, 2002
Posts: 32
So, from your response, it looks like you did not tell them to put the JDK in their path.
Thanks.
Mark Spritzler
ranger
Sheriff

Joined: Feb 05, 2001
Posts: 17257
    
    6

Nope not at all.
Mark
Dasong
Ranch Hand

Joined: Apr 05, 2002
Posts: 36
Hi Mark
when I run java -jar client.jar
Got the error message as "Failed to load Main-Class manifest attribute from client.jar" . how did you do.
Daniela Ch
Ranch Hand

Joined: Dec 13, 2002
Posts: 96
Dasong,
you need a linefeed in the manifest file...
daniela
Robert Stuart
Greenhorn

Joined: Jan 09, 2003
Posts: 10
I spent some time chasing improperly ending manifest file with hard return. Not likely to forget mistake. The things we learn in pursuit of SCJD.
 
wood burning stoves
 
subject: Examiner's Path to JDK executables