installation trouble
Trying to help someone online get started with java. He is using 1.4 and using the BlueJ IDE. Tried a simple Hello world demo by outputting text to the terminal. Everything compiles fine without trouble, but when he tries to run it, he gets the following error. I had him resinstall the sdk and jvm, no such luck. Any ideas?
java.lang.NullPointerException at bluej.runtime.ExecServer$3.run(ExecServer.java:786) Transport error, error code = -1
Just in case you're wondering, this is the only code being run:
public class Thing
{
public static void main()
{
System.out.println("Hello World");
}
}
[666 byte] By [
Phaelax] at [2007-11-11 6:43:11]

# 1 Re: installation trouble
Try adding String[] args as an argument of your main method:
public static void main(String[] args)
chimps at 2007-11-11 22:40:29 >

# 3 Re: installation trouble
i googled the error message you were getting and apparently this guy found a solution:
http://forum.java.sun.com/thread.jspa?threadID=653957
chimps at 2007-11-11 22:42:28 >
