Thread View: comp.lang.java.machine
2 messages
2 total messages
Started by Alan Tang
Fri, 30 Jun 2000 00:00
??? Exception in Thread 'main' java.lang.NoClassDefFoundError: HelloWorld
Author: Alan Tang
Date: Fri, 30 Jun 2000 00:00
Date: Fri, 30 Jun 2000 00:00
19 lines
1944 bytes
1944 bytes
To anyone,
I have just re-installed jdk1.2.2 for Linux on Mandrake 7.01. I have
compiled a simple HelloWorld.java by javac, with all the /lib and /bin
assigned as Env_variables. However, I kept receiving when tried to java
HelloWorld
Exception in Thread 'main' java.lang.NoClassDefFoundError: HelloWorld
What the hell is going on ? I have tried to compile the source under Win
with JDK1.3 and it worked fine.
Help!!!
Thanks
Alan
please email ic@clara.net
Re: ??? Exception in Thread 'main' java.lang.NoClassDefFoundError: HelloWorld
Author: Chitra Saravanan
Date: Tue, 18 Jul 2000 00:00
Date: Tue, 18 Jul 2000 00:00
57 lines
3119 bytes
3119 bytes
This is a multi-part message in MIME format.
--------------1F08828A3A338FCB7C7AFE32
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Open the .profile and add the classes.zip directory and your directory to
classpath and add the java bin directory to path
1. set classpath = <full path for classes.zip>; <your current
working directory>
eg. set classpath = usr\java\lib\classes.zip:home\john
2. set path = usr\java\bin
still if you are getting problem go to the following website and search to
fix your problem.
http://java.sun.com/docs/books/tutorial/getStarted/cupojava/unix.htr
or you can search in java.sun.com java in unix/linux.
Alan Tang wrote:
> To anyone,
>
> I have just re-installed jdk1.2.2 for Linux on Mandrake 7.01. I have
> compiled a simple HelloWorld.java by javac, with all the /lib and /bin
> assigned as Env_variables. However, I kept receiving when tried to java
> HelloWorld
>
> Exception in Thread 'main' java.lang.NoClassDefFoundError: HelloWorld
>
> What the hell is going on ? I have tried to compile the source under Win
> with JDK1.3 and it worked fine.
>
> Help!!!
>
> Thanks
>
> Alan
>
> please email ic@clara.net
--------------1F08828A3A338FCB7C7AFE32
Content-Type: text/x-vcard; charset=us-ascii;
name="schithu.vcf"
Content-Transfer-Encoding: 7bit
Content-Description: Card for Chitra Saravanan
Content-Disposition: attachment;
filename="schithu.vcf"
begin:vcard
n:;
x-mozilla-html:FALSE
adr:;;;;;;
version:2.1
email;internet:schithu@uswest.net
fn:Chitra Saravanan
end:vcard
--------------1F08828A3A338FCB7C7AFE32--
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads