facebook

[Closed] Tomcat java version issue

  1. MyEclipse Archived
  2.  > 
  3. Application Servers and Deployment
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #251311 Reply

    Michaelcford
    Member

    I think it may be a classpath issue, don’t know.
    I can’t start tomcat from the MyEclipse IDE, I get the following message.

    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.
    —-
    I checked my version java -version it’s 1.5.0_06

    positive it’s a simple problem I just don’t see it.
    I can start tomcat as a service but not from inside the IDE, deployment works fine, but you can’t really debug as the documentation states.
    Sorry for the overkill of info below.

    first time note in this forum

    Running Windows XP
    Apache Tomcat 5.5.4 Server
    ECLIPSE 3.1.0
    MyEclipse 4.0.0
    ———
    *** Date: Fri Apr 28 09:18:02 PDT 2006

    *** Platform Details:

    *** System properties:
    awt.toolkit=sun.awt.windows.WToolkit
    eclipse.application=org.eclipse.ui.ide.workbench
    eclipse.buildId=I20050627-1435
    eclipse.commands=-os
    win32
    -ws
    win32
    -arch
    x86
    -launcher
    C:\eclipse\eclipse.exe
    -name
    Eclipse
    -showsplash
    600
    -exitdata
    190_48
    -vm
    C:\WINDOWS\system32\javaw.exe
    eclipse.product=org.eclipse.sdk.ide
    eclipse.startTime=1146076794479
    eclipse.vm=C:\WINDOWS\system32\javaw.exe
    eclipse.vmargs=-Duser.language=en
    -Xmx512M
    -Dosgi.splashLocation=C:\Program Files\MyEclipse\eclipse\MyEclipseSplash.bmp
    -jar
    C:\eclipse\startup.jar
    eof=eof
    file.encoding=Cp1252
    file.encoding.pkg=sun.io
    file.separator=\
    java.awt.graphicsenv=sun.awt.Win32GraphicsEnvironment
    java.awt.printerjob=sun.awt.windows.WPrinterJob
    java.class.path=C:\eclipse\startup.jar
    java.class.version=49.0
    java.endorsed.dirs=C:\Program Files\Java\jre1.5.0_06\lib\endorsed
    java.ext.dirs=C:\Program Files\Java\jre1.5.0_06\lib\ext
    java.home=C:\Program Files\Java\jre1.5.0_06
    java.io.tmpdir=C:\DOCUME~1\MICHAE~1\LOCALS~1\Temp\

    java.runtime.name=Java(TM) 2 Runtime Environment, Standard Edition
    java.runtime.version=1.5.0_06-b05
    java.specification.name=Java Platform API Specification
    java.specification.vendor=Sun Microsystems Inc.
    java.specification.version=1.5
    java.vendor=Sun Microsystems Inc.
    java.vendor.url=http://java.sun.com/
    java.vendor.url.bug=http://java.sun.com/cgi-bin/bugreport.cgi
    java.version=1.5.0_06
    java.vm.info=mixed mode
    java.vm.name=Java HotSpot(TM) Client VM
    java.vm.specification.name=Java Virtual Machine Specification
    java.vm.specification.vendor=Sun Microsystems Inc.
    java.vm.specification.version=1.0
    java.vm.vendor=Sun Microsystems Inc.
    java.vm.version=1.5.0_06-b05
    jnw.lic.type=Runtime
    line.separator=

    org.eclipse.jdt.debug.ui.scrapbookActive=false
    org.osgi.framework.bootdelegation=*
    org.osgi.framework.executionenvironment=J2SE-1.5
    org.osgi.framework.language=en
    org.osgi.framework.os.name=WindowsXP
    org.osgi.framework.os.version=5.1
    org.osgi.framework.processor=x86
    <SNIP>

    #251317 Reply

    Riyad Kalla
    Member

    Go to your Tomcat 5 connectors settings in MyEclipse, go to the JDK tab and just make sure that you have configured AND setup your Java 5 JDK (not JRE) to run Tomcat 5 with. Then you should stop getting that error.

    #251338 Reply

    Michaelcford
    Member

    Thanks that was the case.

Viewing 3 posts - 1 through 3 (of 3 total)
Reply To: [Closed] Tomcat java version issue

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