O'Reilly logo

Java Programming by Hari Mohan Pandey

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

A2 Creating Java Executables

A2.1 EXECUTABLE JAVA ARCHIVES

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required