The first time I met with Java is expecting. Let you take you the first attempt below. First, there is a environment running Java, the software that is most common to compile Java programs,: 1.jdk (JDK is Sun Microsystems The compiler is the most commonly used compiler. 2. Visual J or J # (is a Microsoft Published Java Compiler) 3. Orland J Builder (Borland published compiler) About JAVA Abbreviation from Developer's Kit, you can download the latest version URL in Sun's website: http://java.sun.com/products/archive/j2se/1.4.1_07/ This program file Hello.java source code as follows: Public Class Hello {Public static void main (string [] args) {system.out.println ("Hello!");}}
Compile this program with Javac: Javac Hello.java Interpret this Program with Java: Java Hello prints in the command prompt: Hello!