View previous topic :: View next topic |
Author |
Message |
griesgram Tux's lil' helper
Joined: 26 Jul 2005 Posts: 148 Location: Großefehn
|
Posted: Thu Jan 26, 2006 5:46 pm Post subject: emerge -avuD world / fehlendes Java 2 Runtime [solved] |
|
|
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 |
|
|
ConiKost Developer
Joined: 11 Jan 2005 Posts: 1371
|
Posted: Thu Jan 26, 2006 6:07 pm Post subject: |
|
|
das ganze musst du dann manuell noch von java.sun.com laden! Dann nach /usr/portage/distfiles kopieren. |
|
Back to top |
|
|
mastacloak Apprentice
Joined: 01 Aug 2004 Posts: 174 Location: Berlin / Germany
|
Posted: Thu Jan 26, 2006 6:17 pm Post subject: |
|
|
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:
Eventuell sollte man auch noch eine Java-VM fürs System mit
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 |
|
|
griesgram Tux's lil' helper
Joined: 26 Jul 2005 Posts: 148 Location: Großefehn
|
Posted: Thu Jan 26, 2006 6:21 pm Post subject: |
|
|
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 |
|
|
|