Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
emerge -avuD world / fehlendes Java 2 Runtime [solved]
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
griesgram
Tux's lil' helper
Tux's lil' helper


Joined: 26 Jul 2005
Posts: 148
Location: Großefehn

PostPosted: Thu Jan 26, 2006 5:46 pm    Post subject: emerge -avuD world / fehlendes Java 2 Runtime [solved] Reply with quote

Hallo.

wenn er das Paket
Code:
dev-java/antlr-2.7.5-r2


erhalte ich folgende Fehlermeldung:

Code:
ocessorLexer.java /var/tmp/portage/antlr-2.7.5-r2/work/antlr-2.7.5/antlr/../antlr/preprocessor/PreprocessorTokenTypes.java /var/tmp/portage/antlr-2.7.5-r2/work/antlr-2.7.5/antlr/../antlr/preprocessor/Rule.java /var/tmp/portage/antlr-2.7.5-r2/work/antlr-2.7.5/antlr/../antlr/preprocessor/Tool.java /var/tmp/portage/antlr-2.7.5-r2/work/antlr-2.7.5/antlr/../antlr/debug/misc/JTreeASTModel.java /var/tmp/portage/antlr-2.7.5-r2/work/antlr-2.7.5/antlr/../antlr/debug/misc/JTreeASTPanel.java
Error: could not find libjava.so
Error: could not find Java 2 Runtime Environment.

xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
                      >> E R R O R <<
============================================================

/opt/sun-jdk-1.4.2.10/bin/javac -d .


Java habe ich installiert wie im Handbuch beschrieben.
Wo finde ich den Java 2 Runtime Environment und libjava.so?

Ein eix -s und emerge -s haben mir nicht weitergeholfen.


Gruß
Bernhard


Last edited by griesgram on Thu Jan 26, 2006 6:22 pm; edited 1 time in total
Back to top
View user's profile Send private message
ConiKost
Developer
Developer


Joined: 11 Jan 2005
Posts: 1371

PostPosted: Thu Jan 26, 2006 6:07 pm    Post subject: Reply with quote

Code:

emerge -av sun-jdk


das ganze musst du dann manuell noch von java.sun.com laden! Dann nach /usr/portage/distfiles kopieren.
Back to top
View user's profile Send private message
mastacloak
Apprentice
Apprentice


Joined: 01 Aug 2004
Posts: 174
Location: Berlin / Germany

PostPosted: Thu Jan 26, 2006 6:17 pm    Post subject: Reply with quote

Hatte das oben beschriebene Problem ebenfalls, allerdings bei xml-commons-external.
sun-jdk war allerdings schon installiert. Ich konnte das Problem mit einem re-emerge von
sun-jdk lösen:
Code:
emerge sun-jdk

Eventuell sollte man auch noch eine Java-VM fürs System mit
Code:
java-config

festlegen. War bei mir z.B. nicht festgelegt und danach noch ein
Code:
/usr/sbin/env-update && source /etc/profile


Danach konnte ich xml-commons-external ohne Fehler emergen.
Back to top
View user's profile Send private message
griesgram
Tux's lil' helper
Tux's lil' helper


Joined: 26 Jul 2005
Posts: 148
Location: Großefehn

PostPosted: Thu Jan 26, 2006 6:21 pm    Post subject: Reply with quote

Danke,
ein erneutes emerge von sun-jdk und erneutes vm-set hat geholfen. Warum weiß ich zwar nicht aber
hauptsache es funktioniert wieder.

Gruß
Bernhard
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) 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