Hallo Leute,
ich habe einen Root Server mit Suse Linux 9.1.
Ich habe vor kurzem (Java) jdk 1.5.0 installiert.
Ich möchte dem System nun die Umgebungsvariable fest zuweisen (temporär hab ich es mit #~ export JAVA_HOME=’/usr/java/jdk1.5.0′ hinbekommen).
Ich habe mal eine profile.local datei im /etc verzeichnis erstellt mit folgende Inhalt:
JAVA_HOME=/usr/java/jdk1.5.0
export JAVA_HOME
PATH=`echo $PATH|sed
's|:/usr/lib/java/bin
|:/usr/java/jdk1.5.0/bin|'`
export PATH
jdk1.5.0 liegt im /usr/java/jdk1.5.0/bin
Wenn ich mich für Telnet einlogge bekomme ich folgendes:
': not a valid identifier
: command not found
-bash: s|:/usr/lib/java/bin
|:/usr/java/jdk1.5.0/bin|: No such file or directory
-bash: dircolors: command not found
-bash: locale: command not found
Danke im voraus.
ich habe einen Root Server mit Suse Linux 9.1.
Ich habe vor kurzem (Java) jdk 1.5.0 installiert.
Ich möchte dem System nun die Umgebungsvariable fest zuweisen (temporär hab ich es mit #~ export JAVA_HOME=’/usr/java/jdk1.5.0′ hinbekommen).
Ich habe mal eine profile.local datei im /etc verzeichnis erstellt mit folgende Inhalt:
JAVA_HOME=/usr/java/jdk1.5.0
export JAVA_HOME
PATH=`echo $PATH|sed
's|:/usr/lib/java/bin
|:/usr/java/jdk1.5.0/bin|'`
export PATH
jdk1.5.0 liegt im /usr/java/jdk1.5.0/bin
Wenn ich mich für Telnet einlogge bekomme ich folgendes:
': not a valid identifier
: command not found
-bash: s|:/usr/lib/java/bin
|:/usr/java/jdk1.5.0/bin|: No such file or directory
-bash: dircolors: command not found
-bash: locale: command not found
Danke im voraus.