Getting started java Installation - English

35491 visits



Outline:

Getting started with Java Installation * Install jdk from Synaptic Package Manager * Choose openjdk-6-jdk from the list of packages available * Mark it for installation * The installation will take a few seconds * Verify the installation * At the command prompt type java -version, so the version number of the jdk will be displayed * Run a simple java program and see if it works * Type javac TestProgram.java for compiling the code and java TestProgram for executing the code