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'.

[EMAIL PROTECTED] Java]$ cat PremierProgramme.java
//Premier programme Java
class PremierProgramme {
        public static void main (String[] arg) {
                System.out.println("Ca marche!");
        }
}
[EMAIL PROTECTED] 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
[EMAIL PROTECTED] Java]$ java PremierProgramme
Ca marche!
[EMAIL PROTECTED] 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

Reply via email to