JavaFx available or not

Questions and answers on developing, deploying and using plugins and JavaBeans

JavaFx available or not

Postby marco.rossi » Tue Aug 06, 2019 11:36 am

Hi all,
with Servoy 7, I'm using a JavaFx panel to show web data.

I have this problem:
By installing Servoy 2019 on the same machine, the JavaFx panel wont work.
Seems that JavaFx is not available for Servoy 2019. Very strange.

I launched the smartClient both on Servoy7 and on Servoy2019, on the same machine and at the same time with this result.
java fx.PNG
java fx.PNG (196.18 KiB) Viewed 1821 times


Any idea?
Marco Rossi
Senior Analyst Developer
Freelance Consultant

IT Manager @Mantho
Webmaster @Sitoliquido
marco.rossi
 
Posts: 110
Joined: Sun Apr 12, 2015 9:33 pm

Re: JavaFx available or not

Postby marco.rossi » Thu Aug 22, 2019 4:23 pm

I solved the problem by myself.
I'm sharing the solution for those who might be face the same problem:

Servoy 2019 doesn't come with an installation file.
It comes with a zip in which we found two folders:

application_server
developer


For some reason Servoy2019 is using an its own Java Version (OpenJDK or something similar which doesn't support JavaFx at all) and it doesn't point to the
Java folder specified by JAVA_HOME environment variable.

I manually changed it making it pointing to the right Java installation.
Marco Rossi
Senior Analyst Developer
Freelance Consultant

IT Manager @Mantho
Webmaster @Sitoliquido
marco.rossi
 
Posts: 110
Joined: Sun Apr 12, 2015 9:33 pm


Return to Plugins and Beans

Who is online

Users browsing this forum: No registered users and 11 guests