• Post Reply Bookmark Topic Watch Topic
  • New Topic

PATH  RSS feed

 
kasisy herman
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
am very new to java and would like to know how to create a path.
i know how to get to enviroment variable but what to enter in the boxes is a mystery. i dowloaded "The Java SE Development Kit 6 (JDK 6)"
please help! thank you.
 
Sethu Raman
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi

Follow this to proceed

MyComputer(Right Click) -> Properties -> Advanced -> Environmental Variables -> New

in that
Variable Name: JAVA_HOME (any understandable name can be given)
Variable Value: C:\j2sdk1.5 (Actual path where your jdk is installed)


I think you might have clear in the above.

-------------------------------------------------
Sethu
Life is to succeed.......
 
Jesper de Jong
Java Cowboy
Sheriff
Posts: 16060
88
Android IntelliJ IDE Java Scala Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Setting JAVA_HOME will not help. You need to add the 'bin' directory of your JDK installation to the PATH.

So, if you installed your JDK in C:\jdk1.6.0_03 for example, you will have to add this to the PATH:

C:\jdk1.6.0_03\bin

Note that the entries in PATH are separated by ; on Windows. So you need to add ;C:\jdk1.6.0_03\bin to the end of the current PATH (if your JDK is indeed installed in C:\jdk1.6.0_03).
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!