|Building with Java 1.5 and 1.6 in the same workspace [message #603215]
||Thu, 12 November 2009 22:53
| Stephen McCants
Registered: July 2009
I have a large set of Java plugin projects. Some of them need to be built on Java 1.5 (they will
be run under Java 1.5 in an environment I can't completely control), while most would be best built
on Java 1.6. I have both JVM's in Properties->Installed JREs, with 1.6 as the default (also the
default compliance level). Then on the project that needs 1.5, I switched the compliance level to
1.5 and set the build path to use the 1.5 JRE System Library. However, it is still being built to
Java 1.6 and fails with this exception:
java.lang.UnsupportedClassVersionError: (com/ibm/hdwb/util/common/http/atom/QueryResult) bad major
version at offset=6
What additional properties do I need to change to get it to build with Java 1.5?
Thanks in advance!
Powered by FUDForum
. Page generated in 0.01952 seconds