Uploaded image for project: 'IGB'
  1. IGB
  2. IGBF-3456

Update Install4J installer for JDK8

    Details

    • Type: Task
    • Status: To-Do (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
      None

      Description

      Situation: Users have reported freezing during the IGB installation process (see IGBF-3429). As we are unsure of why the freezing is taking place, we will try to update the Install4J installer to see if that resolves the issue.

      Task: Update the Install4J installer to the newest version for IGB.

        Attachments

          Issue Links

            Activity

            Show
            karthik Karthik Raveendran added a comment - Create new JRE bundle for Windows installer
            Hide
            nfreese Nowlan Freese added a comment - - edited

            Tested newest version of Azul Zulu (zulu8.72.0.17-ca-fx-jdk8.0.382-macosx_x64) on Mac X86 64 bit - IGB working correctly.

            Downloaded newest version of Install4j on Mac - install4j_macos_10_0_6.dmg

            Show
            nfreese Nowlan Freese added a comment - - edited Tested newest version of Azul Zulu (zulu8.72.0.17-ca-fx-jdk8.0.382-macosx_x64) on Mac X86 64 bit - IGB working correctly. Downloaded newest version of Install4j on Mac - install4j_macos_10_0_6.dmg
            Hide
            nfreese Nowlan Freese added a comment - - edited

            Using Install4J10 to create JRE bundles.
            I was able to create what looks like the bundles for Mac/Windows/Linux. On my file system (on Mac) they were located in:

            /Users/lorainelab/Library/Caches/install4j/v10/cached_jres/generated/

            or

            /System/Volumes/Data/Users/lorainelab/Library/Caches/install4j/v10/cached_jres/generated/

            I'm not sure what the difference between the two locations is, the files appeared to be the same.

            In order for this to work in Install4J10 I had to go to Media > double click on the platform (Windows/Unix/Mac) > Bundled JRE > and then set it to Generate a JRE bundle. When I build the installer, the JRE I had selected under General Settings > JRE Bundles (Zulu 8/8u382) was downloaded for the specific platform.

            Next step - work on docker

            Show
            nfreese Nowlan Freese added a comment - - edited Using Install4J10 to create JRE bundles. I was able to create what looks like the bundles for Mac/Windows/Linux. On my file system (on Mac) they were located in: /Users/lorainelab/Library/Caches/install4j/v10/cached_jres/generated/ or /System/Volumes/Data/Users/lorainelab/Library/Caches/install4j/v10/cached_jres/generated/ I'm not sure what the difference between the two locations is, the files appeared to be the same. In order for this to work in Install4J10 I had to go to Media > double click on the platform (Windows/Unix/Mac) > Bundled JRE > and then set it to Generate a JRE bundle. When I build the installer, the JRE I had selected under General Settings > JRE Bundles (Zulu 8/8u382) was downloaded for the specific platform. Next step - work on docker
            Hide
            nfreese Nowlan Freese added a comment -

            Note: There is an option under Media > Windows > Installer options where you can specify the architecture. Right now we are using 64-bit x86 executables, but there is also an option for arm64 executables. The arm64 executable should be able to run on ARM Windows laptops such as the Surface Pro.

            Show
            nfreese Nowlan Freese added a comment - Note: There is an option under Media > Windows > Installer options where you can specify the architecture. Right now we are using 64-bit x86 executables, but there is also an option for arm64 executables. The arm64 executable should be able to run on ARM Windows laptops such as the Surface Pro.
            Hide
            ann.loraine Ann Loraine added a comment -

            Added Nowlan Freese's user to https://bitbucket.org/lorainelab/jre-bundles-install4j with "write" permission, which lets you upload new JRE bundles to the "Downloads" part of the repository.
            attn: Nowlan Freese

            Show
            ann.loraine Ann Loraine added a comment - Added Nowlan Freese 's user to https://bitbucket.org/lorainelab/jre-bundles-install4j with "write" permission, which lets you upload new JRE bundles to the "Downloads" part of the repository. attn: Nowlan Freese
            Hide
            nfreese Nowlan Freese added a comment - - edited

            Working on modifying the install4j image to use version 10. I was able to build the installers on my local machine using the install4j v 9 image for the IGB main-JDK8 branch.

            UPDATE:
            Testing the installers created using install4j version 10 (using the install4J gui, not Docker). The installer builds and runs, but when I go to start IGB the splash screen appears then disappears and nothing happens. However, I can start the jar that is created without issue. Unclear what the issue is. The same thing happened whether I let install4j download the JRE or if I generated the JRE myself.

            2nd UPDATE:
            The above issue occurs when using the Zulu 8 JDK version 382 or 372. Version 362 works correctly and IGB starts up after being installed. Unsure of why this issue is occurring, but for the time being will use version 362 as the bundled JRE included with IGB. The previous version included was 332.

            3rd UPDATE:
            There is an issue with the current docker image when attempting to run apt-get update. This causes building a new version of the image to fail. This post on StackExchange discusses the issue further. Adding the below line to the dockerfile appears to fix the issue:

            echo "deb http://archive.debian.org/debian stretch main contrib non-free" > /etc/apt/sources.list
            
            Show
            nfreese Nowlan Freese added a comment - - edited Working on modifying the install4j image to use version 10. I was able to build the installers on my local machine using the install4j v 9 image for the IGB main-JDK8 branch. UPDATE: Testing the installers created using install4j version 10 (using the install4J gui, not Docker). The installer builds and runs, but when I go to start IGB the splash screen appears then disappears and nothing happens. However, I can start the jar that is created without issue. Unclear what the issue is. The same thing happened whether I let install4j download the JRE or if I generated the JRE myself. 2nd UPDATE: The above issue occurs when using the Zulu 8 JDK version 382 or 372. Version 362 works correctly and IGB starts up after being installed. Unsure of why this issue is occurring, but for the time being will use version 362 as the bundled JRE included with IGB. The previous version included was 332. 3rd UPDATE: There is an issue with the current docker image when attempting to run apt-get update. This causes building a new version of the image to fail. This post on StackExchange discusses the issue further. Adding the below line to the dockerfile appears to fix the issue: echo "deb http: //archive.debian.org/debian stretch main contrib non-free" > /etc/apt/sources.list

              People

              • Assignee:
                nfreese Nowlan Freese
                Reporter:
                nfreese Nowlan Freese
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated: