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.
On Thu, 2003-03-27 at 18:58, Sylvain Petreolle wrote:
Do you have to put options on the command line or change environment ? It complains that it cannot found the classess for me, even for the 'hello world'.
[syl@snoop Java]$ cat PremierProgramme.java //Premier programme Java class PremierProgramme { public static void main (String[] arg) { System.out.println("Ca marche!"); } } [syl@snoop Java]$ ls -l PremierProgramme.* -rwxr-xr-x 1 syl wine 467 mar 27 07:13 PremierProgramme.class -rwxr-xr-x 1 syl wine 153 mar 27 07:13 PremierProgramme.java [syl@snoop Java]$ java PremierProgramme Ca marche! [syl@snoop Java]$ wine java PremierProgramme Java HotSpot(TM) Client VM warning: Attempt to allocate stack guard pages failed. fixme:console:SetConsoleCtrlHandler (0x7800f585,1) - no error checking or testing yet fixme:console:SetConsoleCtrlHandler (0x6d3d369f,1) - no error checking or testing yet Exception in thread "main" java.lang.NoClassDefFoundError: PremierProgramme
===== 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