| Author |
Downloads and Classpath
|
jignesh soni
Ranch Hand
Joined: Dec 10, 2007
Posts: 147
|
|
JDK1.6.0_01 contains jre, do I still need to jre separately ? if yes, why ? JDK contains bin folder and it also contains JRE folder. Now inside JRE, there is a bi folder. So which bin folder I set my path to ? In Head First Java book, it is mentioned to download J2SE documentation API and on java.sun.com, there is Java SE 6 Documentation. Is this the one mentioned in book and a developer is supposed to download ?if not then which Documentation API shall I download ? My jdk download is in c directory , so command to set path will be c:>set path=c:\jdk1.6.0_01\jre\bin is this right ? Do I point to jre bin or just jdk bin ?) now if I want to make this path permanent, at command prompt I type c:>%path%;set path=c:\jdk1.6.0_01\jre\bin is this right,pls correct if not Thanks for co-operation
|
 |
marc weber
Sheriff
Joined: Aug 31, 2004
Posts: 11343
|
|
Welcome to JavaRanch! The JDK includes the JRE, and you do not need a "separate" JRE. Assuming that you are running Windows, see Sun's JDK installation instructions. Step 4 describes setting the PATH variable for the JDK bin directory. Yes, the "Java SE 6 Documentation" sounds correct. See Sun's documentation installation instructions. Let us know how this works for you.
|
"We're kind of on the level of crossword puzzle writers... And no one ever goes to them and gives them an award." ~Joe Strummer
sscce.org
|
 |
Balasubramanian Chandrasekaran
Ranch Hand
Joined: Nov 28, 2007
Posts: 215
|
|
Hi jignesh soni:
JDK contains bin folder and it also contains JRE folder. Now inside JRE, there is a bin folder. So which bin folder I set my path to ?....
You have to set your path variable to point to BIN folder inside JDK HOME DIRECTORY in your case its c:\jdk1.6.0_01\ You have to use c:\>set path=c:\jdk1.6.0_01\bin; For further information follow this link Setting Up Java
|
 |
 |
|
|
subject: Downloads and Classpath
|
|
|