Hi
Im having trouble compiling a project in JDE with java version 1.6. I
use osx leopard and ant to compile. Have tried to set all different
kind of JDE variables but I cant seem to get it to compile source with
java version 1.6.
Compiling with ant:
(set-variable 'jde-build-function '(jde-ant-build))
One configuration of jde-jdk settings:
(custom-set-variables
'(jde-compiler (quote ("javac" "/usr/bin/javac")))
'(jde-jdk-registry (quote (("1.6.0_07" . "/System/Library/Frameworks/
JavaVM.framework/Versions/1.6.0"))))
'(jde-jdk (quote ("1.6.0_07"))))
Should i use jde-set-variables?
Have tried with different versions of '(jde-compiler (quote ("javac"
"/usr/bin/javac"))) like setting it to ("javac server" ""), the
standard value. What's the right configuration to get my source
compiled into java version 1.6 classfiles.
When running java from terminal gives me:
bash-3.2$ java -version
java version "1.6.0_07"
Java(TM) SE Runtime Environment (build 1.6.0_07-b06-153)
Java HotSpot(TM) 64-Bit Server VM (build 1.6.0_07-b06-57, mixed mode)
bash-3.2$ javac -version
javac 1.6.0_07
bash-3.2$ which javac
/usr/bin/javac
Running ant from a terminal compiles the code to classfiles of java
version 1.6, which is what I want. Can't seem to find documentation
that helps...
Regards
Anton
------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you. Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
jdee-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jdee-users