facebook

Tomcat 5: Invalid Tomcat JDK Name [Closed]

  1. MyEclipse Archived
  2.  > 
  3. Bugs
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #227394 Reply

    mrinal_kanti
    Member

    Hi,

    Tomcat 5 launcher does not work if you specify the location of a Java Runtime while configuring “Installed JRE”. How ever it works fine if you specify the installed Java home while configuring “Installed JRE”.

    Note that in many environments, like mine the installed Java home (D:\jdk1.5.0_02) is different than the installed JRE home (C:\Program Files\Java\jre1.5.0_02) . In that case, if eclipse is configured to use the JRE location, the Tomcat launcher fails.

    Regards,
    Mrinal

    #227440 Reply

    Riyad Kalla
    Member

    This is not a bug, a JDK is required to run any of the app servers (Except Tomcat 5.5) because they require the tools.jar file for the Java compiler in order to compile your JSPs.

    #227479 Reply

    mrinal_kanti
    Member

    If that be the case, then MyEclipse should not read the JDK from the list of Installed JREs. Rather it should allow the user to enter the location of a JDK to launch the app server. Otherwise it should be clearly mentioned that a JDK installation (not just JRE) is required to configure the app servers.

    Note that configuring of Insalled JRE does not require a jdk istallation. Only a JRE is sufficient. But nowhere it is mentioned that MyEclipse requires a JDK. Please add a footnote somewhere near the select box. I have wasted almost a day figuring it out.

    #227492 Reply

    Riyad Kalla
    Member

    If that be the case, then MyEclipse should not read the JDK from the list of Installed JREs. Rather it should allow the user to enter the location of a JDK to launch the app server. Otherwise it should be clearly mentioned that a JDK installation (not just JRE) is required to configure the app servers.

    You are absolutely right, the reason we haven’t done this yet is because this is all getting ripped out and replaced with our 5.0 release in late August. So we had a long list of improvements for the current model, but it is clearly lacking and will improved quite a bit down the road. So we are simply suffering with it for another few releases. Sorry for the inconvenience.

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: Tomcat 5: Invalid Tomcat JDK Name [Closed]

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