Hi !

I'll answer the easier question:

To run SimpleExample.class you must type 

java SimpleExample

because the point "." has the same efect than "/" to
separate packages and directories.

I think that you typed
java SimpleExample.class
and you get:
Exception in thread "main" java.lang.NoClassDefFoundError:
SimpleExample/class
because java searched the file class.class in the folder SimpleExample

Bye

--
-------------------------------------------------------------
    (,       http://www.geocities.com/Hollywood/Set/8660
    /|__--__
    |\ '__
    `.' / `.,_ _________
    /  ||``._.'
  .'   /|                Pere Joan Serra Caldentey
.'    /\ \
` `,/ /`,\              [EMAIL PROTECTED]
   .'.'  /|
,' /   / |
- `- -- `-'- -----------------------------------------------


----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to