View previous topic :: View next topic |
Author |
Message |
Autie Guru
Joined: 25 Jul 2003 Posts: 309 Location: Ledegem - Belgium
|
Posted: Sat Apr 02, 2005 8:25 pm Post subject: emerge dev-java/jakarta-regexp-1.3 failes |
|
|
when i emerge dev-java/jakarta-regexp-1.3, it stops almost emmidiatly.
Code: | >>> emerge (1 of 2) dev-java/jakarta-regexp-1.3 to /
>>> md5 src_uri ;-) jakarta-regexp-1.3.tar.gz
>>> Unpacking source...
>>> Unpacking jakarta-regexp-1.3.tar.gz to /var/tmp/portage/jakarta-regexp-1.3/work
tar: A lone zero block at 1722
>>> Source unpacked.
/usr/portage/dev-java/jakarta-regexp/jakarta-regexp-1.3.ebuild: line 31: ant: command not found
!!! ERROR: dev-java/jakarta-regexp-1.3 failed.
!!! Function src_compile, Line 31, Exitcode 127
!!! compile problem
|
ant is installed.
How can i solve this? _________________ The capacity to learn is a gift; The ability to learn is a skill; The willingness to learn is a choice. |
|
Back to top |
|
|
agreif n00b
Joined: 09 Jan 2003 Posts: 29 Location: Berlin/Germany
|
Posted: Sat Apr 09, 2005 7:15 am Post subject: |
|
|
try first:
Code: | emerge jakarta-regexp |
Alex. |
|
Back to top |
|
|
zpet731 Tux's lil' helper
Joined: 24 Mar 2004 Posts: 133 Location: Sydney Australia / Belgrade Serbia
|
Posted: Wed Apr 27, 2005 12:56 am Post subject: |
|
|
I have a similar problem
Code: |
BUILD FAILED
java.lang.UnsupportedClassVersionError: org/apache/xerces/jaxp/SAXParserFactoryImpl (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:282)
at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
at javax.xml.parsers.FactoryFinder.newInstance(FactoryFinder.java:93)
at javax.xml.parsers.FactoryFinder.find(FactoryFinder.java:174)
at javax.xml.parsers.SAXParserFactory.newInstance(SAXParserFactory.java:87)
at org.apache.tools.ant.util.JAXPUtils.newParserFactory(JAXPUtils.java:114)
at org.apache.tools.ant.util.JAXPUtils.getNSParserFactory(JAXPUtils.java:100)
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/apache/xerces/jaxp/SAXParserFactoryImpl (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:282)
at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
at javax.xml.parsers.FactoryFinder.newInstance(FactoryFinder.java:93)
at javax.xml.parsers.FactoryFinder.find(FactoryFinder.java:174)
at javax.xml.parsers.SAXParserFactory.newInstance(SAXParserFactory.java:87)
at org.apache.tools.ant.util.JAXPUtils.newParserFactory(JAXPUtils.java:114)
at org.apache.tools.ant.util.JAXPUtils.getNSParserFactory(JAXPUtils.java:100)
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/apache/xerces/jaxp/SAXParserFactoryImpl (Unsupported major.minor version 49.0)
!!! ERROR: dev-java/jakarta-regexp-1.3-r2 failed.
!!! Function src_compile, Line 31, Exitcode 1
!!! compile problem
!!! If you need support, post the topmost build error, NOT this status message.
|
Anyone have any idea? _________________ " Invention is the most important product of man's creative brain. The ultimate purpose is the complete mastery of mind over the material world, the harnessing of human nature to human needs."
Nikola Tesla |
|
Back to top |
|
|
zpet731 Tux's lil' helper
Joined: 24 Mar 2004 Posts: 133 Location: Sydney Australia / Belgrade Serbia
|
Posted: Wed Apr 27, 2005 2:03 am Post subject: |
|
|
Ok I found the solution for my problem. Its related to the java version. _________________ " Invention is the most important product of man's creative brain. The ultimate purpose is the complete mastery of mind over the material world, the harnessing of human nature to human needs."
Nikola Tesla |
|
Back to top |
|
|
Cagnulein l33t
Joined: 18 Sep 2003 Posts: 861 Location: Modena, Italy
|
Posted: Tue May 03, 2005 8:12 pm Post subject: |
|
|
zpet731 wrote: | Ok I found the solution for my problem. Its related to the java version. |
i have the same problem...what's the solution? |
|
Back to top |
|
|
zpet731 Tux's lil' helper
Joined: 24 Mar 2004 Posts: 133 Location: Sydney Australia / Belgrade Serbia
|
Posted: Thu May 12, 2005 12:37 am Post subject: |
|
|
You need to switch your java version in order to compile it. Are you using sun-jdk-1.5.0.02? _________________ " Invention is the most important product of man's creative brain. The ultimate purpose is the complete mastery of mind over the material world, the harnessing of human nature to human needs."
Nikola Tesla |
|
Back to top |
|
|
curantil Tux's lil' helper
Joined: 28 Feb 2004 Posts: 102
|
Posted: Tue May 24, 2005 4:51 pm Post subject: |
|
|
I have the same problem. The sun-jdk-1.5 isn't in the stable branch for x86? So which version of java should I use? |
|
Back to top |
|
|
BlinkEye Veteran
Joined: 21 Oct 2003 Posts: 1046 Location: Gentoo Forums
|
|
Back to top |
|
|
|