[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]
NoClassDefFound error
hi list
had sun jdk installed on one machine and everything was / is working
fine there. got a new machine for server and installed sun jdk there
also. set the path , classpath etc.
which java shows java in /usr/local/jdk1.2.2/bin
javac compiles a program , test.java and produces test.class
however when i try to run it i get the following error message :
Exception in thread main : java.lang NoClassDefFound Error : test
the same program is working fine on earlier machine. paths are set
correctly.
so why it is unable to find test.class ??
any hepls/suggestions ??
regards
--
---- why i am doing this ? it's the 'Tina' factor ,
There is no alternative
Rajeev Jha Email: rajeevj@xxxxxxxxxxxxxx
Tring Tring : +91(20)5424301 Xtn: 1126 web: http://www.rajeevjha.com
-----------------------------------------------------------------------