• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

do we need set up path

 
hao li
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
After I install SDK 1_3_1 or JDK_1_3_1, it seems
the command "java" works in DOS. We can use the command "java -jar server.jar" in DOS. Means that we don't need to use DOS command like:
Path = C:\jdk1.3.1_04; %PATH%
to set up environment
Am I right?
Thanks,
 
Mark Spritzler
ranger
Sheriff
Posts: 17278
6
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Not sure what you are actually asking. But the path environment variable is something you don't have to worry about for the assessor. You don't have to teach them how to install and use the sdk and java, so in that case I would say no you don't have to give them a path statement to run.
If you mean for yourself, you probably already have the path variable set fo the bin directory and that is why it runs in DOS.
Mark
 
XJ LIN
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks again, Mark
I did not set path variable for the bin directory. But java command is used well in
DOS. I use command set to check the path,
No bin is included in PATH = ... ...;
It seems we don not need to set PATH after install
SDK or JDK?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic