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

Create JDK 11 bundle for Windows to build IGB using JDK 11

    Details

    • Type: Task
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
      None

      Description

      We use Bitbucket pipelines to build IGB installers for testing and release.
      Bitbucket pipelines requires a Docker image provisioned with the build environment, including the Java JDK.
      For this task, create JDK 11 bundle for Windows to build IGB.

        Attachments

          Issue Links

            Activity

            Hide
            nfreese Nowlan Freese added a comment -

            This ticket has three parts which may need to be split into three separate tickets:
            Linux
            Mac
            Windows

            Show
            nfreese Nowlan Freese added a comment - This ticket has three parts which may need to be split into three separate tickets: Linux Mac Windows
            Hide
            karthik Karthik Raveendran added a comment -

            After running the install4j and creating the installer, running the installer caused an error. Errors were expected as I used IGBF-3275 branch to run the install4j. But the error in this case is not similar to the errors in development version.

            java.lang.UnsupportedClassVersionError: com/affymetrix/main/Main has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0
            	at java.lang.ClassLoader.defineClass1(Native Method)
            	at java.lang.ClassLoader.defineClass(ClassLoader.java:757)
            	at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
            	at java.net.URLClassLoader.defineClass(URLClassLoader.java:473)
            	at java.net.URLClassLoader.access$100(URLClassLoader.java:74)
            	at java.net.URLClassLoader$1.run(URLClassLoader.java:369)
            	at java.net.URLClassLoader$1.run(URLClassLoader.java:363)
            	at java.security.AccessController.doPrivileged(Native Method)
            	at java.net.URLClassLoader.findClass(URLClassLoader.java:362)
            	at java.lang.ClassLoader.loadClass(ClassLoader.java:419)
            	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:352)
            	at java.lang.ClassLoader.loadClass(ClassLoader.java:352)
            	at com.exe4j.runtime.LauncherEngine.launch(LauncherEngine.java:80)
            	at com.exe4j.runtime.WinLauncher.main(WinLauncher.java:94)
            	at com.install4j.runtime.launcher.WinLauncher.main(WinLauncher.java:25)
            
            Show
            karthik Karthik Raveendran added a comment - After running the install4j and creating the installer, running the installer caused an error. Errors were expected as I used IGBF-3275 branch to run the install4j. But the error in this case is not similar to the errors in development version. java.lang.UnsupportedClassVersionError: com/affymetrix/main/Main has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0 at java.lang. ClassLoader .defineClass1(Native Method) at java.lang. ClassLoader .defineClass( ClassLoader .java:757) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142) at java.net.URLClassLoader.defineClass(URLClassLoader.java:473) at java.net.URLClassLoader.access$100(URLClassLoader.java:74) at java.net.URLClassLoader$1.run(URLClassLoader.java:369) at java.net.URLClassLoader$1.run(URLClassLoader.java:363) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:362) at java.lang. ClassLoader .loadClass( ClassLoader .java:419) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:352) at java.lang. ClassLoader .loadClass( ClassLoader .java:352) at com.exe4j.runtime.LauncherEngine.launch(LauncherEngine.java:80) at com.exe4j.runtime.WinLauncher.main(WinLauncher.java:94) at com.install4j.runtime.launcher.WinLauncher.main(WinLauncher.java:25)
            Hide
            karthik Karthik Raveendran added a comment -
            Show
            karthik Karthik Raveendran added a comment - Windows JDK Bundle has been added to https://bitbucket.org/lorainelab/jre-bundles-install4j/downloads/
            Hide
            ann.loraine Ann Loraine added a comment -

            See license email to let you use Install4J version 10

            Show
            ann.loraine Ann Loraine added a comment - See license email to let you use Install4J version 10
            Hide
            ann.loraine Ann Loraine added a comment -

            Also please say

            • Vendor for the JDK you used (Azul? Liberica?)
            • Bug fix release

            If at all possible, including the bug fix name in the zip file uploaded. But you may not really be able to name it.

            Show
            ann.loraine Ann Loraine added a comment - Also please say Vendor for the JDK you used (Azul? Liberica?) Bug fix release If at all possible, including the bug fix name in the zip file uploaded. But you may not really be able to name it.
            Hide
            karthik Karthik Raveendran added a comment - - edited

            The JDK used for the Windows and Linux bundles is version 11/11.0.19+7 from Liberica distribution with JavaFX:
            https://bitbucket.org/lorainelab/jre-bundles-install4j/downloads/

            Show
            karthik Karthik Raveendran added a comment - - edited The JDK used for the Windows and Linux bundles is version 11/11.0.19+7 from Liberica distribution with JavaFX: https://bitbucket.org/lorainelab/jre-bundles-install4j/downloads/
            Hide
            ann.loraine Ann Loraine added a comment -

            Moving to Done and out of this epic as this is now superceded by work on JDK21.

            Show
            ann.loraine Ann Loraine added a comment - Moving to Done and out of this epic as this is now superceded by work on JDK21.

              People

              • Assignee:
                Unassigned
                Reporter:
                ann.loraine Ann Loraine
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: