Skip to Content
avatar image
Former Member

SAP HANA CLOUD PLATFORM javafx

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Jul 11, 2017 at 05:08 PM

    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

    Make sure that the required classes are part of the JAR or the deployed application to avoid the said error.

    Regards,
    Sagar J.
    Add comment
    10|10000 characters needed characters exceeded