on 07-10-2017 4:33 PM - last edited on 02-03-2024 10:34 PM by postmig_api_4
Hello experts, Can you please let me know if HCP (I am testing now with my trial account) is supporting javafx applications? I am currently trying to execute my JAVA application which extends the JFrame, I am able to deploy the application to HCP but when I execute it I have a java.classnotfound exception for javafx.embed.swing.JFXPanel. On my local server the application is working pertfectly.
On my computer I have Java 8 and javafx is on standard runtime classpath, for this reason is working; nevertheless, I've seen that HCP is running as well on Java 8 but I could not identify the jfxrt.jar file location.
Do you have any ideea about HCP and JavaFX? There is any way to access the filesystem on HCP?
Thank you,
With kind regards,
Gabriel Timofte
Hi Timothe,
There is no filesystem as such for SCP (SAP Cloud Platform - HCP renamed), all the applications and services are deployed on virtual machines which are abstract to the users.
I assume, you are deploying your application via a JAR file.
Can you please check if you are able to see the class - 'javafx.embed.swing.JFXPanel' packaged as part of the JAR. Use the below-specified command to check the JAR content.
jar tvf JAR_FILE
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.