Thanks for all, I had lost every notion of the manifest thing.
Now we must find why it doesnt work with plain classes.
> My is also pretty old, but you can use the jar command, which is much
> like the
> zip command.
>
> When you have created the jar, then you can use the command:
> java -cp pack.jar PremierProgramme
>
> If you have tried with
> java -jar pack.jar
> then that only works if you have provided a proper manifest file when
> creating
> the .jar (The manifest file should probably have Main-Class:
> PremierProgramme
> in it, but I'm not sure, if it will work, since I remember, that it
> is picky
> about packages - meaning you have to have your classes in (java)
> packages)
>
> > > This sounds like a caps issue, java is very sensitive to that
> kind of
> > > thing. It all works for me, but I'm using JAR files.
>
====Sylvain Petreolle (spetreolle at users dot sourceforge dot net) ICQ
#170597259
No more War !
"What if tomorrow the War could be over ?" Morpheus, in
"Reloaded".
For the Law of Oil and Fire, Im an European that lives in France.
For all my Brothers and friends, Im a human living on Earth.
___________________________________________________________
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en fran?ais !
Yahoo! Mail : http://fr.mail.yahoo.com