Hi,
I am using Fedora 8, X86_64, IcedTea (IcedTea is RedHat
compiled/distributed OpenJDK).
I have used the 32 bit Sun JDK with DrJava on 32 bit Fedora 8 in the
past without any problems.
However I can't compile on this new machine.
$ java -jar drjava-stable-20080106-0744.jar
...runs and navigates code, etc. but there is no compiler available.
I ran updatedb and locate to find the tools.jar file, which I added to
the Edit-Preferences->Tools.jar Location :
/usr/lib/jvm/java-1.7.0-icedtea-1.7.0.0.x86_64/lib/tools.jar
And when I unzip the tools.jar file it has classes below javac :
$ ls sun/tools/javac/
BatchEnvironment.class CompilerMember.class ErrorMessage.class
resources SourceMember.class
BatchParser.class ErrorConsumer.class Main.class
SourceClass.class
Also command line "java" and "javac" work :
$ java -version
java version "1.7.0"
IcedTea Runtime Environment (build 1.7.0-b21)
IcedTea 64-Bit Server VM (build 1.7.0-b21, mixed mode)
$ javac -version
javac 1.7.0-internal
And the "alternatives" system looks okay :
$ /usr/sbin/alternatives --config java
There are 2 programs which provide 'java'.
Selection Command
-----------------------------------------------
*+ 1 /usr/lib/jvm/jre-1.7.0-icedtea.x86_64/bin/java
2 /usr/lib/jvm/jre-1.5.0-gcj/bin/java
$ /usr/sbin/alternatives --config javac
There is 1 program that provides 'javac'.
Selection Command
-----------------------------------------------
*+ 1 /usr/lib/jvm/java-1.7.0-icedtea.x86_64/bin/javac
Any idea on what is missing? Or are there some more tests I can run to
see how and where the javac resource is getting lost?
---
John
|