A2 Creating Java Executables


In order to compile and run the Java program, there must be a Java programming environment. You must install Java Development Tool Kit on you machine. There are various versions of Java presently available in the market. The most recent version is JDK 1.6 (also known as Java 6). The various components of the Java Development Kit has been discussed in detail throughout the book. After installing the Java programming environment, the next step is to develop an application in Java. No one can run the Java application directly. In order to run it on windows environment the program should be first compiled using “javac”.

For using the “javac” the class path is set first as shown below using ...

Get Java Programming now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.