Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8339212

gradle downloads x64 binary of SWT on Linux/aarch64

XMLWordPrintable

    • b08
    • aarch64
    • linux

      ADDITIONAL SYSTEM INFORMATION :
      Linux/aarch64

      A DESCRIPTION OF THE PROBLEM :
      build.gradle, line 504, just determine this is linux, then download the jar with arch: x86_64.
      In Linux(aarch64), need to download the jar with arch: aarch64.

      expected: download org.eclipse.swt.gtk.linux.aarch64_3.124.200.v20231113-1355.jar
      actually: download org.eclipse.swt.gtk.linux.x86_64_3.124.200.v20231113-1355.jar

      howto:

      build.gradle line 504

      from:
          IS_LINUX ? "org.eclipse.swt.gtk.linux.x86_64_3.124.200.v20231113-1355" : ""

      to:
          IS_LINUX && IS_AARCH64 ? "org.eclipse.swt.gtk.linux.aarch64_3.124.200.v20231113-1355" :
          IS_LINUX && !IS_AARCH64 ? "org.eclipse.swt.gtk.linux.x86_64_3.124.200.v20231113-1355" : ""


            adev Anupam Dev
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: