Re: Re: Java JAVA_HOME automatisch setzen
Oliver schrieb am Freitag den 07.01.2005
marcel-stein@arcor.de wrote:
Problem gelöst
JAVA_HOME=/usr/java/jdk1.5.0_01 setzte die variable dachte export JAVA_HOME exportiert die irgendwo hin aber sie wurde gelöscht dadurch export JAVA_HOME=/usr/java/jdk1.5.0_01 hatte den Effekt Trotzdem Danke! Ich habe in Anlöeitung eben gelesen JAVA_HOME=/javapfad; export JAVA_HOME
ist beides richtig. Der erste Weg (export JAVA_HOME=/javapfad) ist kürzer, wird aber von der Uralt-Bourneshell, die auf manchen Unix'en noch zu Hause ist, nicht verstanden. Deswegen ist der "sicherere" Weg: JAVA_HOME=/javapfad; export JAVA_HOME.
zu deinem 2. Problem (server error): bist du sicher, dass du nicht http://localhost:8080/jsp-examples meintest (Portangabe 8080 beachten)? Ich
nehme an, dass du mit Tomcat experimentierst. Der lauscht standardmäßig auf 8080.
ja ich experimentier damit! ich verwende den mod_jk Connector und da kannst du den port weglassen. hab den fehler auch schon gefunden!
mfg oli b. -- Oliver Böhm mailto:boehm@javatux.de http://www.javatux.de
participants (1)
-
marcel-stein@arcor.de