wood burning stoves*
The moose likes Beginning Java and the fly likes class not found error, how to fix it Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "class not found error, how to fix it" Watch "class not found error, how to fix it" New topic
Author

class not found error, how to fix it

david hu
Ranch Hand

Joined: Jul 20, 2001
Posts: 143
Hi,
I installed the "java plug-in" on my servlet server. After that some part of my servlet cannot work. The server said that the class javax.mail.Address cannot found. But before I installed the java plug-in, there's no this error. I think that's java plug-in causes this problem.
Before I installed java plug-in I put all serverlet, javamail, and other relevant class in c:\jdk1.3\jre\lib\ext, so I don't need to set CLASSPATH environment variable. Can anyone told me how to fix this "class not found problem"?
David
Cindy Glass
"The Hood"
Sheriff

Joined: Sep 29, 2000
Posts: 8521
Well, to hazard a guess, I would say that you probably had java installed and a Java_Home parameter set up pointing at that version of Java. In that directory structure you put the extentions that you wanted to use.
Then when you installed the JavaPlug in ANOTHER JRE was downloaded, and the Java_Home parameter changed to point at that. However I would venture that the \ext directory of the new JRE is empty.
Either move the stuff over to the new \ext directory, change the Java_Home parameter back, or add a classpath parameter.


"JavaRanch, where the deer and the Certified play" - David O'Meara
 
Consider Paul's rocket mass heater.
 
subject: class not found error, how to fix it
 
Similar Threads
Problem while Deploy web service
Java Plugin registry error
class not found error in my servlet program
How to run Swings in IE5.5
Servlet in Websphere v5.0