On -1 xxx -1, Rick Rothweiler wrote:
> Hi All:
> I am fairley new to java, and receintly wrote a very
> simple program in a windows IDE. I tried to run the .class file on my
>
> linux machine with no luck. Both systems have jdk 1.2.2. My linux
> machine says "Exception in thread "main"
>
> java.lang.NoClassDefFoundError: First_tst/class. Any Ideas.
The VM did not find the Class, you have to set the CLASSPATH var (e.g
export CLASSPATH=$CLASSPATH:/where/are/my/classes
with bash)
Then you could start ypur class First.class with: java First
>
This is a problem with your java setup not with any incompabilities
between linux and windows. Under Windows the IDE you installed has setup
the classpath.
Ingo
* ******
** In the manual it said "For use with W95, W98 or better" *****
*** So I installed Linux... ****
**** ***
***** Ingo Rockel, EMAIL: [EMAIL PROTECTED] **
****** Homepage: http://inro.da.ru *
----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]