File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Setting up J2SE development kit" Watch "Setting up J2SE development kit" New topic

Setting up J2SE development kit

Greg Hall

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="" target="_blank" rel="nofollow">Business Information Technology - Hochschule Furtwangen University, Germany</a>
Jesper de Jong
Java Cowboy
Saloon Keeper

Joined: Aug 16, 2005
Posts: 15094

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

Java Beginners FAQ - JavaRanch SCJP FAQ - The Java Tutorial - Java SE 8 API documentation
I agree. Here's the link:
subject: Setting up J2SE development kit
It's not a secret anymore!