Skip to main content



      Home
Home » Language IDEs » ServerTools (WTP) » Eclipse Tomcat problem
Eclipse Tomcat problem [message #161705] Wed, 22 February 2006 19:45 Go to next message
Eclipse UserFriend
Originally posted by: davethecoder666.hotmail.com

Hello all.. I am a begginer at "web apps" .. I have tomcat installed on my
local machine, I am able to start the server from eclipse and browse html
files with my web browser located in the appropriate dir...
(ie pointing my browser to http://localhost:8080 bla bla...)
But when trying to open a jsp (servlet) in same said dir. I get stack
traces mainly
informing me that "perhaps" JAVA_HOME is not pointing to my java sdk dir
in winxp... which it is..! I understand that these jsp's (servlets) hey
rookie here) have to be compiled on the fly so the location of the javac
is needed... I am getting to the point of pulling some hair out here..
Any thoughts suggestions advice ect... would be much appreciated!
thx in advance regards Dave Moore
Re: Eclipse Tomcat problem [message #161785 is a reply to message #161705] Thu, 23 February 2006 14:16 Go to previous message
Eclipse UserFriend
Originally posted by: a.b.com

I have seen this - it happened because I only had the JRE installed, on a
machine I inherited at a new customer site. Even if you have the SDK,
perhaps you have a JRE and the SDK installed and your WTP cannot see the
SDK.

Go to Settings-->Control panel-->System-->Advanced-->Environment variables,
and in the System Variables window set JAVA_HOME to the folder where your
SDK is installed (omit the \bin suffix here)

Make your WTP Tomcat instance point to it as well, to avoid Java level
mismatches. To change this, open the server by double-clicking it in the
Eclipse servers view, then on the Server Overview page click Edit on the
Runtime line. Then press Installed JREs and make sure your SDK is defined,
then select it.
Previous Topic:Classpath Compile problem
Next Topic:Update from within wtp-all-in-one-sdk-1.0-linux-gtk effects only emf
Goto Forum:
  


Current Time: Tue Apr 15 06:01:22 EDT 2025

Powered by FUDForum. Page generated in 0.02721 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top