[
http://issues.apache.org/jira/browse/DERBY-1078?page=comments#action_12375322 ]
Dyre Tjeldvoll commented on DERBY-1078:
---------------------------------------
Since revision 395458 I can no longer run jdbcapi/metadata.java with
DerbyNetClient under java 1.3. (Still compiling with 1.4). I get the following
error:
Exception in thread "main" java.lang.UnsupportedClassVersionError:
org/apache/derby/iapi/services/i18n/MessageService (Unsupported major.minor
version 48.0)
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:488)
at
java.security.SecureClassLoader.defineClass(SecureClassLoader.java:106)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:243)
at java.net.URLClassLoader.access$100(URLClassLoader.java:51)
at java.net.URLClassLoader$1.run(URLClassLoader.java:190)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:183)
at java.lang.ClassLoader.loadClass(ClassLoader.java:294)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:288)
at java.lang.ClassLoader.loadClass(ClassLoader.java:250)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:310)
at
org.apache.derby.impl.tools.sysinfo.Main.getCompleteMessage(Main.java:1077)
at
org.apache.derby.impl.tools.sysinfo.Main.getTextMessage(Main.java:1056)
at org.apache.derby.impl.tools.sysinfo.Main.<clinit>(Main.java:316)
at org.apache.derby.tools.sysinfo.main(sysinfo.java:52)
Framework: DerbyNetClient
*** Start: metadata jdk1.3.1_15 DerbyNetClient 2006-04-20 11:17:30 ***
> Be able to build Derby when JAVA_HOME is set 1.6
> ------------------------------------------------
>
> Key: DERBY-1078
> URL: http://issues.apache.org/jira/browse/DERBY-1078
> Project: Derby
> Type: Improvement
> Components: Build tools
> Versions: 10.2.0.0
> Reporter: Rick Hillegas
> Fix For: 10.3.0.0
> Attachments: derby-1078.diff
>
> Currently, the 1.4 compiler is used to build most of Derby. We use the 1.6
> compiler to (optionally) build the JDBC4 support. If you try to build Derby
> in a shell window with a 1.6 JAVA_HOME, the 1.4 bits will fail to build. This
> is because those bits do not satisfy the JDBC4 contract. In addition, even if
> you could build those bits under 1.6, the 1.6 class files would fail to load
> on a 1.4 vm.
> We need to be able to use 1.6 as our default build environment but still
> generate jar files which run on 1.4 and 1.5. There may be compiler switches
> which allow this. If not, building in a 1.6 environment could fault in the
> 1.4 compiler as necessary.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira