You only need to worry about the SDK and the JRE (java runtime environment ie. the client piece). The SDKs contain the Sun Java System Application Server (Sun's supported distribution of GlassFish) and provide support for Java EE 5 specifications. The new Java Application Platform SDK features additional runtimes such as Open ESB with JBI and BPEL, Portlet Container, Dynamic Faces, jMaki (Ajax), Phobos, jRuby, Rome, Atom, REST, WADL, Blogapps, and Sun Java System Access Manager
AnalProgrammer
2007-09-23 01:00:40 UTC
Start here
binaryFusion
2007-09-23 03:20:31 UTC
Go to the following URL.
http://java.sun.com/javase/downloads/index.jsp
Choose the following Download.
"JDK 6 Update 2 with NetBeans 5.5.1"
On the first download page choose
"Java SE Development Kit 6u2 and NetBeans IDE 5.5.1 Bundle Downloads " ------->"JDK 6u2 with NetBeans IDE 5.5.1 Bundle"
HERE U SHALL ALSO GET INSTALLATION INSTRUCTIONS.
From the next download page Download J2SE6 appropriate for your Operating system.
INSTALL J2SE6
Set JAVA_HOME, PATH, CLASSPATH.
To compile use from command line
javac MyProg.java
To run use from command line
java MyProg
Hope that will serve your purpose.
AFTER UR MESSAGE WHICH IS AS FOLLOWS:
Message: I have intalled JDK 6 Update 2 with NetBeans 5.5.1 as you told me. netbean is shown on the screen and can be open. I dont know how to open JDK6. I know it exists in the program files as the "Java" file. I got into "jdk1.6.0_02" in the "Java" file and I saw
alot of files and documents. Please tell me how to just open JDK and use it. Sincerely Daniel.
MY REPLY:
1> What's ur OS? Always mention it while asking system related questions .
2>
A>
If ur OS is one of Windows family then usually the installer sets JAVA_HOME, PATH, CLASSPATH. As u mentioned that NetBeans can be opened, most probably the environment variables has been set by the installer.
In that case JDK can be used.
Just go to command prompt (c:> ) and give command
javac
If u get output as follows then the java compiler is working fine.
C:\Documents and Settings\Administrator>javac
Usage: javac
ⓘ
This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.