facebook

Upgraded JDK, now can’t deploy to Tomcat [Closed]

  1. MyEclipse IDE
  2.  > 
  3. Installation, Configuration & Updates
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #233960 Reply

    Yesterday I was running with the following configuration:
    OS: Windows XP SP2
    Eclipse Version: 3.1.0
    Build id: I20050627-1435
    JDK 1.5.0_02
    Tomcat 5.5.9
    Eclipse 3.1 was freshly installed for MyEclipse, no other external plugins are installed – 0 plugins in the <eclipse>/plugins directory are like org.eclipse.pde.*

    Today I installed JDK 1.5.0_04. I updated all my environment variables. Tomcat runs external to ME with the apps deployed yesterday. I updated Windows/Preferences/Java/Installed JREs, as well as Windows/Preferences/MyEclipse/AppSrvrs/Tomcat5/JDK. When I try to run Tomcat from ME, I get this in the log:

    !SESSION 2005-07-29 16:26:35.78 ————————————————
    eclipse.buildId=I20050627-1435
    java.version=1.5.0_04
    java.vendor=Sun Microsystems Inc.
    BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
    Command-line arguments: -os win32 -ws win32 -arch x86

    !ENTRY com.genuitec.eclipse.easie.tomcat5 1 0 2005-07-29 16:27:03.328
    !MESSAGE Error starting Tomcat: Tomcat JDK name

    Am I missing some configuration parameter?

    #233965

    Scott Anderson
    Participant

    When you updated the JDK in Eclipse, you likely pointed Eclipse to the ‘jre’ subdirectory, rather than at the JDK’s installation directory. You’ll need to add a full JDK, not a jre, and point Eclipse to the JDK install dir, not <install-dir>\jre. Full details on this error are in our Working with Web Projects quickstart in the Documentation section here: http://www.myeclipseide.com/images/tutorials/quickstarts/webprojects/

    #233968

    d’oh! It’s not like I haven’t made that mistake before. Thanks for the quick reply.

Viewing 3 posts - 1 through 3 (of 3 total)
Reply To: Upgraded JDK, now can’t deploy to Tomcat [Closed]

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