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]

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