#854 Installer dose not make sure a JRE is available (Windows 7)

3.1
closed-fixed
Installer (22)
5
2010-06-12
2010-04-04
No

The installer really should ask for the JRE to use. I have run it it Windows 7 as admin, installation went fine, but squirrel-sql.bat simply exits. It turned out that JAVA_HOME is not set, At least default it to the runtime that is used by the installer.

Discussion

  • Rob Manning

    Rob Manning - 2010-04-24
    • status: open --> open-fixed
     
  • Rob Manning

    Rob Manning - 2010-04-24

    Fixed in SVN (rev. 5585)

    We now prefer the JRE that was used to launcher the IzPack installer, and if that is not available, we choose whatever javaw.exe happens to be in the PATH. Using JAVA_HOME is now difficult since the installer wants to replace %JAVA_HOME with it's JRE path; and so referencing %JAVA_HOME% in the script is bad because it get's partially replaced during the installation filtering. That isn't a terrible loss given that in some cases people have complained about this being set (for whatever reason) to an older or incompatible version of Java.

    Rob

     
  • Rob Manning

    Rob Manning - 2010-06-12
    • status: open-fixed --> closed-fixed
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks