Technology Blogs by SAP
Learn how to extend and personalize SAP applications. Follow the SAP technology blog for insights into SAP BTP, ABAP, SAP Analytics Cloud, SAP HANA, and more.
cancel
Showing results for 
Search instead for 
Did you mean: 
RMW
Product and Topic Expert
Product and Topic Expert

Hello all,


Starting with the release of SAP GUI for Java 7.50 rev 5, there is a big change under the hood. While depending for almost two decades [1] on the Sun and later Oracle JDKs to run SAP GUI for Java, big efforts have made it possible to run SAP GUI for Java now also on OpenJDK 11 and OpenJFX 11.


Why that out of a sudden?


Before Java SE 11, the OracleJDK came with JavaFX bundled in the installation package. After Oracle has decided to decouple JavaFX from the JDK and make it a separate open source project named OpenJFX [2], targeting OpenJDK has become more attractive for SAP GUI for Java. JavaFX is the UI framework that provides the functionality of a web browser component used by the browser control in SAP GUI for Java for rendering html content.


In addition, facing the end of Java 8 public updates by January 2019 [3], it obviously became necessary to move on to a newer version of Java SE.


With Oracle’s changes to its Java roadmap [4] and licensing [5], using OpenJDK 11 is the preferred way to go. It is an LTS release (long term support) and comes with a "GNU General Public License v2, with the Classpath Exception (GPLv2+CPE)" also for commercial use [6]. In contrary, the OracleJDK requires a subscription for licensing and support for commercial use [7].


With SapMachine, SAP offers its own downstream version of the OpenJDK project. It is a SAP supported version of OpenJDK for SAP customers and partners who wish to use OpenJDK to run their applications [8][9].


The new foundation to run SAP GUI for Java is SapMachine 11 and OpenJFX 11 [10].


Why is this bold move in the middle of the lifetime of a SAP GUI for Java version and does this jeopardize stability?


It has been almost impossible to sync our schedule with the Java roadmap since latter has been changed again and again in the last few years. Java 9 was too late for SAP GUI for Java 7.50 and both Java 9 and 10 figured out to be short term releases with a lifetime of six months only. Only recently, the Java roadmap seems to have stabilized and with Java 11, a Java version with a reasonable lifetime became available. Development of the next major release of SAP GUI for Java is still ongoing, so it couldn’t have been made available in time once Java 8 is no longer publicly supported.
However, most of the changes and renovations in the codebase of SAP GUI for Java 7.50 required to be able to run on Java 11 have already been made early in the development cycle. Only the installer and initial startup process have been extended recently to be able to handle both Java 8 and Java 11. Several person months have been spent with testing on all three platforms and their findings have been addressed. So we expect no negative impact in regards of stability.


There are two options after the end of public updates of Java 8 in January 2019:


Still using SAP GUI for Java 7.50 running on Java 8 with a Java SE Subscription [11] to have continuous access to updates or to migrate to SapMachine 11 and OpenJFX 11 in time.
For latter please download the new version and read the documentation for installation instructions part of the manual and locations for downloading SapMachine 11 and OpenJFX 11 [12] [13].


For feedback and questions, please start a new post. In case you find issues, preferably create a support message on component BC-FES-JAV.


Thanks to all who contributed to make this happen: the Oracle Java team, the OpenJDK and OpenJFX projects, the SAP VM and SAP GUI for Java development teams and all the testers in quality assurance.


Best regards
Rolf-Martin


 

References:


[1] The first public beta of SAP GUI for Java was published on Dec 6, 1999. Happy Birthday!


[2] Oracle: The Future of JavaFX and Other Java Client Roadmap Updates
https://blogs.oracle.com/java-platform-group/the-future-of-javafx-and-other-java-client-roadmap-upda...


[3] Oracle Java SE Support Roadmap
https://www.oracle.com/technetwork/java/java-se-support-roadmap.html


[4] Oracle: Faster and Easier Use and Redistribution of Java SE
https://blogs.oracle.com/java-platform-group/faster-and-easier-use-and-redistribution-of-java-se


[5] Oracle JDK Releases for Java 11 and Later
https://blogs.oracle.com/java-platform-group/oracle-jdk-releases-for-java-11-and-later


[6] OpenJDK - GNU General Public License, version 2, with the Classpath Exception
https://openjdk.java.net/legal/gplv2+ce.html


[7] A Quick Summary on the new Java SE Subscription
https://blogs.oracle.com/java-platform-group/a-quick-summary-on-the-new-java-se-subscription


[8] SAP note 2700275 - Java SE Technologies in SAP Products
https://launchpad.support.sap.com/#/notes/2700275


[9] SapMachine - An OpenJDK release maintained and supported by SAP
https://SapMachine.io


[10] OpenJFX
https://openjfx.io


[11] Oracle Java SE Subscriptions
https://www.oracle.com/java/java-se-subscription.html


[12] SAP GUI for Java 7.50 download on Service Marketplace

[13] Chapter "5.1 Running the SAP GUI for Java with Java 11" of the manual


6 Comments