Win a copy of Learn Spring Security (video course) this week in the Spring forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

environment variables

 
Anurag Malaviya
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi

Can anyone please let me know how to set the path for java

I know this can be done be done by creating an environment

variable. but its not working

Thanks in advance
 
Vijitha Kumara
Bartender
Posts: 3913
9
Chrome Fedora Hibernate
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Tell us what have you tried and how? Normally you should add a environment variable called path (if not exist already) and add an entry which points to the bin directroy of your java installation.

 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What OS?
 
Jesper de Jong
Java Cowboy
Saloon Keeper
Posts: 15203
36
Android IntelliJ IDE Java Scala Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The JDK installation instructions explain exactly what you should do (look at step 4, "Updating the PATH variable").
 
fred rosenberger
lowercase baba
Bartender
Posts: 12083
29
Chrome Java Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
David has a very important question. How you set an environment variable is dependent on what operating system you use. it won't help for someone to give you directions on how to do it in Unix when you are running Mac OS X. it is important to tell the details.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic