Gentoo Archives: gentoo-java

From: Grobian <grobian@g.o>
To: gentoo-java@l.g.o
Subject: Re: [gentoo-java] Error compiling ant-tasks
Date: Sat, 05 Aug 2006 15:01:01
Message-Id: 20060805150011.GA4886@gentoo.org
In Reply to: [gentoo-java] Error compiling ant-tasks by Jan Meier
1 On 05-08-2006 11:04:34 +0200, Jan Meier wrote:
2 > BUILD FAILED
3 > java.lang.UnsupportedClassVersionError: org/mozilla/javascript/Scriptable
4 > (Unsupported major.minor version 49.0)
5 [snip]
6 > !!! When you file a bug report, please include the following information:
7 > GENTOO_VM=blackdown-jdk-1.4.2 CLASSPATH=""
8 > JAVA_HOME="/opt/blackdown-jdk-1.4.2.03"
9 > JAVACFLAGS="-source 1.4 -target 1.4" COMPILER=""
10 > and of course, the output of emerge --info
11 >
12 > Any suggestions how I can solve this problem?
13
14 the class files you encounter were compiled with -target 1.5, while your compiler only supports 1.4.
15
16 Did you perhaps previously use Java 1.5 to compile some packages?
17
18
19 --
20 Fabian Groffen
21 --
22 gentoo-java@g.o mailing list