Results 1 to 5 of 5

Thread: Windows Installer Asking For JRE

  1. #1

    Default Windows Installer Asking For JRE

    Hi,

    I have tried to install STS 2.9.2spring-tool-suite-3.0.0.RELEASE-e4.2-win32-x86_64-installer.exe and springsource-tool-suite-2.9.2.RELEASE-e3.7.2-win32-x86_64-installer.exe. But everytime I am getting the message "This application requires a Java Runtime Environment 1.5.0". My working environment:

    1) OS - Windows 7 Home Premium (64 bit)
    2) JDK - 1.7 (64-bit) java-version.jpg
    3) JAVA_HOME = C:\Program Files\Java\jdk1.7.0_05

    I had JDK 1.6 but removed for installation purpose and it is removed from registry as well. So, only one version now.

    Can any one help to resolve this issue?

    Thanks.

  2. #2
    Join Date
    Sep 2008
    Location
    Hamburg, Germany
    Posts
    1,640

    Default

    Hey!

    That sounds like a bug in the installer check for the JDK, but I am not able to reproduce it on my Windows 7 machine. Therefore it is hard to analyze and give an exact answer. Does this message appear right when starting the installer? Maybe you haven't installed a JRE or that JRE is not included in your PATH environment variable?

    As a workaround you could download the zipped version of STS, extract that ZIP file and use that installation. If you would like to use a specific JDK to run STS in that case, you would need to add a "-vm <path-to-javaw.exe>" in your STS.ini, but usually it works without that.

    HTH,
    Martin
    Martin Lippert
    SpringSource, a division of VMware
    SpringSource Tools Team
    http://www.springsource.com
    http://twitter.com/martinlippert

  3. #3

    Default

    Hi Martin,

    Thanks a lot for your advice. I had jdk installed and PATH set to jdk. Now I installed jre and PATH set to jre\bin. And the installer started without asking "This application requires a Java Runtime Environment 1.5.0".

    Regards,
    -Zia

  4. #4
    Join Date
    May 2010
    Posts
    398

    Default

    Just a word of warning, some of the the tools (.e.g m2e support, Groovy/Grails and possibly others) in STS require a JDK and will not be fully functional with just a JRE.
    Kris De Volder -- SpringSource

  5. #5
    Join Date
    Sep 2008
    Location
    Hamburg, Germany
    Posts
    1,640

    Default

    Hey!

    Just an additional note: The installer itself seems to require a JRE installed to run, STS/GGTS then needs a JDK to run with (for the reasons Kris mentioned above).

    Cheers,
    -Martin
    Martin Lippert
    SpringSource, a division of VMware
    SpringSource Tools Team
    http://www.springsource.com
    http://twitter.com/martinlippert

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •