facebook

Problems compiling from JSP with Tomcat

  1. MyEclipse IDE
  2.  > 
  3. General Development

Tagged: 

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #196617 Reply

    mguerin
    Member

    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?

    #196618 Reply

    Scott Anderson
    Participant

    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

    #196626 Reply

    mguerin
    Member

    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

    #196629 Reply

    Scott Anderson
    Participant

    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

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: Problems compiling from JSP with Tomcat

This topic is marked as closed to new replies, however your posting capabilities still allow you to do so.

You must be logged in to post in the forum log in