This week's book giveaway is in the OCMJEA forum.
We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line!
See this thread for details.
The moose likes Beginning Java and the fly likes Setting up J2SE development kit Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Setting up J2SE development kit" Watch "Setting up J2SE development kit" New topic
Author

Setting up J2SE development kit

Greg Hall
Greenhorn

Joined: Nov 30, 2005
Posts: 1
I need to know how to add an entry to the PAth ENVIRONMENT VARIABLE THAT POINTS TO THE /BIN directory inside the main java directory? I am new to java.
Sanjaya Sugiarto
Ranch Hand

Joined: Mar 25, 2004
Posts: 229
You use Windows?
Try: Start >> Settings >> Control Panel >> System >> Advanced >> Environment Variables >> look vor variable "Path" than edit it and add a path to your Java bin directory (ex. C:\j2sdk1.4.2_08\bin).

After that check it if you have configured it correctly. Just go to start >> run >> type 'cmd' without quote than type 'java -version'.


<a href="http://www.wi.hs-furtwangen.de" target="_blank" rel="nofollow">Business Information Technology - Hochschule Furtwangen University, Germany</a>
Jesper de Jong
Java Cowboy
Saloon Keeper

Joined: Aug 16, 2005
Posts: 14117
    
  16

The JDK Installation Notes also explain how to set your PATH in Windows...


Java Beginners FAQ - JavaRanch SCJP FAQ - The Java Tutorial - Java SE 7 API documentation
Scala Notes - My blog about Scala
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Setting up J2SE development kit