Supportnet / Forum / Linux
blabla.sh: java: command not found
Frage
Hi
Wenn ich "sh blabla.sh" eingebe bekomme ich obige fehlermeldung.
Ich habe aber jdk 1.3.1 installiert....
Wo liegt der Fehler??
Antwort 1 von Dave
Hi
Wenn ich "sh blabla.sh" eingebe bekomme ich obige fehlermeldung.
Ich habe aber jdk 1.3.1 installiert....
Wo liegt der Fehler??
Wenn ich "sh blabla.sh" eingebe bekomme ich obige fehlermeldung.
Ich habe aber jdk 1.3.1 installiert....
Wo liegt der Fehler??
Antwort 2 von Dave
Hmm, weiß das keiner? Ich hab echt keinen Plan, was ich falsch gemacht haben könnte
Antwort 3 von Linuxer
Probiers mal mit "bash blabla.sh"
Antwort 4 von Dave
geht leider auch nicht, da kommt genau die gleiche Meldung:
"runlime.sh: java: command not found"
"runlime.sh: java: command not found"
Antwort 5 von Dave
#!/bin/sh
#
# Runs LimeWire. This script must be executed in your LimeWire
# install directory.
#
# We must set the J2SE_PREEMPTCLOSE environment variable to 1 to
# work around some limitations in the JDK1.3. For more information
# see http://java.sun.com/j2se/1.3/relnotes.html#vm
#
J2SE_PREEMPTCLOSE=1; export J2SE_PREEMPTCLOSE
java -classpath . RunLime
RunLime.class ist übrigens im selben Verzeichnis.
Ich glaube nicht, daß es an der Datei runlime.sh liegt. Habe ich eventuell das jdk-paket nicht korrekt installiert?
#
# Runs LimeWire. This script must be executed in your LimeWire
# install directory.
#
# We must set the J2SE_PREEMPTCLOSE environment variable to 1 to
# work around some limitations in the JDK1.3. For more information
# see http://java.sun.com/j2se/1.3/relnotes.html#vm
#
J2SE_PREEMPTCLOSE=1; export J2SE_PREEMPTCLOSE
java -classpath . RunLime
RunLime.class ist übrigens im selben Verzeichnis.
Ich glaube nicht, daß es an der Datei runlime.sh liegt. Habe ich eventuell das jdk-paket nicht korrekt installiert?
Antwort 6 von Linuxer
Ich schätze mal entweder stimmen die Pfade der Installationen von JDK oder Limewire nicht musste mal den JDK kompilieren bzw neu installieren und danach mal die Java Funktion testen

