Hello, I'm just learning how to program in my computer science class in college and my first attempt at running the Hello World program is failing to run! Not encouraging. Please help!
When ran, I get this error message four times:
JVM failed to start. Make sure a firewall is not blocking
inter-process communication. See the console tab for details.
The console tab says:
java.io.IOException: Unable to run process; class path may need to be adjusted
at edu.rice.cs.plt.concurrent.ProcessTaskController$1.run(ProcessTaskController.java:157)
at java.lang.Thread.run(Unknown Source)
java.io.IOException: Unable to run process; class path may need to be adjusted
at edu.rice.cs.plt.concurrent.ProcessTaskController$1.run(ProcessTaskController.java:157)
at java.lang.Thread.run(Unknown Source)
java.io.IOException: Unable to run process; class path may need to be adjusted
at edu.rice.cs.plt.concurrent.ProcessTaskController$1.run(ProcessTaskController.java:157)
at java.lang.Thread.run(Unknown Source)
java.io.IOException: Unable to run process; class path may need to be adjusted
at edu.rice.cs.plt.concurrent.ProcessTaskController$1.run(ProcessTaskController.java:157)
at java.lang.Thread.run(Unknown Source)
java.io.IOException: Unable to run process; class path may need to be adjusted
at edu.rice.cs.plt.concurrent.ProcessTaskController$1.run(ProcessTaskController.java:157)
at java.lang.Thread.run(Unknown Source)
java.io.IOException: Unable to run process; class path may need to be adjusted
at edu.rice.cs.plt.concurrent.ProcessTaskController$1.run(ProcessTaskController.java:157)
at java.lang.Thread.run(Unknown Source)
java.io.IOException: Unable to run process; class path may need to be adjusted
at edu.rice.cs.plt.concurrent.ProcessTaskController$1.run(ProcessTaskController.java:157)
at java.lang.Thread.run(Unknown Source)
I do have an antivirus, Kaspersky. I tried adding DrJava as a trusted application but it didnt not help.
Somehow, I missed seeing your support request until now. Presumably you resolved the problem or gave up trying to use DrJava.
It looks like the firewall on your machine was preventing DrJava from using Java RMI (which uses TCP/IP for interprocess communication) to create a slave JVM and communicate with it. DrJava relies on a slave JVM to run the DrJava interpreter so it can abort runaway execution in the interpreter by killing the slave JVM. Most contemporary operating systems (e.g. recent versions of Windows [XP, Vista, 7, ...], Linux, and Mac OS X) allow interprocess communication between processes on the local machine by default.