wood burning stoves 2.0*
The moose likes Developer Certification (SCJD/OCMJD) and the fly likes Instructions on setting classpath in Unix 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 "Instructions on setting classpath in Unix" Watch "Instructions on setting classpath in Unix" New topic
Author

Instructions on setting classpath in Unix

Rasika Chitnis
Ranch Hand

Joined: Jun 19, 2001
Posts: 131
As I started writing readme.txt file, I had a question on how detailed we need to go on writing the instructions to run the program. Specially about setting classpath in Unix.
The command to set classpath may differ depending on the type of shell.
For example, in ksh and sh,
export CLASSPATH=<name and path of the jar file>
will work, but in csh, the command would be
set CLASSPATH=<name and path of the jar file>
Do we need to include instructions for different shells in Unix environment ?
Anyone please comment !!!
Adam Roberts
Ranch Hand

Joined: Mar 18, 2002
Posts: 71
I dont think you need to do too much as far as this goes. I just gave an example for two different ones(RH7.2 + W2K) and then below it put something like "consult your OS docs for more info on setting user/system variables"
Dont worry about it too much


Adam Roberts - SCJP2, SCJD<br />insert witty something here
Rasika Chitnis
Ranch Hand

Joined: Jun 19, 2001
Posts: 131
thanks, but what is RH7.2 ?
Adam Roberts
Ranch Hand

Joined: Mar 18, 2002
Posts: 71
Redhat linux 7.2
Terry Wang
Ranch Hand

Joined: Aug 27, 2001
Posts: 102
i don't think you need to tell how to set up on unix.
i just told them i used only win2000 as dev and test environment, and use windows commands to set up. everything is ok as indicated in the result (147/155)


scjp/jd/wcd/mcad/scea 1
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Instructions on setting classpath in Unix
 
Similar Threads
Executing a jar file from command prompt
compiling the EJB interfaces
readme.txt
Program Execution Instructions
"JAVA_HOME/bin"... Directory help