Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
emerge sun-j2me-bin fails
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Duplicate Threads
View previous topic :: View next topic  
Author Message
mixandgo
n00b
n00b


Joined: 05 Apr 2005
Posts: 23

PostPosted: Sun Jul 16, 2006 3:57 pm    Post subject: emerge sun-j2me-bin fails Reply with quote

Code:
uname -a
Linux localhost 2.6.16-gentoo-r9 #1 SMP Mon Jun 19 23:50:37 EEST 2006 i686 Intel(R) Pentium(R) 4 CPU 3.20GHz GNU/Linux


Code:
java-config-1 -L
[blackdown-jdk-1.4.2.03] "Blackdown JDK 1.4.2.03" (/etc/env.d/java/20blackdown-jdk-1.4.2.03)


Code:
java-config-2 -L
1) Blackdown JDK 1.4.2.03 [blackdown-jdk-1.4.2] (/usr/share/java-config-2/vm/blackdown-jdk-1.4.2)
*) Sun JDK 1.5.0.07 [sun-jdk-1.5] (/usr/share/java-config-2/vm/sun-jdk-1.5)


I get this error when trying to emerge sun-j2me-bin:

Code:
ACCEPT_KEYWORDS="~x86" emerge sun-j2me-bin

Calculating dependencies... done!
>>> Emerging (1 of 5) dev-java/relaxng-datatype-1.0 to /
>>> checking ebuild checksums ;-)
>>> checking auxfile checksums ;-)
>>> checking miscfile checksums ;-)
>>> checking relaxngDatatype-1.0.zip ;-)
 * Enabling generation-2 compatibility ...
 * Using blackdown-jdk-1.4.2                                                                                                                                                   [ ok ]
>>> Unpacking source...
>>> Unpacking relaxngDatatype-1.0.zip to /var/tmp/portage/relaxng-datatype-1.0/work
 * Applying relaxng-datatype-1.0-build_xml.patch ...                                                                                                                           [ ok ]
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/relaxng-datatype-1.0/work/relaxngDatatype-1.0 ...
Buildfile: build.xml

BUILD FAILED
java.lang.UnsupportedClassVersionError: org/xml/sax/ext/Attributes2 (Unsupported major.minor version 49.0)
        at java.lang.ClassLoader.defineClass0(Native Method)
        at java.lang.ClassLoader.defineClass(ClassLoader.java:539)
        at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)
        at java.net.URLClassLoader.defineClass(URLClassLoader.java:251)
        at java.net.URLClassLoader.access$100(URLClassLoader.java:55)
        at java.net.URLClassLoader$1.run(URLClassLoader.java:194)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
        at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
        at java.lang.ClassLoader.defineClass0(Native Method)
        at java.lang.ClassLoader.defineClass(ClassLoader.java:539)
        at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)
        at java.net.URLClassLoader.defineClass(URLClassLoader.java:251)
        at java.net.URLClassLoader.access$100(URLClassLoader.java:55)
        at java.net.URLClassLoader$1.run(URLClassLoader.java:194)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
        at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
        at org.apache.xerces.parsers.AbstractSAXParser.this(AbstractSAXParser.java:201)
        at org.apache.xerces.parsers.AbstractSAXParser.<init>(AbstractSAXParser.java:221)
        at org.apache.xerces.parsers.SAXParser.<init>(SAXParser.java:98)
        at org.apache.xerces.parsers.SAXParser.<init>(SAXParser.java:83)
        at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.<init>(SAXParserImpl.java:332)
        at org.apache.xerces.jaxp.SAXParserImpl.<init>(SAXParserImpl.java:122)
        at org.apache.xerces.jaxp.SAXParserFactoryImpl.newSAXParser(SAXParserFactoryImpl.java:61)
        at org.apache.tools.ant.util.JAXPUtils.newSAXParser(JAXPUtils.java:205)
        at org.apache.tools.ant.util.JAXPUtils.getNamespaceXMLReader(JAXPUtils.java:163)
        at org.apache.tools.ant.helper.ProjectHelper2.parse(ProjectHelper2.java:184)
        at org.apache.tools.ant.helper.ProjectHelper2.parse(ProjectHelper2.java:131)
        at org.apache.tools.ant.ProjectHelper.configureProject(ProjectHelper.java:91)
        at org.apache.tools.ant.Main.runBuild(Main.java:658)
        at org.apache.tools.ant.Main.startAnt(Main.java:188)
        at org.apache.tools.ant.launch.Launcher.run(Launcher.java:196)
        at org.apache.tools.ant.launch.Launcher.main(Launcher.java:55)

Total time: 0 seconds
java.lang.UnsupportedClassVersionError: org/xml/sax/ext/Attributes2 (Unsupported major.minor version 49.0)
        at java.lang.ClassLoader.defineClass0(Native Method)
        at java.lang.ClassLoader.defineClass(ClassLoader.java:539)
        at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)
        at java.net.URLClassLoader.defineClass(URLClassLoader.java:251)
        at java.net.URLClassLoader.access$100(URLClassLoader.java:55)
        at java.net.URLClassLoader$1.run(URLClassLoader.java:194)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
        at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
        at java.lang.ClassLoader.defineClass0(Native Method)
        at java.lang.ClassLoader.defineClass(ClassLoader.java:539)
        at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)
        at java.net.URLClassLoader.defineClass(URLClassLoader.java:251)
        at java.net.URLClassLoader.access$100(URLClassLoader.java:55)
        at java.net.URLClassLoader$1.run(URLClassLoader.java:194)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
        at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
        at org.apache.xerces.parsers.AbstractSAXParser.this(AbstractSAXParser.java:201)
        at org.apache.xerces.parsers.AbstractSAXParser.<init>(AbstractSAXParser.java:221)
        at org.apache.xerces.parsers.SAXParser.<init>(SAXParser.java:98)
        at org.apache.xerces.parsers.SAXParser.<init>(SAXParser.java:83)
        at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.<init>(SAXParserImpl.java:332)
        at org.apache.xerces.jaxp.SAXParserImpl.<init>(SAXParserImpl.java:122)
        at org.apache.xerces.jaxp.SAXParserFactoryImpl.newSAXParser(SAXParserFactoryImpl.java:61)
        at org.apache.tools.ant.util.JAXPUtils.newSAXParser(JAXPUtils.java:205)
        at org.apache.tools.ant.util.JAXPUtils.getNamespaceXMLReader(JAXPUtils.java:163)
        at org.apache.tools.ant.helper.ProjectHelper2.parse(ProjectHelper2.java:184)
        at org.apache.tools.ant.helper.ProjectHelper2.parse(ProjectHelper2.java:131)
        at org.apache.tools.ant.ProjectHelper.configureProject(ProjectHelper.java:91)
        at org.apache.tools.ant.Main.runBuild(Main.java:658)
        at org.apache.tools.ant.Main.startAnt(Main.java:188)
        at org.apache.tools.ant.launch.Launcher.run(Launcher.java:196)
        at org.apache.tools.ant.launch.Launcher.main(Launcher.java:55)
org/xml/sax/ext/Attributes2 (Unsupported major.minor version 49.0)

!!! ERROR: dev-java/relaxng-datatype-1.0 failed.
Call stack:
  ebuild.sh, line 1539:   Called dyn_compile
  ebuild.sh, line 939:   Called src_compile
  relaxng-datatype-1.0.ebuild, line 39:   Called die

!!! Compilation failed
!!! If you need support, post the topmost build error, and the call stack if relevant.
Back to top
View user's profile Send private message
kallamej
Administrator
Administrator


Joined: 27 Jun 2003
Posts: 4830
Location: Gothenburg, Sweden

PostPosted: Sun Jul 16, 2006 9:23 pm    Post subject: Reply with quote

Same problem as topic 444116. Please see and follow up to that thread.

Moved from Portage & Programming to Duplicate Threads.
_________________
Please read our FAQ Forum, it answers many of your questions.
irc: #gentoo-forums on irc.freenode.net
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Duplicate Threads All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum