As a Mac user I should have a better experience using the installer (MGNLEE-334)

[MGNLEE-324] Fix default JRE selection of installer Created: 05/Sep/13  Updated: 10/Mar/17  Resolved: 16/Jul/15

Status: Closed
Project: Magnolia DX Core
Component/s: installer
Affects Version/s: None
Fix Version/s: None

Type: Sub-task Priority: Critical
Reporter: Philip Mundt Assignee: Philip Mundt
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
relation
is related to MGNLEE-335 Installer DMG needs to be signed with... Closed
Template:
Date of First Response:

 Description   

Description:

  • wrong? default path
    • /Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home
    • get correct path
    • Path corresponds to whatever was used to start the app
      • In Mac OS X (default: Applet)
      • Might be correct, except for VERSION
    • Check if Philip's Java Applet is working as he hasn't got 1.7 installed?
    • JAVA_HOME will be used as default, if it is set in ENV
      • Then whatever launched the app (installer)
  • bin/setenv.sh
    • JAVA_HOME set to wrong location
  • Is the default okay?
    • It might be Java OS X 1.7 (which would not work)
    • Required Java 1.6
    • Mac OS X: /usr/libexec/java_home -V
  • We're using a patched version of izpack:

TODO:

  • Drop JDK/JRE-PathPanel
  • Add VersionCheckPanel that checks min./max. if set
  • Extra check for Mac OS X whether Java 1.6 is used (required)
  • If nothing matches, installer can't progress
  • Just use the default path, which also ran the installer
    • and remove JAVA_HOME set from setenv.sh/.bat
      replace $JdkPath lines with
      Configure a custom JAVA_HOME here if needed
      export JAVA_HOME="..."


 Comments   
Comment by Magnolia International [ 26/Sep/13 ]

Just randomly stumbled upon the config of the osxappbundle plugin where we set {{ <jvmVersion>1.5+</jvmVersion>}} .. perhaps setting it to 1.6 (without the +, since 1.7 breaks Magnolia on Mac) would help ?

Generated at Mon Feb 12 05:28:50 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.