- This topic has 4 replies, 4 voices, and was last updated 15 years, 3 months ago by
support-joy.
-
AuthorPosts
-
JC WoutersParticipantHi support,
Been researching for hours now on this issue and have searched the MyEclipse forums, but found nothing relating to my issue.
I recently needed to upgrade to Java 1.6. Problem lied in updating Tomcat’s JVM within MyEclipse to Java 1.6.
When I ran Tomcat outside of MyEclipse (using Configuration Manager) I was able to change the JVM to Java 1.6. This worked fine and the manager reported the JVM being 1.6.
In MyEclipse IDE I changed the installed JRE to 1.6. (Window > Preferences > Java > Installed JREs. It now points to “C:\Program Files\Java\jdk1.6.0_02”.
When I ran Tomcat through MyEclipse, I then went to the Tomcat manager (locahost:8080/manager/html) and it reported it was using Java 1.5’s JVM, not 1.6.
I then decided to delete all other Installed JREs from MyEclipse and now Tomcat is not working at all. When I run Tomcat I get this error:
A configuration error occurred during startup. Please verify the preference field with the prompt: Tomcat JDK name
I then get a link of “Show preference page” which takes me to the following screenshot:
I do not see anything wrong here with my Tomcat setup.
Additional info:
Apache Tomcat version 5.5
MyEclipse Version: 7.1.1 – Build id: 7.1.1-20090310
Java 1.6.0 Update 02I would appreciate any advice or help with this, as I am completely stuck.
Thanks in advance.
JC
January 8, 2010 at 4:06 am #305201
JC WoutersParticipantOk I found out the issue.
Had to go to Window > Prefs > MyEclipse Enterprise Workbench > Servers > Tomcat > Tomcat 5.x > JDK and choose my JDK, which I set to 1.6 and all works fine now.
Silly mistake, sorry about that.January 11, 2010 at 2:54 am #305241
support-shaliniMemberjcwouters,
Good to know that you are all set.
do let us know if you have any issues.April 18, 2010 at 11:28 pm #307742
jouliMemberI read your post and totally agree with you.Its nice sharing.I also needed to upgrade to Java 1.6. Problem lied in updating Tomcat’s JVM within MyEclipse to Java 1.6. web sites are source of information and this is one of them I book mark it and mail all of my friends to must check it.
April 19, 2010 at 2:34 am #307756
support-joyMemberjouli,
Good to hear you are all set.
Best.
-
AuthorPosts