JavaFX error while accessing SAP GUI on centOS - java

I have installed SAP GUI 7.40 for linux on client computer including JRE 1.8.0.04 but when I try to access the GUI it gives error:
The system requirement are not meet. Your Java Virtual machine does not support javafx required to run the SAP GUI for Java 7.40 rev 4.
My client OS is CentOS. I event changed JAVA_HOME path in /etc/profile, but its still giving the same error.
Any suggestions?

Try using Oracle Java rather than the OpenJDK based version which ships with CentOS. Unfortunately, the Java versions which ship with CentOS don't include JavaFX at the moment.
See also:
Centos 7 - where is jfx library for openjdk8? - and related: unix.stackexchange version of the same question.

Related

Download IBM Java JDK 8 for windows

I am looking to Download IBM Java JDK 8 for windows 10 OS or Windows Server 2012 R2 OS.
Does IBM provide JAVA JDK 8 software so that we can install and test it?
Or
Does IBM provide only AIX and Linux supported IBM Java 8 installation software?
I referred the IBM page, it contains only AIX, Linux version of Java installation software.
https://developer.ibm.com/javasdk/downloads/sdk8/
IBM says
The SDK is available only as part of an IBM product.
Which means follow the links at the end of the page you linked from your question, download Eclipse, use the JDK that will be installed with Eclispe. Then, if you don't want Eclipse, delete it and keep the SDK.
OR
You can use OpenJ9, which is the JDK used by the IBM SDK.
As an aside I have to wonder why you need the IBM JDK in particular.

SAP Crystal Decisions integration does not work on Linux

We are building a web api that calls the SAP Crystal Decisions Library, to generate PDF reports. It works when running on our Windows 10 developer PCs, but when we deploy it inside a linux docker image, there is an exception related to libfreetype6 font library. If the library is uninstalled from our linux image, it complains the library is not installed. If we install the library, either manually with apt-get or by using a docker image that already has it installed we get the following exception:
java.lang.NullPointerException: null
at com.crystaldecisions.reports.exporters.format.page.pdf.fontembedding.opentype.tables.OS2Table.<init>(SourceFile:108) ~[CrystalReportsRuntime.jar!/:12.2.226.3772]```
SAP support claim there is no direct dependency on this library, so I am wondering where to start in troubleshooting this issue. I cannot locate it on my windows machine either. How can I confirm whether its included in the JDK? I have tried Java 10 and Java 11 JREs and JDKs, the error is the same.
Thanks for any ideas.
It is not supported in Linux, you can check the versions on this page:
And will not be supported ever, unlikely SAP will develop any new features except patches for the out of sale software.
In our tests, this issue does not occur using JDK 8 on Linux. It begins happening when using JDK 11 and higher. In JDK 11, Oracle removed the T2K font rasterizer, no longer ships any fonts and relies entirely on fonts installed on the operating system.
https://docs.oracle.com/en/java/javase/11/migrate/index.html

Java ME SDK platform detection failure - Netbeans

I am trying to set up the Java ME 8 development environment. I am setting up the environment on a Windows 10 64-bit PC to develop a Java ME Embedded 8 application for use on a Raspberry Pi 3 model B. I have set up the Raspberry Pi successfully. However, when setting up the development environment on my Windows PC, Netbeans fails to detect the platform.
I have installed:
Java SE Development Kit 8u221
Java ME SDK 8.3
Netbeans 8.1
I have also tried
Java SE Development Kit 12.0.2, and 8u152
Java ME SDK 8 and 3.4
Netbeans 8.0.2 and 8.2
I have tried downloading and installing the sun java wireless toolkit. I have tried uninstalling and reinstalling in many different orders with different combinations of versions. I have tried changing permissions. I have tried installing the Netbeans plugins automatically and manually in multiple ways and orders. I have also tried setting it up as a Custom CLDC Platform Emulator multiple times but every time Netbeans crashes and breaks, and I have to uninstall it and reinstall again.
I have also checked the release notes of the Java ME SDK 8.3 and it says it supports Windows 10 64-bit.
Screenshot of platform set up steps taken:
Step one of platform set up:
Step Two of platform set up:
Step Three of platform set up:
I know that there are many similar questions on here, but I can assure you I have read all of them, tried their solutions and I have still not found a solution.
Any help any of you can offer me would be greatly appreciated.
SOLUTION: Downloaded an older version of the JDK - jdk 8u11. Then I directed my Java ME SDK 8.3/bin java file to that version instead.

OpenJDK does not work with javafx

I have just installed Fedora 21 on my laptop and installed OpenJDK8(JDK), Netbeans and SceneBuilder.When I create a new JavaFX project the following message appears:
I can only fix it if I add the Oracle Java 8 under Manage Platform. How can I get these done with OpenJDK only?
Where from did you install openjdk? If used the one coming from fedora it does NOT have javafx with it which sort of is ok from the fedora point of view because JavaFX - although it is an openjdk project - is not jsred and so there's not must to include it.
IIRC the problem for Fedora and other linux distros was/is that they did not get some of the native parts built from Source which is something they require for all stuff they ship!

Port Java6 along with application

I have a Java desktop application for Mac, and we are porting Java along with the application. The issue, is that the Java we are using is strictly Java6 and not Java7 (Because Java7 does not have -d32 mode).
So I downloaded Java6 jdk from the apple developer site and have bundled it in the package. And it all works well. But when I try running on other Mac's, then it throws the following error:
/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/bin
$ ./java -version
dyld: Library not loaded: #rpath/libjli.jnilib
Referenced from: /Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/bin/./java
Reason: image not found
Trace/BPT trap: 5
As per this, it tries searching for the respective directory at /Library/Java/JavaVirtualMachines/ and not in the folder I ported along. How can I solve this issue?
How should I port Java6 along with the application.
Secondly, the Java6 I have used is jdk as I could not find the Jre of Java6. It will be appreciated if someone can provide or share Jre6.
Does Apple licensing even allow their JRE to be redistributed with a third-party app?
I think you are making things harder than they need to be. If a user does not have Java 6 installed (possible in OS X 10.7 and 10.8), the Mac OS will automatically prompt the user to download and install it the first time a Java application tries to run. It will then automatically continue launching your app once it's installed.
Just make sure you are bundling your app appropriately for Java 6 (e.g., using the old Mac Jar Bundler app or manually creating an equivalent Info.plist) and not Java 7 (e.g., using the new Oracle appbundler.jar).

Categories