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

Embedded / Full Java SE compiled as hardfp

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Not an Issue
    • Icon: P3 P3
    • None
    • 7
    • embedded
    • linux

      A DESCRIPTION OF THE REQUEST :
      It seems impossible (or extremely convoluted) to install Oracle's Embedded JRE on modern ARM / Linux hardware/operating system combinations.

      Recent Linux distributions on ARM come with hardfp binaries so the JRE doesn't even start since it wants to link softfp binaries (e.g.: libX.so

      JUSTIFICATION :
      Embedded JRE is already built and shipping with softfp and it is said that the JRE uses hardfp internally.
      Therefore a hardfp version should require minimal effort in addition to the softfp version.

      There is a definite trend of Linux / ARM distributions to switch to hardfp since it gives much better performance. The most conspicuous is being Ubuntu.

      ARM based hardware is becoming very popular due to low prices and desktop-like performance. For example: I have bought a new ARM ChromeBook for $250, installed Ubuntu which has made it a low-power ultrabook replacement. With Ubuntu, it is a fully fledged computer (runs LibreOffice Writer with a 5sec cold startup and a 2s warm startup which is better than my older Toshiba Portege M200).

      Everything works very fast on this hardware except for Java desktop programs which run with unbearable performance under OpenJDK. Oracle's Embedded JRE doesn't run at all due to softfp requirements.


      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      Oracle should ship a hardfp version of the Embedded JRE.

      This should provide very good performance on this kind hardware/OS combinations since much weaker hw has run my programs acceptably with the Oracle Embedded JRE (a HP Touchpad).
      ACTUAL -
      Everything works very fast on this hardware except for Java desktop programs which run with unbearable performance under OpenJDK.

      Oracle's Embedded JRE doesn't run at all due to softfp requirements.

      ---------- BEGIN SOURCE ----------
      No source code is required.
      ---------- END SOURCE ----------

      CUSTOMER SUBMITTED WORKAROUND :
      In theory it is possible to install softfp versions of the required libraries and put them in the PATH of the Embedded JRE but it is a very complicated process.

            dholmes David Holmes
            coffeys Sean Coffey
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: