Hello World

Hi People,How Can I run my first program " Hello World " ?What do I need to install? What programs?Thank you.
[137 byte] By [Rasgaa] at [2007-11-27 4:44:31]
# 1
See this http://java.sun.com/docs/books/tutorial/getStarted/index.html
cotton.ma at 2007-7-12 9:56:34 > top of Java-index,Java Essentials,New To Java...
# 2
Welcome to the forum!
petes1234a at 2007-7-12 9:56:34 > top of Java-index,Java Essentials,New To Java...
# 3
WEL COME LOL!!!!!!!!!!!!!!!!!
sb.majumder_07a at 2007-7-12 9:56:34 > top of Java-index,Java Essentials,New To Java...
# 4
You just download the JDK from sun sitehere is the link -> http://java.sun.com/javase/downloads/index.jspand install this product into ur comp and start programming ,,,,,,,,,, Good Luck ,sb
sb.majumder_07a at 2007-7-12 9:56:34 > top of Java-index,Java Essentials,New To Java...
# 5
> Hi People,> How Can I run my first program " Hello World " ?> What do I need to install? What programs?> Thank you.that all depends on what you wrote it in.Basic, Prolog, Assembler, Lisp, Perl, all have different requirements.
jwentinga at 2007-7-12 9:56:34 > top of Java-index,Java Essentials,New To Java...
# 6
Install java on your machineSet the classpathcompile & run u r helloworld program
b.m.krajua at 2007-7-12 9:56:34 > top of Java-index,Java Essentials,New To Java...
# 7

Hi,

first install jdk in your system,

then set the class path

compile the program: javac HelloWorld.java

run the program : java HelloWorld

sample program:

class HelloWorld

{

public static void main(String args[]) {

System.out.println(" Welcome.........");

System.out.println(" Hello World.........");

}

}

save the program with the classname (i.e HelloWorld.java)

then.

compile and run.

javac HelloWorld.java

java HelloWorld

Saikumara at 2007-7-12 9:56:34 > top of Java-index,Java Essentials,New To Java...