essaie un peu: java -classpath $CLASSPATH:. -jar my5250.jar
TBone
pour ma part, j'ai le JDK, pas kaffe...
il te faut une variable CLASSPATH
set CLASSPATH=/home/cd/j2sdk1.4/jre/lib/rt.jar:.
export CLASSPATH
voilà ce que j'ai chez moi.
pour kaffe je ne sais pas.
faboubou
au secours!!!!!!!
keske je dois mettre ds mon .bash_profile :(
:hello: help me!!
faboubou
ah oui au fait voici mon .bash_profile :
# .bash_profile
# Get the aliases and functions
if [ -f ~/.bashrc ]; then
. ~/.bashrc
fi
mesg n
faboubou
voila en voulant lancer un .jar j ai fait
[root@tm1300 5250j]# java -jar my5250.jar
et la o surprise j ai une superbe erreur ki me dis :
Internal error: caught an unexpected exception.
Please check your CLASSPATH and your installation.
java/lang/NoClassDefFoundError: Lorg/tn5250j/Gui5250Frame;
at java.lang.reflect.Method.invoke(Method.java:native)
at kaffe.jar.ExecJarName.main(ExecJarName.java:70)
at kaffe.jar.ExecJar.main(ExecJar.java:59)
Abandon (core dumped)
je pense ke cela vient du .bash_profile mais je n en suis pas sur?si c est cela keskil faut mettre comme ligne ds ce fichier??
newbie moi etre :)