[ubuntu-tn] ClassNotFoundException
Rim Bergaoui
bergaoui.rim at gmail.com
Mer 23 Mar 16:37:41 UTC 2011
J'ai encore la même exception ClassNotFoundException en essayant ces trois
commandes:
1- /usr/lib/jvm/java-6-sun-1.6.0.24/bin/java -classpath
"/home/bea1034/wlserver_10.0/server/lib/weblogic.jar:nomjar.jar"
-jar /home/moi/Projects/folder/folder2/nomjar2.jar
2- /usr/lib/jvm/java-6-sun-1.6.0.24/bin/java -classpath
./home/bea1034/wlserver_10.0/server/lib/weblogic.jar:nomjar.jar
-jar /home/moi/Projects/folder/folder2/nomjar2.jar
3- /usr/lib/jvm/java-6-sun-1.6.0.24/bin/java -classpath
/home/bea1034/wlserver_10.0/server/lib/weblogic.jar:nomjar.jar
-jar /home/moi/Projects/folder/folder2/nomjar2.jar
Le 23 mars 2011 16:58, Belhadj abdessalem <belhadj.abdessalem at gmail.com> a
écrit :
> essai de rajoute le ./ devant de /home et de specifier aussi la classe dont
> t'a besoin dans ton weblogic .jar
>
> Le 23 mars 2011 16:13, Rim Bergaoui <bergaoui.rim at gmail.com> a écrit :
> >
>
> > Je travaille sous Ubuntu et lorsque j'exécute ceci sur un terminal :
> >
> > /usr/lib/jvm/java-6-sun-1.6.0.24/bin/java -classpath
> > "/home/bea1034/wlserver_10.0/server/lib/weblogic.jar:nomjar.jar"
> > -jar /home/moi/Projects/folder/folder2/nomjar2.jar
> >
> > Il me renvoie l'exception : ClassNotFoundException .....
> > La classe qu'il recherche se trouve dans le jar weblogic.jar, et il ne
> l'a
> > pas reconnu ce jar dans le classpath.
> >
> > Qui a une idée de ce problème.
> >
> > Merci beaucoup.
> > --
> >
> --------------------------------------------------------------------------------------------------------------------------------------------------------------------
> > BERGAOUI Rim
> > IT consultant
> > vermeg
> >
> > Mobile: +216 22 95 01 33
> > Tel Bureau: +216 71 96 44 59
> > Email: bergaoui.rim at gmail.com
> > Web: www.vermeg.com
> >
> >
>
> > --
> > Ubuntu-tn mailing list
> > Ubuntu-tn at lists.ubuntu.com
> > Modify settings or unsubscribe at:
> > https://lists.ubuntu.com/mailman/listinfo/ubuntu-tn
> >
> >
>
>
>
> --
>
> Abdessalem BELHADJ
> Ingénieur en Informatique
> Direction des Etudes
> E-Mail : a.belhadj at eugena.fr
> Tel : (+33) 06 01 74 88 92
>
> P Afin de contribuer au respect de l'environnement, merci de n'imprimer ce
> courriel que si nécessaire.
>
>
> --
> Ubuntu-tn mailing list
> Ubuntu-tn at lists.ubuntu.com
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-tn
>
>
>
--
--------------------------------------------------------------------------------------------------------------------------------------------------------------------
*BERGAOUI Rim*
*IT consultant*
*verm**e**g
*
<https://mail.vermeg.com/owa/redir.aspx?C=2318296199484aca854bfba95fdaa579&URL=mailto%3arbergaoui%40vermeg.com>
Mobile: +216 22 95 01 33
Tel Bureau: +216 71 96 44 59
Email: bergaoui.rim at gmail.com
Web:
www.vermeg.com<https://mail.vermeg.com/owa/redir.aspx?C=2318296199484aca854bfba95fdaa579&URL=http%3a%2f%2fwww.vermeg.com%2f>
-------------- section suivante --------------
Une pièce jointe HTML a été nettoyée...
URL: <https://lists.ubuntu.com/archives/ubuntu-tn/attachments/20110323/5e4dbfc5/attachment.html>
Plus d'informations sur la liste de diffusion Ubuntu-tn