# Sample .profile for SuSE Linux
# rewritten by Christian Steinruecken <cstein@suse.de>
#
# This file is read each time a login shell is started.
# All other interactive shells will only read .bashrc; this is particularly
# important for language settings, see below.
test -z "$PROFILEREAD" && . /etc/profile
# Most applications support several languages for their output.
# To make use of this feature, simply uncomment one of the lines below or
# add your own one (see /usr/share/locale/locale.alias for more codes)
#
#export LANG=de_DE@euro # uncomment this line for German output
#export LANG=fr_FR@euro # uncomment this line for French output
#export LANG=es_ES@euro # uncomment this line for Spanish output
# Some people don't like fortune. If you uncomment the following lines,
# you will have a fortune each time you log in ;-)
#if [ -x /usr/bin/fortune ] ; then
# echo
# /usr/bin/fortune
# echo
#fi
export CLASSPATH=.:/usr/lib/jvm/java-1.5.0-sun-1.5.0_06/jre/lib/rt.jar:/home/fab/jarArchive/id3lib/mp3.1.jar
export CLASSPATH=.:/usr/lib/jvm/java-1.5.0-sun-1.5.0_06/jre/lib/rt.jar:/home/fab/jarArchive/id3lib/mp3.1.jar
java -classpath <Classpath> <Javaklasse mit main()>
export CLASSPATH=.:/usr/lib/jvm/java-1.5.0-sun-1.5.0_06/jre/lib/rt.jar:/home/fab/jarArchive/id 3 lib/yajil-0.3.3.jar
export CLASSPATH=/usr/lib/jvm/java-1.5.0-sun-1.5.0_06/jre/lib/rt.jar:"/home/fab/jarArchive/id 3 lib/yajil-0.3.3.jar"
Wie kann ich die CLASSPATH überprüfen, ob sie jetzt tatsächlich gesetzt wurde?
echo ${CLASSPATH}