#276 Static Error: No method in static JavacCompiler has name 'ru

open
nobody
None
5
2011-08-18
2011-08-18
Richard Binkley
No

During the middle of a Dr. Java session, my colleague began receiving the message "Static Error: No method in static JavacCompiler has name 'runCommand'" whenever she tried to run a program (even a simple "Hell World" program). We don't believe there were any configuration changes to Dr. Java or the JDK. Does anyone know what causes this?

Discussion

  • Mathias Ricken
    Mathias Ricken
    2011-08-18

    We need to know a little bit more about your system to help you. Please start DrJava, click on the "Help" menu, and select the "About" menu item. In the dialog that opens, please click the "Copy System Properties" button. This will put some information into your clipboard. Please paste that information here in a new comment.

    Thanks,
    The DrJava Team

     
  • Here is our system information. I also pasted in the System Properties. Thanks!

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

    DrJava Configuration File: C:\Users\e200503865\.drjava

    Used memory: about 23.22 megabytes
    Free memory: about 50.35 megabytes
    Total memory: about 73.56 megabytes
    Total memory can expand to: about 865.81 megabytes

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

    drjava.debug.port = 64699
    java.runtime.name = Java(TM) SE Runtime Environment
    sun.boot.library.path = C:\Program Files\Java\jdk1.6.0_24\jre\bin
    java.vm.version = 19.1-b02
    java.vm.vendor = Sun Microsystems Inc.
    java.vendor.url = http://java.sun.com/
    path.separator = ;
    java.vm.name = Java HotSpot(TM) 64-Bit Server VM
    file.encoding.pkg = sun.io
    sun.java.launcher = SUN_STANDARD
    user.country = US
    sun.os.patch.level =
    java.vm.specification.name = Java Virtual Machine Specification
    user.dir = <anonymized user.dir>
    java.runtime.version = 1.6.0_24-b07
    java.awt.graphicsenv = sun.awt.Win32GraphicsEnvironment
    java.endorsed.dirs = C:\Program Files\Java\jdk1.6.0_24\jre\lib\endorsed
    os.arch = amd64
    java.io.tmpdir = C:\Users\E20050~1\AppData\Local\Temp\ line.separator = "\u000d\u000a"
    java.vm.specification.vendor = Sun Microsystems Inc.
    user.variant =
    os.name = Windows 7
    sun.jnu.encoding = Cp1252
    java.library.path = C:\Program Files\Java\jdk1.6.0_24\jre\bin;.;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\ManageSoft\Common;C:\Program Files (x86)\QuickTime\QTSystem\;C:\Program Files\Java\jdk1.6.0_24\jre\bin
    java.specification.name = Java Platform API Specification
    java.class.version = 50.0
    sun.management.compiler = HotSpot 64-Bit Server Compiler
    os.version = 6.1
    user.home = <anonymized user.home>
    user.timezone = America/New_York
    java.awt.printerjob = sun.awt.windows.WPrinterJob
    file.encoding = Cp1252
    java.specification.version = 1.6
    java.class.path = <anonymized user.dir>\drjava-stable-20100913-r5387.exe
    user.name = <anonymized user.name>
    java.vm.specification.version = 1.0
    java.home = C:\Program Files\Java\jdk1.6.0_24\jre
    sun.arch.data.model = 64
    user.language = en
    java.specification.vendor = Sun Microsystems Inc.
    awt.toolkit = sun.awt.windows.WToolkit
    java.vm.info = mixed mode
    java.version = 1.6.0_24
    java.ext.dirs = C:\Program Files\Java\jdk1.6.0_24\jre\lib\ext;C:\Windows\Sun\Java\lib\ext
    sun.boot.class.path = C:\Program Files\Java\jdk1.6.0_24\jre\lib\resources.jar;C:\Program Files\Java\jdk1.6.0_24\jre\lib\rt.jar;C:\Program Files\Java\jdk1.6.0_24\jre\lib\sunrsasign.jar;C:\Program Files\Java\jdk1.6.0_24\jre\lib\jsse.jar;C:\Program Files\Java\jdk1.6.0_24\jre\lib\jce.jar;C:\Program Files\Java\jdk1.6.0_24\jre\lib\charsets.jar;C:\Program Files\Java\jdk1.6.0_24\jre\lib\modules\jdk.boot.jar;C:\Program Files\Java\jdk1.6.0_24\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.desktop = windows
    sun.cpu.isalist = amd64

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

    In shadowed configuration:
    extra.classpath = H:\\ap_cs\\Stuff\\GridWorldDownloads\\GridWorldCode.zip;H:\\ap_cs\\Stuff\\Barb2010\\Alice-MC\\DrJava-AP-gt.jar;H:\\ap_cs\\Stuff\\Barb2010\\Alice-MC\\intro-prog-java\\bookClasses\\AVIDemo.jar;H:\\ap_cs\\Stuff\\Barb2010\\Alice-MC\\intro-prog-java\\bookClasses\\javazoom.jar;H:\\ap_cs\\Stuff\\Barb2010\\Alice-MC\\intro-prog-java\\bookClasses\\jmf.jar
    font.main = Monospaced-22
    lineenum.enabled = true
    key.delete.next = [shift DELETE]
    key.delete.previous = [shift BACK_SPACE]
    interactions.exit.prompt = false
    quit.prompt = false
    interactions.reset.prompt = false
    save.before.compile = true
    recent.files = [H:\\ap_cs\\2011 - 2012\\Tester.java,H:\\ap_cs\\2011 - 2012\\GridWorldCode\\GridWorldCode\\projects\\firstProject\\BugRunner.java,H:\\ap_cs\\Stuff\\Barb2010\\FreeResponse\\2010\\finishedClasses\\MasterOrder.java,H:\\ap_cs\\Stuff\\Barb2010\\FreeResponse\\2010\\finishedClasses\\CookieOrder.java,H:\\ap_cs\\Stuff\\Barb2010\\ExampleMaterial\\examples\\ShapePanel-Interface\\ShapePanel.java]
    window.height = 744
    window.width = 1382
    window.x = -8
    window.y = -8
    window.state = 6
    doc.list.width = 201
    last.dir = H:\\ap_cs\\2011 - 2012
    last.interactions.dir = H:\\ap_cs\\2011 - 2012
    tabbedpanes.state = 683 384 700 400
    new.version.notification.last = 1313417177679
    drjava.survey.notification.last = 1313433124242
    drjava.survey.result.last = http://www.drjava.org/submit-usage.php?rev=5387&os.name=Windows%207&os.version=6.1&java.version=1.6.0_24&java.vendor=Sun%20Microsystems%20Inc.

    Used memory: about 26.55 megabytes
    Free memory: about 47.02 megabytes
    Total memory: about 73.56 megabytes
    Total memory can expand to: about 865.81 megabytes

    Number of processors/cores: 4

    Compiler Discovery Log:
    From config: not set
    makeFromRuntime: compilerAdapter=edu.rice.cs.drjava.model.compiler.Javac160Compiler
    attempt = JDK 6.0_24, 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: C:\Program Files\Java\jdk1.6.0_24\jre
    Dir added: C:\Program Files\Java\jdk1.6.0_24
    Dir added: C:\Program Files\Java
    Dir added: C:\Program Files\Java
    Dir added: C:\Program Files
    Dir added: C:\Program Files\Java
    Dir added: C:\Program Files
    Dir not added: C:\Java
    Dir added: <anonymized user.dir>
    Dir not added: C:\Java
    Dir added: <anonymized user.dir>
    Dir not added: C:\System\Library\Frameworks\JavaVM.framework\Versions
    Dir not added: C:\usr\java
    Dir not added: C:\usr\j2se
    Dir not added: C:\usr
    Dir not added: C:\usr\local\java
    Dir not added: C:\usr\local\j2se
    Dir not added: C:\usr\local
    Dir not added: C:\usr\lib\jvm
    Dir not added: C:\usr\lib\jvm\java-6-sun
    Dir not added: C:\usr\lib\jvm\java-1.5.0-sun
    Dir not added: C:\usr\lib\jvm\java-6-openjdk
    Dir not added: C:\home\javaplt\java\Linux-i686
    File added: C:\Program Files\Java\jdk1.6.0_24\lib\tools.jar
    File not added: C:\Program Files\Java\jdk1.6.0_24\Classes\classes.jar
    File not added: C:\Program Files\Java\lib\tools.jar
    File not added: C:\Program Files\Java\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: C:\usr\local\soylatte\lib\classes.jar
    File not added: C:\usr\local\soylatte\lib\tools.jar
    File not added: C:\usr\local\JavaMint\langtools\dist\lib\classes.jar
    File not added: C:\usr\local\JavaMint\langtools\dist\lib\tools.jar
    MINT_HOME not set
    File added: <anonymized user.dir>\drjava-stable-20100913-r5387.exe
    Result:
    Found library: JDK library 6.0_24 at C:\Program Files\Java\jdk1.6.0_24\lib\tools.jar, boot classpath: [C:\Program Files\Java\jdk1.6.0_24\jre\lib\alt-rt.jar, C:\Program Files\Java\jdk1.6.0_24\jre\lib\alt-string.jar, C:\Program Files\Java\jdk1.6.0_24\jre\lib\charsets.jar, C:\Program Files\Java\jdk1.6.0_24\jre\lib\deploy.jar, C:\Program Files\Java\jdk1.6.0_24\jre\lib\javaws.jar, C:\Program Files\Java\jdk1.6.0_24\jre\lib\jce.jar, C:\Program Files\Java\jdk1.6.0_24\jre\lib\jsse.jar, C:\Program Files\Java\jdk1.6.0_24\jre\lib\management-agent.jar, C:\Program Files\Java\jdk1.6.0_24\jre\lib\plugin.jar, C:\Program Files\Java\jdk1.6.0_24\jre\lib\resources.jar, C:\Program Files\Java\jdk1.6.0_24\jre\lib\rt.jar]
    From search: JDK library 6.0_24 at C:\Program Files\Java\jdk1.6.0_24\lib\tools.jar, boot classpath: [C:\Program Files\Java\jdk1.6.0_24\jre\lib\alt-rt.jar, C:\Program Files\Java\jdk1.6.0_24\jre\lib\alt-string.jar, C:\Program Files\Java\jdk1.6.0_24\jre\lib\charsets.jar, C:\Program Files\Java\jdk1.6.0_24\jre\lib\deploy.jar, C:\Program Files\Java\jdk1.6.0_24\jre\lib\javaws.jar, C:\Program Files\Java\jdk1.6.0_24\jre\lib\jce.jar, C:\Program Files\Java\jdk1.6.0_24\jre\lib\jsse.jar, C:\Program Files\Java\jdk1.6.0_24\jre\lib\management-agent.jar, C:\Program Files\Java\jdk1.6.0_24\jre\lib\plugin.jar, C:\Program Files\Java\jdk1.6.0_24\jre\lib\resources.jar, C:\Program Files\Java\jdk1.6.0_24\jre\lib\rt.jar]