Jump to content

NoClassDefFoundError in j2sdk1.4.2_05


Recommended Posts

Hi

I am having problems with my java classes. Here is what happens

 

[josh@localhost ass1]$ javac ./Minimise.java

[josh@localhost ass1]$ java ./Minimise.class

Exception in thread "main" java.lang.NoClassDefFoundError: //Minimise/class

 

So having poked around at suns sight for about two hours, then searching here, I think that my problem is in the CLASSPATH and PATH settings.

 

Can someone please write me (in relatively simple terms) a how to about changing /adding CLASSPATH and PATH variables. I also need to be told where the .bashrc file is as I can only find one in /etc/ so is this the one I edit or some other one?

 

Any help would be greatly appreciated

Josh

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...