Right I am using a program call JGrasp and windows xp I have changed the environment variables in my computer to add in CLASSPATH and point it to my classes, as far as I am aware the variables in JGrasp are set up the same. Just to let you know I am not a newbie at this, but its driving me up the wall it should work and it doesn't. Is there anything else you can think of.
If its ClassNotFoundException, then its definitely a CLASSPATH issue.
I've never used JGrasp, but if you are a newbie, I would recommend using a simple text editor such as vi/emacs/notepad/textpad and the command line javac.exe compiler until you are happy with basic java compilation and execution.
Got it sorted, the classpath was right but I was putting package at the start of every new java file that was part of my project, but no where does it say that the folder you place the files in has to be the same as the package name..... never mind its working now so thanks for your help. Check out my other post I need some major help on this one.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.