Forums Register Login

Examiner's Path to JDK executables

+Pie Number of slices to send: Send
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.
+Pie Number of slices to send: Send
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
+Pie Number of slices to send: Send
So, from your response, it looks like you did not tell them to put the JDK in their path.
Thanks.
+Pie Number of slices to send: Send
Nope not at all.
Mark
+Pie Number of slices to send: Send
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.
+Pie Number of slices to send: Send
Dasong,
you need a linefeed in the manifest file...
daniela
+Pie Number of slices to send: Send
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.
Get me the mayor's office! I need to tell him about this tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 901 times.
Similar Threads
java -version
JRE assumptions in README.TXT
README.txt - JRE installation instructions?
How do you Unzip a JAR file
readme.txt
More...

All times above are in ranch (not your local) time.
The current ranch time is
Apr 16, 2024 10:17:01.