Menu

#262 JVM failed to start. Make sure a firewall is not blocking

open
nobody
None
5
2010-10-14
2010-10-14
Anonymous
No

Whenever I try to run my complied programs on Dr. Java, I get this error message in the interactions and consloe pane:

INTERACTIONS:
"JVM failed to start. Make sure a firewall is not blocking
inter-process communication. See the console tab for details.
JVM failed to start. Make sure a firewall is not blocking
inter-process communication. See the console tab for details.
JVM failed to start. Make sure a firewall is not blocking
inter-process communication. See the console tab for details."

CONSOLE:
"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(Thread.java:637)
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(Thread.java:637)
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(Thread.java:637)"

I'm running on a MacOSX Version 10.5.8, 2.1 Ghz Intel Core 2 Duo, with memory of 1GB 667 Mhz DDR2 SDRAM. What do you suggest I do?

Discussion

  • Mathias Ricken

    Mathias Ricken - 2010-10-14

    We need to know a little bit more about your system to help you. Please go to "Help -> About" on the menu and click on "System Properties". Then, click the "Copy System Properties" button and paste the results here in a new comment.

    Thanks,
    The DrJava Team

     
  • firehawk256

    firehawk256 - 2010-10-19

    Hi. I am having the exact same problem on Debian/Linux. Wasn't sure if I should start a new thread or add to this one.

    Here is the contents of the system properties for my machine:

    System Properties:
    DrJava Version drjava-20100913-r5387
    DrJava Build Time 20100913-2126

    drjava.debug.port = 50106
    java.runtime.name = Java(TM) SE Runtime Environment
    sun.boot.library.path = /usr/lib/jvm/java-6-sun-1.6.0.21/jre/lib/i386
    java.vm.version = 17.0-b16
    java.vm.vendor = Sun Microsystems Inc.
    java.vendor.url = http://java.sun.com/
    path.separator = :
    java.vm.name = Java HotSpot(TM) Client VM
    file.encoding.pkg = sun.io
    sun.java.launcher = SUN_STANDARD
    user.country = US
    sun.os.patch.level = unknown
    java.vm.specification.name = Java Virtual Machine Specification
    user.dir = <anonymized user.home>
    java.runtime.version = 1.6.0_21-b06
    java.awt.graphicsenv = sun.awt.X11GraphicsEnvironment
    java.endorsed.dirs = /usr/lib/jvm/java-6-sun-1.6.0.21/jre/lib/endorsed
    os.arch = i386
    java.io.tmpdir = /tmp
    line.separator = "\u000a"
    java.vm.specification.vendor = Sun Microsystems Inc.
    os.name = Linux
    sun.jnu.encoding = UTF-8
    java.library.path = /usr/lib/jvm/java-6-sun-1.6.0.21/jre/lib/i386/client:/usr/lib/jvm/java-6-sun-1.6.0.21/jre/lib/i386:/usr/lib/jvm/java-6-sun-1.6.0.21/jre/../lib/i386:/usr/java/packages/lib/i386:/lib:/usr/lib
    java.specification.name = Java Platform API Specification
    java.class.version = 50.0
    sun.management.compiler = HotSpot Client Compiler
    os.version = 2.6.32-5-686
    user.home = <anonymized user.home>
    user.timezone = America/Chicago
    java.awt.printerjob = sun.print.PSPrinterJob
    file.encoding = UTF-8
    java.specification.version = 1.6
    java.class.path = <anonymized user.home>/Desktop/drjava-stable-20100913-r5387.jar
    user.name = <anonymized user.name>
    java.vm.specification.version = 1.0
    java.home = /usr/lib/jvm/java-6-sun-1.6.0.21/jre
    sun.arch.data.model = 32
    user.language = en
    java.specification.vendor = Sun Microsystems Inc.
    java.vm.info = mixed mode, sharing
    java.version = 1.6.0_21
    java.ext.dirs = /usr/lib/jvm/java-6-sun-1.6.0.21/jre/lib/ext:/usr/java/packages/lib/ext
    sun.boot.class.path = /usr/lib/jvm/java-6-sun-1.6.0.21/jre/lib/resources.jar:/usr/lib/jvm/java-6-sun-1.6.0.21/jre/lib/rt.jar:/usr/lib/jvm/java-6-sun-1.6.0.21/jre/lib/sunrsasign.jar:/usr/lib/jvm/java-6-sun-1.6.0.21/jre/lib/jsse.jar:/usr/lib/jvm/java-6-sun-1.6.0.21/jre/lib/jce.jar:/usr/lib/jvm/java-6-sun-1.6.0.21/jre/lib/charsets.jar:/usr/lib/jvm/java-6-sun-1.6.0.21/jre/classes
    java.vendor = Sun Microsystems Inc.
    file.separator = /
    java.vendor.url.bug = http://java.sun.com/cgi-bin/bugreport.cgi
    sun.io.unicode.encoding = UnicodeLittle
    sun.cpu.endian = little
    java.rmi.server.hostname = 127.0.0.1
    sun.cpu.isalist =

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

    In shadowed configuration:
    key.delete.next = [shift DELETE]
    key.delete.previous = [shift BACK_SPACE]
    window.height = 1003
    window.width = 1288
    window.x = -4
    window.y = -3
    window.state = 6
    last.dir = <anonymized user.home>
    last.interactions.dir = <anonymized user.home>
    tabbedpanes.state = 512 384 700 400
    dialog.drjava.survey.enabled = false
    new.version.notification.last = 1287111378518
    drjava.survey.notification.last = 1287499621092
    drjava.survey.result.last = http://www.drjava.org/submit-usage.php?rev=5387&os.name=Linux&os.version=2.6.32-5-686&java.version=1.6.0_21&java.vendor=Sun%20Microsystems%20Inc.

    Used memory: about 13.25 megabytes
    Free memory: about 12.95 megabytes
    Total memory: about 26.20 megabytes
    Total memory can expand to: about 247.50 megabytes

    Number of processors/cores: 1

    Compiler Discovery Log:
    From config: not set
    makeFromRuntime: compilerAdapter=edu.rice.cs.drjava.model.compiler.Javac160Compiler
    attempt = JDK 6.0_21, isAvailable() = false
    compiler=edu.rice.cs.drjava.model.compiler.NoCompilerAvailable
    at least Java 6, try EclipseCompiler
    version for Eclipse: Java 6.0
    attempt = Eclipse Compiler 0.A48, isAvailable() = true
    compiler=edu.rice.cs.drjava.model.compiler.EclipseCompiler
    compiler found
    compilers found: 1
    From runtime: JDK library 6.0
    Dir added: /usr/lib/jvm/java-6-sun-1.6.0.21/jre
    Dir added: /usr/lib/jvm/java-6-sun-1.6.0.21
    Dir added: /usr/lib/jvm
    Dir not added: /C:/Program Files/Java
    Dir not added: /C:/Program Files
    Dir not added: /C:/Java
    Dir not added: /C:
    Dir not added: /System/Library/Frameworks/JavaVM.framework/Versions
    Dir not added: /usr/java
    Dir not added: /usr/j2se
    Dir added: /usr
    Dir not added: /usr/local/java
    Dir not added: /usr/local/j2se
    Dir added: /usr/local
    Dir added: /usr/lib/jvm
    Dir added: /usr/lib/jvm/java-6-sun-1.6.0.21
    Dir not added: /usr/lib/jvm/java-1.5.0-sun
    Dir not added: /usr/lib/jvm/java-6-openjdk
    Dir not added: /home/javaplt/java/Linux-i686
    File not added: /usr/lib/jvm/java-6-sun-1.6.0.21/jre/javaws/lib/tools.jar
    File not added: /usr/lib/jvm/java-6-sun-1.6.0.21/jre/javaws/Classes/classes.jar
    File added: /usr/lib/jvm/java-6-sun-1.6.0.21/lib/tools.jar
    File not added: /usr/lib/jvm/java-6-sun-1.6.0.21/Classes/classes.jar
    File added: /usr/lib/jvm/java-6-sun-1.6.0.21/lib/tools.jar
    File not added: /usr/lib/jvm/java-6-sun-1.6.0.21/Classes/classes.jar
    File not added: /C:/Program Files/JavaMint/langtools/dist/lib/classes.jar
    File not added: /C:/Program Files/JavaMint/langtools/dist/lib/tools.jar
    File not added: /usr/local/soylatte/lib/classes.jar
    File not added: /usr/local/soylatte/lib/tools.jar
    File not added: /usr/local/JavaMint/langtools/dist/lib/classes.jar
    File not added: /usr/local/JavaMint/langtools/dist/lib/tools.jar
    MINT_HOME not set
    File added: <anonymized user.home>/Desktop/drjava-stable-20100913-r5387.jar
    Result:
    Found library: JDK library 6.0_21 at /usr/lib/jvm/java-6-sun-1.6.0.21/lib/tools.jar, boot classpath: [/usr/lib/jvm/java-6-sun-1.6.0.21/jre/lib/deploy.jar, /usr/lib/jvm/java-6-sun-1.6.0.21/jre/lib/jsse.jar, /usr/lib/jvm/java-6-sun-1.6.0.21/jre/lib/plugin.jar, /usr/lib/jvm/java-6-sun-1.6.0.21/jre/lib/resources.jar, /usr/lib/jvm/java-6-sun-1.6.0.21/jre/lib/javaws.jar, /usr/lib/jvm/java-6-sun-1.6.0.21/jre/lib/charsets.jar, /usr/lib/jvm/java-6-sun-1.6.0.21/jre/lib/rt.jar, /usr/lib/jvm/java-6-sun-1.6.0.21/jre/lib/alt-rt.jar, /usr/lib/jvm/java-6-sun-1.6.0.21/jre/lib/management-agent.jar, /usr/lib/jvm/java-6-sun-1.6.0.21/jre/lib/jce.jar]
    From search: JDK library 6.0_21 at /usr/lib/jvm/java-6-sun-1.6.0.21/lib/tools.jar, boot classpath: [/usr/lib/jvm/java-6-sun-1.6.0.21/jre/lib/deploy.jar, /usr/lib/jvm/java-6-sun-1.6.0.21/jre/lib/jsse.jar, /usr/lib/jvm/java-6-sun-1.6.0.21/jre/lib/plugin.jar, /usr/lib/jvm/java-6-sun-1.6.0.21/jre/lib/resources.jar, /usr/lib/jvm/java-6-sun-1.6.0.21/jre/lib/javaws.jar, /usr/lib/jvm/java-6-sun-1.6.0.21/jre/lib/charsets.jar, /usr/lib/jvm/java-6-sun-1.6.0.21/jre/lib/rt.jar, /usr/lib/jvm/java-6-sun-1.6.0.21/jre/lib/alt-rt.jar, /usr/lib/jvm/java-6-sun-1.6.0.21/jre/lib/management-agent.jar, /usr/lib/jvm/java-6-sun-1.6.0.21/jre/lib/jce.jar]

     
  • Enrico Pozzobon

    Enrico Pozzobon - 2010-10-27

    On my Debian squeeze laptop, DrJava worked fine until i decided to prevent the networking daemon from starting automatically at boot by typing the command "sudo chkconfig networking off". After a reboot, DrJava started having the same problem whenever I try to start a simple "Hello World" program:
    JVM failed to start. Make sure a firewall is not blocking
    inter-process communication. See the console tab for details.

    I've been able to solve this problem using "sudo /etc/init.d/networking start" before starting DrJava. I can then stop the networking daemon and DrJava will just work fine, even after restarting it.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.