• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

class not found error, how to fix it

 
david hu
Ranch Hand
Posts: 143
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 8521
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic