• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

do we need set up path

 
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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,
 
ranger
Posts: 17347
11
Mac IntelliJ IDE Spring
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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?
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic