On Wednesday 23 July 2003 03:27 pm, Robert Fausey wrote:
> I am having problems getting java programs to run under RH9.  I
> installed j2sdk-1.4.2-fcs and created /etc/profile.d/java.sh that
> contains
>       export JDK_HOME=/usr/java/j2sdk1.4.2
>       export PATH=$PATH:$JDK_HOME/bin
>
> I can compile Java programs, but they will not run, they run fine on
> other systems, I keep getting the following error
>
> Exception in thread "main" java.lang.NoClassDefFoundError: HelloWorld

Might be programming error ?
In Java, there needs to be a class name that the same as the filename IIRC. 
What is your filename, and the code contains in that file?

RDB

-- 
Reuben D. Budiardja
Department of Physics and Astronomy
The University of Tennessee, Knoxville, TN
-------------------------------------------------
/"\  ASCII Ribbon Campaign against HTML    
\ /  email and proprietary format      
 X   attachments.
/ \
-------------------------------------------------
Have you been used by Microsoft today? 
Choose your life. Choose freedom. 
Choose LINUX.
-------------------------------------------------


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list

Reply via email to