Thank you Ragu, that solved my problem. Sorry for almost starting a flame war based on language preferences. It was not my intent. But thanks for the reading material! ;)
And to Norberto Bensa: Thank you very much for telling me to read up on "Pet Hate". Appreciate the advice. However, i felt that writing that email was appropriate because java in gentoo is handled differently than other linux distros( might i even go as far as to say to improved??) via java-config. And if i was to bring this up in another list, say a generic java list, they might not know enough about gentoo to help me out if this was a gentoo related problem. It wasn't, but i didn't know that when the problem occurred. Thanks everyone for helping in your own little ways. bryce On Wednesday 28 May 2003 03:47, Ragu wrote: > Bryce, > > This error occurs, when the classpath is not set properly. > You have to set the classpath before running/compiling your > java files. > > export CLASSPATH=$CLASSPATH:<current-dir> > > Hope this helps you out. > > Cheers > Ragu > > ----- Original Message ----- > From: "bryce verdier" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Wednesday, May 28, 2003 3:35 PM > Subject: [gentoo-user] Java error > > > I'm new to the whole java language. Anyway, i'm using kdevelop as my ide, > > and > > > i have this simple java code: > > > > class Main{ > > > > public static void main( String[] args ){ > > System.out.println( "Hello, world!" ); > > } > > } > > > > > > and when i try to compile it i get this error: > > > > Exception in thread "main" java.lang.NoClassDefFoundError: Main > > > > I know this may not be the right place to talk about this... but any help > > would be appreciated. > > > > thanks, > > bryce > > > > > > > > -- > > [EMAIL PROTECTED] mailing list > > -- > [EMAIL PROTECTED] mailing list -- [EMAIL PROTECTED] mailing list