To make this work a little bit more reliably, you could switch the
symlink in /System/Library/Frameworks/JavaVM.framework back to 1.4,
then open the Eclipse app wrapper and change the Info.plist to use 1.5.
This has been a major pain in the course I gave and this was the
"solution" we found works best. And I found that this doesn't work in
the shell, but it does in Eclipse:
bigbook:~ ak$ javac -source 1.5 -target 1.4
javac: source release 1.5 requires target release 1.5
Cheers, Anjo
Am 06.07.2006 um 02:55 schrieb Marc Respass:
> Hi all,
>
> Is there some Java 5 requirement going on? My server is running Mac
> OS X 10.4.x and Java 1.4.2_09. I copied up the latest woproject.jar
> and now when I compile I get the following error
>
> java.lang.UnsupportedClassVersionError: gov/maine/oit/mfasis/wo/
> Application (Unsupported major.minor version 49.0)
>
> I modified ant to use Java 5 and it compiled fine but now my app
> does run (same error) because I'm using Java 1.4
>
> Since WebObjects does no support Java 5, I am sticking with 1.4 for
> deployment. My workstation runs Java 5 but Eclipse compiles using 1.4.
>
> Marc
This archive was generated by hypermail 2.0.0 : Wed Jul 05 2006 - 23:22:57 EDT