Gentoo Archives: gentoo-java

From: "Miroslav Šulc" <miroslav.sulc@××××××××.cz>
To: gentoo-java@l.g.o
Subject: Re: [gentoo-java] Can't emerge www-servers/axis-1.2_rc2
Date: Sun, 29 Oct 2006 15:27:32
Message-Id: 4544C58B.60505@startnet.cz
1 Hi,
2
3 I guess the problem is that xerces has been compiled target 1.5 instead
4 of 1.4. You may try to rebuild xerces if it helps. Check that it is
5 really build using source and target 1.4 and not 1.5. You can verify
6 that in /usr/share/xerces-2/package.env.
7
8 Miroslav
9
10 Chuanwen Wu wrote:
11 > 2006/10/28, Miroslav Šulc <miroslav.sulc@××××××××.cz>:
12 >> Hi,
13 >>
14 >> I'd try to run java-1.5-fixer and then emerge tomcat again.
15 > I have run java-1.5-fixer and something can't fix:
16 > dev-java/struts-1.2.9 and dev-java/wsdl4j-1.5.1,then i update struts
17 > to version 1.2.9-r1 and wsdl4j to 1.5.1.-r1,and this time it succeed.
18 >
19 > But still ,when i emerge axis,i got the same error:
20 > .................
21 > * Enabling generation-2 compatibility ...
22 > * Using
23 > sun-jdk-1.4 [ ok ]
24 > .................
25 > BUILD FAILED
26 > java.lang.UnsupportedClassVersionError:
27 > org/apache/xerces/jaxp/SAXParserFactoryImpl (Unsupported major.minor
28 > version 49.0)
29 > ................
30 > I know maybe because it uses sun-jdk-1.4 but not 1.5.
31 > How to fix now?
32 >>
33 >> You can get online help on irc #gentoo-java.
34 > I hope i can.But my network is edu one,so i can't connect these irc.
35 >>
36 >> Miroslav Šulc
37 >>
38 >
39 >>
40 >>
41 >>
42 >
43 >

Attachments

File name MIME type
miroslav.sulc.vcf text/x-vcard