Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
emerge dev-java/jakarta-regexp-1.3 failes
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
Autie
Guru
Guru


Joined: 25 Jul 2003
Posts: 309
Location: Ledegem - Belgium

PostPosted: Sat Apr 02, 2005 8:25 pm    Post subject: emerge dev-java/jakarta-regexp-1.3 failes Reply with quote

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
View user's profile Send private message
agreif
n00b
n00b


Joined: 09 Jan 2003
Posts: 29
Location: Berlin/Germany

PostPosted: Sat Apr 09, 2005 7:15 am    Post subject: Reply with quote

try first:
Code:
emerge jakarta-regexp


Alex.
Back to top
View user's profile Send private message
zpet731
Tux's lil' helper
Tux's lil' helper


Joined: 24 Mar 2004
Posts: 133
Location: Sydney Australia / Belgrade Serbia

PostPosted: Wed Apr 27, 2005 12:56 am    Post subject: Reply with quote

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
View user's profile Send private message
zpet731
Tux's lil' helper
Tux's lil' helper


Joined: 24 Mar 2004
Posts: 133
Location: Sydney Australia / Belgrade Serbia

PostPosted: Wed Apr 27, 2005 2:03 am    Post subject: Reply with quote

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
View user's profile Send private message
Cagnulein
l33t
l33t


Joined: 18 Sep 2003
Posts: 861
Location: Modena, Italy

PostPosted: Tue May 03, 2005 8:12 pm    Post subject: Reply with quote

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
View user's profile Send private message
zpet731
Tux's lil' helper
Tux's lil' helper


Joined: 24 Mar 2004
Posts: 133
Location: Sydney Australia / Belgrade Serbia

PostPosted: Thu May 12, 2005 12:37 am    Post subject: Reply with quote

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
View user's profile Send private message
curantil
Tux's lil' helper
Tux's lil' helper


Joined: 28 Feb 2004
Posts: 102

PostPosted: Tue May 24, 2005 4:51 pm    Post subject: Reply with quote

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
View user's profile Send private message
BlinkEye
Veteran
Veteran


Joined: 21 Oct 2003
Posts: 1045
Location: Gentoo Forums

PostPosted: Wed Jun 01, 2005 6:02 pm    Post subject: Reply with quote

anything else but a 1.5.X version. go here for further instructions: http://forums.gentoo.org/viewtopic-p-2459421.html#2459421
_________________
Easily backup up your system? klick
Get rid of SSH Brute Force Attempts / Script Kiddies klick
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming 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