JAVA help!!!! (7, permasaged)

1 Name: #!/usr/bin/anonymous : 2008-06-30 00:45 ID:GUsdrsZO

public class HelloWorld
{

public static void main(String[] args)
{
System.out.println("Hello, Virtual World!");
}//end of main method

}//end of class

Here is my class. I run the program but the screen displays nothing. I assume the window that it runs in is closing down before I can see. How do I stop it from closing down before I can see the running program?!

2 Name: #!/usr/bin/anonymous : 2008-06-30 04:49 ID:KGB7xzd6

Open the command prompt first and run it from there.

3 Name: #!/usr/bin/anonymous : 2008-06-30 19:11 ID:Heaven

>>2
nice tripcode, KGB

4 Name: #!/usr/bin/anonymous : 2008-06-30 21:41 ID:M8tlRL28

>>2

What he said, the command line.

And you did javac it first didn't you?......

5 Name: #!/usr/bin/anonymous : 2008-06-30 23:42 ID:Heaven

>>3
ID is not tripcode.

To expand slightly on >>2, in case you've not done this sort of thing before (which I'm assuming is the case as you're doing a Hello World) --

javac HelloWorld.java
java HelloWorld

6 Name: #!/usr/bin/anonymous : 2008-07-01 22:04 ID:Heaven

If you don't know enough to solve this problem you're probably better off using Eclipse

This thread has been closed. You cannot post in this thread any longer.