- This topic has 4 replies, 4 voices, and was last updated 17 years, 10 months ago by Stephen McConnell.
-
AuthorPosts
-
KarstenMemberDear support team,
I have read most of the tomcat 5.5 topics but no one has solved my problem:
I just use the following configuration
MyEclipse 3.8.4 on basis of Eclipse 3.1 M6
JDK 1.5
Tomcat 5.5If I try to start tomcat by using the IDE icon > Tomcat 5 > Start, then a popup comes up with title “Error startin tomcat” and context “A configuration error occured during startup. Please verify the preference field with the prompt: Tomcat JDK name.”
It seems that there is a problem in using JDK 1.5. If I set a JDK 1.4.8, then a message in the console will be displayed by tomcat:
“This release of Apache Tomcat was packaged to run on J2SE 5.0
or later. It can be run on earlier JVMs by downloading and
installing a compatibility package from the Apache Tomcat
binary download page.”So it seems that tomcat was started this time but with the wrong JDK.
So how can I make my 5.5 running under myeclipse controll?
Thanks in advance
Karsten
Scott AndersonParticipantKarsten,
The issue is likely that when you configured your Java 1.5 environment you either installed only a JRE, and not a full JDK, or when you configured the location you pointed to <jdk-install>\jre\bin instead of <jdk-install>\bin. We have more details on setting up JDK’s for use with servers in our Application Server Quickstart (including this specific error message) here: http://www.myeclipseide.com/images/tutorials/quickstarts/appservers/
srohanraoMemberThe tomcat JDK settings might be pointing to the JRE directory instead of JDK installation directory.
Go to the location windows –> Preferences –> Application Severs –> Tomcat –> JDK and point to JDK installation directory. More detials in this page http://myeclipseide.com/enterpriseworkbench/help/index.jsp?topic=/com.genuitec.myeclipse.doc/html/quickstarts/appservers/index.html
Stephen McConnellMemberI am using MyEclipse IDE 5.1 and receiving the same problem.
I have ONLY the Java 1.5.10 JDK installed. I re-installed Tomcat 5.5 and pointed it to the correct JRE upon installation.There is no
windows –> Preferences –> MyEclipe –> Tomcat 5 –> JDK prompt to point to any JDK directory in the dialog box….
What should I do now???
Thanks in advance.
Stephen McConnellMemberNever mind…. Found the answer to my own question…….
There was no prompt in the dialog Box configuring Tomcat 5…. It was a submenu of the Tomcat 5 Application server configuration tree.
Sorry and thanks
-
AuthorPosts