DrJava won't compile. Using IcedTea 7

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

DrJava won't compile. Using IcedTea 7

by Zambini :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Greetings!
This is my first post so bear with me;

I'm using Dr.Java in one of my classes and I can't get it to compile. I've reinstalled Ubuntu 7.10 numerous times thinking that I had a corrupted install of JDK and/or Ubuntu.

I'm using "drjava-stable-20080106-0744" and "icedtea-java7-jdk" on a freshly installed Ubuntu 7.10 Gutsy Gibbon

I have done "locate tools.jar" as well as found it manually, and told Dr.Java in the preferences window where it was, and it still says "Compiler: None" and wont compile. I've used it successfully on a Windows laptop, and its the same code that successfully ran on said laptop.

Is there something I'm missing? I have all of the necessary software and I have it set up correctly (so I think at least).



Here is some additional info about the software I have installed:

me@computer:~$ java -version
java version "1.7.0"
IcedTea Runtime Environment (build 1.7.0-b21)
IcedTea Client VM (build 1.7.0-b21, mixed mode, sharing)



me@computer:~$ javac -version
javac 1.7.0-internal



me@computer:~$ sudo update-alternatives --config java
There are 2 alternatives which provide `java'.

  Selection    Alternative
-----------------------------------------------
          1    /usr/bin/gij-4.2
*+        2    /usr/lib/jvm/java-7-icedtea/jre/bin/java

me@computer:~$ sudo update-alternatives --config javac
There is only 1 program which provides javac
(/usr/lib/jvm/java-7-icedtea/bin/javac). Nothing to configure.



me@computer:~$ locate tools.jar
/usr/lib/jvm/java-7-icedtea/lib/tools.jar

^ is what I have located in Dr.Java preferences.