Just changed over from ubuntu to 10.5.4 (2.6 GHz Core 2 Duo) after
some time away. I downloaded and installed the latest java 1.6 from
the apple dev center. Are there some up to date documents on how to
run run java 6 on 10.5.4? (Hopefully something that focuses on Tomcat
and/or Ant.)
I need to use 1.6 as that is what the production server is running.
I am having problems using Ant and Tomcat with the proper java version
it seems. I have set my java preference from the utilities java app so
that:
$ java -version
java version "1.6.0_05"
Java(TM) SE Runtime Environment (build 1.6.0_05-b13-120)
Java HotSpot(TM) 64-Bit Server VM (build 1.6.0_05-b13-52, mixed mode)
When I run a compile from Ant, I get:
compile:
[javac] Compiling 64 source files to /Users/me/Documents/
workspace/ripple-core/classes
[javac] javac: invalid target release: 1.6
I am also using Eclipse with th JDK set to 1.6 and am able to run my
builds without error. However, when I start Tomcat with Eclipse the
webapps don't seem to start (can't find where it is logging to...).
When I run tomcat started from the command line I get error indicating
jdk version mismatch:
SEVERE: Error deploying configuration descriptor ROOT.xml
java.lang.UnsupportedClassVersionError: Bad version number in .class
file
Any help or pointers to docs would be very much appreciated. I have
been searching for the last few hours and have not found anything that
solves my problems.
thanks,
-Rob
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/java-dev/email@hidden