NoClassDefFoundError exception

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

NoClassDefFoundError exception

Henrik Wahlberg
Hello NetRexers!

Can one of you spot which setup task is gone wrong/missing here:
-----------------------------------------------------------------------------------
D:\jdk1.2\bin>java  COM.ibm.netrexx.process.NetRexxC hello
NetRexx portable processor, version 1.148
Copyright (c) IBM Corporation, 1998.  All rights reserved.
Program hello.nrx
Exception in thread "main" java.lang.NoClassDefFoundError:
sun/tools/javac/Main
        at COM.ibm.netrexx.process.RxTranslator.compile(Compiled Code)
        at
COM.ibm.netrexx.process.RxTranslator.compile(RxTranslator.nrx:388)
        at COM.ibm.netrexx.process.NetRexxC.main(Compiled Code)
        at COM.ibm.netrexx.process.NetRexxC.main(NetRexxC.nrx:53)

D:\jdk1.2\bin>javac hello.java

D:\jdk1.2\bin>java hello
Hello World!

D:\jdk1.2\bin>set classpath
classpath=.;D:\jdk1.2\lib\NetRexxC.zip

D:\jdk1.2\bin>
----------------------------------------------------------------------------------
As you might guess, it's JDK 1.2. It's running on WinNT 4.0US, SP 4, and
my D: drive is a HPFS drive.

It seams all to work!, the hello.class is generated ok, and I can just
compile and run it.
Just the abowe annoyment.

--
MVH/Regards Henrik Wahlberg,
  Home:[hidden email]  (+45) 97209080
  HP:http://w1.1972.telia.com/~u197200709/index.html
  ICQ:36374373   SMS :[hidden email]
  Work:[hidden email]       EDB Gruppen A/S. (+45) 99283330
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe from this mailing list ( ibm-netrexx ), please send a note to
[hidden email]
with the following message in the body of the note
unsubscribe ibm-netrexx <e-mail address>

Reply | Threaded
Open this post in threaded view
|

Re: NoClassDefFoundError exception

Mike Cowlishaw-2


This is a bug in the MS JIT .. easiest is to turn the JIT off (see
'Problems' section in the NetRexx installation/user's guide).

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Mike Cowlishaw, IBM Fellow
mailto:[hidden email]  --  http://www2.hursley.ibm.com


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe from this mailing list ( ibm-netrexx ), please send a note to
[hidden email]
with the following message in the body of the note
unsubscribe ibm-netrexx <e-mail address>