Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Problem running Struts project from eclipse

 
Robin Sharma
Ranch Hand
Posts: 76
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi!

I created a simple Tomcat project in eclipse(Using the eclipse tomcat plug-in) and created two simple jsps.
When i started the server and tried to run the app. i got an error that the jsp cannot be compiled. The eclipse console showed the following error:

Unable to find a javac compiler;
com.sun.tools.javac.Main is not on the classpath.
Perhaps JAVA_HOME does not point to the JDK

Now, all such required paths are properly set. I double checked on it.

Why then is this problem there?

Any help would be appreciated.

Thanks.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic