can't compile using fedora 8 and IcedTea

View: New views
1 Messages — Rating Filter:   Alert me  

can't compile using fedora 8 and IcedTea

by Skunk Worx :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Drjava-users mailing list
Drjava-users@...
https://lists.sourceforge.net/lists/listinfo/drjava-users