File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Tomcat and the fly likes classpath problem!! HELP !!! Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "classpath problem!! HELP !!!" Watch "classpath problem!! HELP !!!" New topic

classpath problem!! HELP !!!

Himanshu Bisht
Ranch Hand

Joined: Aug 27, 2004
Posts: 96
Hi this is the strange problem but i could not understand this.

I run javamail and tomcat togeather but my they both are taking different JAVA_HOME path

javamail takes

tomcat takes this path

Kindly suggest where i am wrong.
Shankar Narayana
Ranch Hand

Joined: Jan 08, 2003
Posts: 134
Check if both of them are referring to JAVA_HOME environmental variable or looking into there properties file.

"Failure is not when you fall down; its only when you fail to get up again."
Mark Spritzler

Joined: Feb 05, 2001
Posts: 17276

Moving this to the Apache/Tomcat forum. This forum is for Servlets questions. Thanks


Perfect World Programming, LLC - iOS Apps
How to Ask Questions the Smart Way FAQ
William Brogden
Author and all-around good cowpoke

Joined: Mar 22, 2000
Posts: 13036
What java mail are you running? I have James 2.1.3 running and it takes JAVA_HOME in the same format as Tomcat.
I agree. Here's the link:
subject: classpath problem!! HELP !!!
It's not a secret anymore!