AgelessStranger Posted August 17, 2004 Report Share Posted August 17, 2004 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 Quote Link to comment Share on other sites More sharing options...
spinynorman Posted August 18, 2004 Report Share Posted August 18, 2004 AgelessStranger - If you feel you're being ignored, please post briefly in the same thread to get back to the top of the pile. :) I have removed your duplicate thread. Quote Link to comment Share on other sites More sharing options...
Michel Posted August 21, 2004 Report Share Posted August 21, 2004 You need to type java Minimise I believe. Quote Link to comment Share on other sites More sharing options...
AgelessStranger Posted August 21, 2004 Author Report Share Posted August 21, 2004 Michel, Thank You, Thank You, Thank You! :lol: I cant believe that it could be so simple! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.