

Use Notepad to enter the following Java program into a file called Hello.java:Ģ.

Once JDK is installed, you can try to use it to compile and execute a simple Java program:ġ. Java HotSpot(TM) Client VM (build 22.1-b02, mixed mode, sharing) Java(TM) SE Runtime Environment (build 1.7.0_03-b05) If you are getting the following output, your installation was ok:Ĭ:\>"\Program Files\Java\jdk1.7.0_03\bin\java.exe" -version To test the installation, open a command window to try the java command.

