This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
hi, i have been using drjava for a while and i am pretty happy with its interface and overall preformance. drjava compiler is using verstion 1.4.x however i would like to change that to 1.5 which is installed on my machine.
i am writing codes that takes advantage of new classes in 1.5 and it does not compile via drjava (compiler v.1.4.x) however through terminal which is set to compile via 1.5 version, those codes compile and work just fine!
i looked at drjava preferneces but i see no options to change the compiler version? by the way i am using mac os x tiger, drjava version 20050814-223.
alright i came up with a solution. i was under the impression that spotlight searches for the hidden file as well. i used thinkertool utility to identify .drjava file which was located in my home directory. the instructions in the documentation is not very clears on how exactly change the compiler version!
instead, i used the java preferences utility located in /Applications/Utilities/Java/J2SE 5.0/. from there i just had to change the order of java verstions that appls used in my system. before it was set to 1.4.2 then 1.5. now the order is the other way around and everything is working great.
Actually, I've found that if I just set the Java Applet and Application Runtime settings to J2SE 5.0 in the Java Preferences.app in /Applications/Utilities/Java/J2SE 5.0, DrJava will use 5.0 on it's own.
However, this is interesting because I would love to use DrJava to compile LeJOS code, and if possible I'd like to get DrJava to include the LeJOS Compiler in the compiler list.
BTW, I love DrJava for a Java development IDE on the Mac. It is powerful yet easy to learn and use.