#277 Compiler not appearing despite correct path

open
nobody
5
2014-08-12
2011-09-15
Jack Gallaher
No

I have Java SDK 7 installed and the latest stable release of DrJava. I am running Windows 7. When I tried to compile, DrJava said there was not a compiler chosen. After finding my tools.jar file, and putting it in my preferences, DrJava still cannot compile.

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

drjava.debug.port = 56061
java.runtime.name = Java(TM) SE Runtime Environment
sun.boot.library.path = C:\Program Files\Java\jre7\bin
java.vm.version = 21.0-b17
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.home>\Desktop
java.runtime.version = 1.7.0-b147
java.awt.graphicsenv = sun.awt.Win32GraphicsEnvironment
java.endorsed.dirs = C:\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 = C:\Program Files\Java\jre7\bin;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;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\WIDCOMM\Bluetooth Software\;C:\Program Files\WIDCOMM\Bluetooth Software\syswow64;C:\Program Files\Intel\WiFi\bin\;C:\Program Files\Common Files\Intel\WirelessCommon\;C:\Program Files\Intel\DMIX;C:\Program Files (x86)\NTRU Cryptosystems\NTRU TCG Software Stack\bin\;C:\Program Files\NTRU Cryptosystems\NTRU TCG Software Stack\bin\;C:\Program Files (x86)\Intel\Services\IPT\;C:\Program Files\Dell\Dell Data Protection\Access\Advanced\Wave\Gemalto\Access Client\v5\;C:\Program Files (x86)\Windows Live\Shared;C:\Program Files (x86)\Common Files\Roxio Shared\DLLShared\;C:\Program Files (x86)\Common Files\Roxio Shared\OEM\DLLShared\;C:\Program Files (x86)\Common Files\Roxio Shared\OEM\DLLShared\;C:\Program Files (x86)\Common Files\Roxio Shared\OEM\12.0\DLLShared\;C:\Program Files (x86)\Roxio\OEM\AudioCore\;C:\Program Files (x86)\QuickTime\QTSystem\;C:\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/New_York
java.awt.printerjob = sun.awt.windows.WPrinterJob
file.encoding = Cp1252
java.specification.version = 1.7
java.class.path = <anonymized user.home>\Desktop\DrJava.exe
user.name = <anonymized user.name>
java.vm.specification.version = 1.7
sun.java.command = <anonymized user.home>\Desktop\DrJava.exe
java.home = C:\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
java.ext.dirs = C:\Program Files\Java\jre7\lib\ext;C:\Windows\Sun\Java\lib\ext
sun.boot.class.path = C:\Program Files\Java\jre7\lib\resources.jar;C:\Program Files\Java\jre7\lib\rt.jar;C:\Program Files\Java\jre7\lib\sunrsasign.jar;C:\Program Files\Java\jre7\lib\jsse.jar;C:\Program Files\Java\jre7\lib\jce.jar;C:\Program Files\Java\jre7\lib\charsets.jar;C:\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 = 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:
javac.location = C:\\Program Files\\Java\\jdk1.7.0\\lib\\tools.jar
key.delete.next = [shift DELETE]
key.delete.previous = [shift BACK_SPACE]
recent.files = [C:\\Users\\&lt;anonymized user.name>\\JavaPrograms\\easterCalc\\easterCalc.java,C:\\Users\\&lt;anonymized user.name>\\easterDateCalc.java]
window.height = 859
window.x = 0
window.y = 1
last.dir = C:\\Users\\&lt;anonymized user.name>\\JavaPrograms\\easterCalc
last.interactions.dir = C:\\Users\\&lt;anonymized user.name>\\JavaPrograms\\easterCalc
tabbedpanes.state = 800 450 700 400
new.version.notification.last = 1316045462372
drjava.survey.notification.last = 1316045766419
drjava.survey.result.last = http://www.drjava.org/submit-usage.php?rev=5387&os.name=Windows%207&os.version=6.1&java.version=1.7.0&java.vendor=Oracle%20Corporation
file.ext.registration = always

Used memory: about 31.98 megabytes
Free memory: about 90.14 megabytes
Total memory: about 122.12 megabytes
Total memory can expand to: about 1.77 gigabytes

Number of processors/cores: 4

Compiler Discovery Log:
From config: JDK library 7.0-OpenJDK at C:\Program Files\Java\jdk1.7.0\lib\tools.jar, boot classpath: null
makeFromRuntime: compilerAdapter=null
compiler=edu.rice.cs.drjava.model.compiler.NoCompilerAvailable
compilers found: 0
no compilers found, adding NoCompilerAvailable library
From runtime: invalid JDK library 7.0
Dir added: C:\Program Files\Java\jre7
Dir added: C:\Program Files\Java
Dir added: C:\Program Files
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.home>\Desktop
Dir not added: C:\Java
Dir added: <anonymized user.home>\Desktop
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.7.0\lib\tools.jar
File not added: C:\Program Files\Java\jdk1.7.0\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.home>\Desktop\DrJava.exe
Result:
Found library: JDK library 7.0-OpenJDK at C:\Program Files\Java\jdk1.7.0\lib\tools.jar, boot classpath: null
From search: duplicate JDK library 7.0-OpenJDK at C:\Program Files\Java\jdk1.7.0\lib\tools.jar, boot classpath: null

Discussion