Post new topic   Reply to topic
Author Message
mguerin
Registered Member
Registered Member


Joined: Jun 19, 2003
Posts: 4

Hi,
I am having a problem getting the .java files generated from my jsp pages to compile when I run tomcat (any version) from myEclipse ide. When I start Tomcat via its own batch file it seems to work fine. The error seems to be that it cannot find javac. Has anyone else had a similar problem?
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
support-scott
Moderator
Moderator


Joined: May 06, 2003
Posts: 6761

The problem is that you've most likely configured Tomcat to use a JRE instead of a full JDK. Check the JDK configuration page for the Tomat Connector and ensure that you're pointing to the top level of a full JDK installation, and not to the jre subdirectory within it.

--Scott
MyEclipse Support

_________________
--Scott
MyEclipse Support
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
mguerin
Registered Member
Registered Member


Joined: Jun 19, 2003
Posts: 4

Scott,

Thanks for getting back to me so quickly. I checked my settings and I was pointing to a JDK but for some reason I was getting the JRE runtime libs rather than the jar files I needed. I have had a similar problem with the ANT plugin. I solved both problems by adding lib\tools.jar to my CLASSPATH. This is all new to me and I'm sorry if I wasted your time with it. Now that I have had a taste of jsp debugging I will be signing up for membership. Keep up the excellent work.
Mark
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
support-scott
Moderator
Moderator


Joined: May 06, 2003
Posts: 6761

Mark,

You're not wasting my time in any way. We already have several thousand people that have either subscribed or are trying out our product. If you had this question, I'm sure others do too. Hopefully, others will benefit from what you found out.

--Scott
MyEclipse Support

_________________
--Scott
MyEclipse Support
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
All times are GMT - 6 Hours
Post new topic   Reply to topic
® 2014 - Genuitec, LLC.