Details

    • Type: Task
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
      None
    • Story Points:
      2
    • Sprint:
      Fall 2 2022 Sep 5, Fall 3 2022 Sep 26, Spring 2 2023 Jan 16

      Description

      We would like to upgrade IGB to use more recent versions of Java.

      There are some tools that could be helpful in this. Ann attended a conference where the upgrade path to java 17 was discussed in a talk by IBM.

      IBM talk at https://2022.jconf.dev/
      "Making the Move to Java 17"
      Alex Motley and Cindy
      Discussed migration and migration tools, including tools they made and invite the audience to use.

      Noteworthy updates :

      1. Module system added with JDK9.
      2. XML package name change

        Attachments

          Activity

          Hide
          ann.loraine Ann Loraine added a comment -

          Talked with Kim and others in Purchasing and got information on how to proceed. Relevant attachments and emails are in my "Budgets" email folder.

          Show
          ann.loraine Ann Loraine added a comment - Talked with Kim and others in Purchasing and got information on how to proceed. Relevant attachments and emails are in my "Budgets" email folder.
          Hide
          ann.loraine Ann Loraine added a comment - - edited

          Attended "deep dish java" conference and talked with experts from IBM and elsewhere on upgrading IGB to use JDK 17, currently the preferred option. Learned about several command-line tools that can aid and even automate the migration process. See Description above.

          Show
          ann.loraine Ann Loraine added a comment - - edited Attended "deep dish java" conference and talked with experts from IBM and elsewhere on upgrading IGB to use JDK 17, currently the preferred option. Learned about several command-line tools that can aid and even automate the migration process. See Description above.
          Hide
          ann.loraine Ann Loraine added a comment -

          Also, Ann has experimented a bit with moving to Java 18 and made a branch where she made some progress. She was able to get IGB to compile but not run under JDK 18. The branch is here: https://bitbucket.org/aloraine/integrated-genome-browser/branch/IGBF-3142

          Show
          ann.loraine Ann Loraine added a comment - Also, Ann has experimented a bit with moving to Java 18 and made a branch where she made some progress. She was able to get IGB to compile but not run under JDK 18. The branch is here: https://bitbucket.org/aloraine/integrated-genome-browser/branch/IGBF-3142
          Hide
          karthik Karthik Raveendran added a comment -

          Found two removed Packages/Classes from Java 11 that is being used in IGB
          com.sun.awt.AWTUtilities -> PopupInfo.java line 646 (package is not imported)
          com.sun.security.auth.X500Principal -> IGBTrustManager (line 65,66)

          Show
          karthik Karthik Raveendran added a comment - Found two removed Packages/Classes from Java 11 that is being used in IGB com.sun.awt.AWTUtilities -> PopupInfo.java line 646 (package is not imported) com.sun.security.auth.X500Principal -> IGBTrustManager (line 65,66)
          Hide
          karthik Karthik Raveendran added a comment - - edited

          Eclipse Transformer - to update Java EE libraries to Jakarta. See https://www.youtube.com/watch?v=rS5EJb_QYs8 and https://www.slideshare.net/Jakarta_EE/the-eclipse-transformer-project. After running the transformer a few files were updated as seen in the image.

          After cloning the project from https://github.com/eclipse/transformer, go to the project and maven clean install:

          mvnw clean install
          

          Open org.eclipse.transformer.cli/target in the project folder

          java -jar org.eclipse.transformer.cli-<version>.jar [IGB_Project_Folder] [Output_Folder]
          

          After the changes are made the output folder has a new copy of the project with the changes but its just replacing with Jakarta.

          JDeps and Migration Toolkit for Application Binaries are dependency analyser and evaluates application-binary files respectively which may assist in the migration but they are not very .

          I did not get a chance to checkout Dependabot(https://github.com/dependabot/dependabot-core)

          Show
          karthik Karthik Raveendran added a comment - - edited Eclipse Transformer - to update Java EE libraries to Jakarta. See https://www.youtube.com/watch?v=rS5EJb_QYs8 and https://www.slideshare.net/Jakarta_EE/the-eclipse-transformer-project . After running the transformer a few files were updated as seen in the image. After cloning the project from https://github.com/eclipse/transformer , go to the project and maven clean install: mvnw clean install Open org.eclipse.transformer.cli/target in the project folder java -jar org.eclipse.transformer.cli-<version>.jar [IGB_Project_Folder] [Output_Folder] After the changes are made the output folder has a new copy of the project with the changes but its just replacing with Jakarta. JDeps and Migration Toolkit for Application Binaries are dependency analyser and evaluates application-binary files respectively which may assist in the migration but they are not very . I did not get a chance to checkout Dependabot( https://github.com/dependabot/dependabot-core )
          Hide
          ann.loraine Ann Loraine added a comment -

          Thank you very much for the above information Karthik Raveendran ... bon voyage !

          Show
          ann.loraine Ann Loraine added a comment - Thank you very much for the above information Karthik Raveendran ... bon voyage !
          Hide
          ann.loraine Ann Loraine added a comment -

          Many notes were made. Moving forward with the next phase of this project in linked ticket IGBF-3142.

          Show
          ann.loraine Ann Loraine added a comment - Many notes were made. Moving forward with the next phase of this project in linked ticket IGBF-3142 .

            People

            • Assignee:
              karthik Karthik Raveendran
              Reporter:
              ann.loraine Ann Loraine
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: