#289 Cannot run any programs.. JVM error


After I compile a program, I get this error in the Console window:
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)

In the Interactions tab, I see this:
JVM failed to start. Make sure a firewall is not blocking
inter-process communication. See the console tab for details.

Nothing is blocking DrJava, I disabled all my security and it still wouldn't work, even in administrator mode.

Here are my System Properties:
System Properties:
DrJava Version drjava-20120818-r5686
DrJava Build Time 20120818-0422

drjava.debug.port = 49488
java.runtime.name = Java(TM) SE Runtime Environment
sun.boot.library.path = E:\Program Files\Java\jre7\bin
java.vm.version = 23.2-b09
java.vm.vendor = Oracle Corporation
java.vendor.url = http://java.oracle.com/
path.separator = ;
java.vm.name = Java HotSpot(TM) 64-Bit Server VM
file.encoding.pkg = sun.io
user.country = US
user.script =
sun.java.launcher = SUN_STANDARD
sun.os.patch.level = Service Pack 1
java.vm.specification.name = Java Virtual Machine Specification
user.dir = <anonymized user.dir>
java.runtime.version = 1.7.0_06-b24
java.awt.graphicsenv = sun.awt.Win32GraphicsEnvironment
java.endorsed.dirs = E:\Program Files\Java\jre7\lib\endorsed
os.arch = amd64
java.io.tmpdir = <anonymized user.home>\AppData\Local\Temp\ line.separator = "\u000d\u000a"
java.vm.specification.vendor = Oracle Corporation
user.variant =
os.name = Windows 7
sun.jnu.encoding = Cp1252
java.library.path = E:\Program Files\Java\jre7\bin;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files\Common Files\Microsoft Shared\Windows Live;C:\Program Files (x86)\Common Files\Microsoft Shared\Windows Live;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Calibre2\;C:\Program Files (x86)\Windows Live\Shared;E:\Program Files (x86)\QuickTime\QTSystem\;E:\Program Files (x86)\Smart Projects\IsoBuster;E:\Program Files\Java\jdk1.7.0_03;E:\Program Files (x86)\HMA! Pro VPN\bin;E:\Program Files\Java\jre7\bin;.
sun.awt.enableExtraMouseButtons = true
java.specification.name = Java Platform API Specification
java.class.version = 51.0
sun.management.compiler = HotSpot 64-Bit Tiered Compilers
os.version = 6.1
user.home = <anonymized user.home>
user.timezone = America/Chicago
java.awt.printerjob = sun.awt.windows.WPrinterJob
file.encoding = Cp1252
java.specification.version = 1.7
java.class.path = <anonymized user.dir>\drjava-stable-20120818-r5686.exe
user.name = <anonymized user.name>
java.vm.specification.version = 1.7
sun.java.command = <anonymized user.dir>\drjava-stable-20120818-r5686.exe
java.home = E:\Program Files\Java\jre7
sun.arch.data.model = 64
user.language = en
java.specification.vendor = Oracle Corporation
awt.toolkit = sun.awt.windows.WToolkit
java.vm.info = mixed mode
java.version = 1.7.0_06
java.ext.dirs = E:\Program Files\Java\jre7\lib\ext;C:\Windows\Sun\Java\lib\ext
sun.boot.class.path = E:\Program Files\Java\jre7\lib\resources.jar;E:\Program Files\Java\jre7\lib\rt.jar;E:\Program Files\Java\jre7\lib\sunrsasign.jar;E:\Program Files\Java\jre7\lib\jsse.jar;E:\Program Files\Java\jre7\lib\jce.jar;E:\Program Files\Java\jre7\lib\charsets.jar;E:\Program Files\Java\jre7\lib\jfr.jar;E:\Program Files\Java\jre7\classes
java.vendor = Oracle Corporation
file.separator = \ java.vendor.url.bug = http://bugreport.sun.com/bugreport/
sun.io.unicode.encoding = UnicodeLittle
sun.cpu.endian = little
java.rmi.server.hostname =
sun.desktop = windows
sun.cpu.isalist = amd64

DrJava configuration file
In resource bundle edu.rice.cs.drjava.config.options:

In shadowed configuration:
key.delete.next = [shift DELETE]
key.delete.previous = [shift BACK_SPACE]
recent.files = [E:\\Java\\&lt;anonymized user.name> Michener 1st Hour Computer Science\\NameThatCelebrity.java,E:\\Java\\&lt;anonymized user.name> Michener 1st Hour Computer Science\\StringTest.java,E:\\Java\\&lt;anonymized user.name> Michener 1st Hour Computer Science\\StringExercise.java]
window.width = 1059
window.x = 324
window.y = 140
last.dir = E:\\Java\\&lt;anonymized user.name> Michener 1st Hour Computer Science\\FromMeToYou.java
last.interactions.dir = E:\\Java\\&lt;anonymized user.name> Michener 1st Hour Computer Science
tabbedpanes.state = 960 540 700 400
new.version.notification.last = 1345767235395
file.ext.registration = always

Used memory: about 38.26 megabytes
Free memory: about 116.05 megabytes
Total memory: about 154.31 megabytes
Total memory can expand to: about 1.77 gigabytes

Number of processors/cores: 8

Compiler Discovery Log:

Thanks for the help in advance! I really like your program, it just doesn't work on my computer.


  • yoba333

    yoba333 - 2012-08-24
    • priority: 5 --> 9
  • Robert Cartwright

    We could use more information. Do java and javac work correctly from the command line?

    Several days ago, DrJava blew up on me on one of my computing platforms using Java 7. The interactions pane would not start. So I decided try using Java from the command line. The javac command applied to Java source several files in the current directory did nothing--it immediately returned and the OS printed a command prompt. I installed a new Java JDK and problem vanished. DrJava ran successfully as well. So I would try installing a new JDK or reinstalling the one you have.I would also make sure that the environment variable CLASSPATH is unbound. DrJava maintains its own classpath information but it has to start using conventional classpath bindings. If neither of these strategies work, please let us know. You may want to try using Java 6 instead of java 7 as a temporary workaround

    On Windows, I always run everything from my account which has Administrator status. On my Windows laptop, I typically run Ubuntu Linux using Wubi. I have not tried using DrJava on Windows for over a week, so I will boot windows momentarily and check out how the latest stable release of DrJava behaves.

    -- Corky Cartwright


Log in to post a comment.