You can install JDK just like you installed JRE.
- Go to download section of Sun's website
- Go to the Java SE download
(FYI - SE stands for Standard Edition, as opposed to EE which stands for Enterprise Edition, which contains support for EJBs, and ME stands for Mobile Edition for developing Java apps for mobile devices -- not that anybody does this anymore)
- Download the JDK installer and run it
- After it installs, you will see the following folder:
C:\Program Files\Java\jdk1.6.0_21
That's it! You have installed JDK.
Once again, note that JDK is just a program like every other program you have on your computer. Looking inside you will see the following directories:
C:\Program Files\Java\jdk1.6.0_21\bin
C:\Program Files\Java\jdk1.6.0_21\lib
You will see javac.exe in /bin - this is the Java compiler
You will see several other exe - these are different developer tools.
Note also the directory:
C:\Program Files\Java\jdk1.6.0_21\jre
This is the JRE and contains the java.exe which we are familiar with (it is the run time java executable that runs your Java programs)
Note - the jdk/bin also has a java.exe, but this is a soft link to the jre/java.exe
No comments:
Post a Comment