facebook

MyEclipse JDK vs JRE

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

    loester
    Member

    This is a question about Eclipse 5.1 All in One package.

    To configure the JBOSS application server in MyEclipse, I selected the already available “MyEclipse Enterprise Workbench 5.1.0 GA” entry as the “JBoss JDK name”.

    In “Installed JREs”, “MyEclipse Enterprise Workbench 5.1.0 GA” refers to the location “C:\Program Files\MyEclipse Enterprise Workbench 5.1.0 GA”.

    However, “C:\Program Files\MyEclipse Enterprise Workbench 5.1.0 GA” does not contain any file called “javac.exe”, so why is “C:\Program Files\MyEclipse Enterprise Workbench 5.1.0 GA” accepted as a valid JDK?

    #266418 Reply

    Riyad Kalla
    Member

    That is a bug with the handling of the default JRE (It accepts it as a JDK, and shouldn’t). You should actually click “Add” and configure a JDK manually (what we ship to run MyEclipse is the JRE, not JDK). Sorry about that confusion.

    #266489 Reply

    loester
    Member

    Thanks for your clarification.

    But could you explain why JBoss 4.0.5 runs my jsp pages with “MyEclipse Enterprise Workbench 5.1.0 GA” set as JDK without any problems? (running jsp’s requires javac.exe if I’m correct; also note that I don’t have any “JAVA_HOME” envirmonmental variable set on my computer)

    #266499 Reply

    Scott Anderson
    Participant

    It’s likely finding another full JDK on your machine, likely on your PATH or through an environment variable.

    #266508 Reply

    Riyad Kalla
    Member

    loester,
    Starting with Tomcat 5.5, the Tomcat team added the Eclipse JDT’s java compiler directly into Tomcat, so it’s possible to run Tomcat without a JDK and still have it compile the JSPs. I believe by default the servlet container in JBoss *is* Tomcat, which is why that may be working. Just a guess.

Viewing 5 posts - 1 through 5 (of 5 total)
Reply To: MyEclipse JDK vs JRE

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