Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-14565

jdk warning for servers are a bit fuzzy

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 4.1.0.Beta2
    • None
    • server

    Description

      Using a default eclipse install, pointing to a default EAP 6.1 (and probably any other server) it chooses:

      "Default JRE for JavaSE-1.6" as its JRE.

      Even though I have an Java SE installed as the default runtime for this JRE.

      Then the wizard tells me:

      "This runtime type requries a JDK for launching a server. We cannot guarantee the default virtual machine for this execution environment is a JDK".

      and its cut off in the middle of the last line.

      A) why not choose the JDK execution environment when one is there ?

      B) since the execution environment actually points to a JDK the warning is not correct

      C) The text is hard to grok.

      • the title says server but text says runtime
      • the warning shows up for the default behavior
      • use "a server" when it is a specific one

      suggestion for simplification:

      "The server runtime requires a JDK to launch. 'Default JRE for JavaSE-1.6' does not look like a JDK"

      ...actually - this is just as horrible.

      If we cannot detect the various execution environments are a JDK reliably we shouldn't warn at this time. It is confusing.

      How come Java 7 execution environment is detectable as a JDK but the Default JRE is not ?

      Attachments

        Issue Links

          Activity

            People

              rob.stryker Rob Stryker (Inactive)
              manderse@redhat.com Max Andersen
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: