Hello All,
I have been trying to make an app with multiple forms (GUI) to work on Linux. I am using Rocky Linux (RL) since this is closest to CentOS 8 (I am a newbie to Linux and I have a lot of learning to do). I installed java 11 downloaded from B4X site as well as the B4J-bridge.jar and it seems to be working after a lot of tries. Finally, I see on the terminal that I am connected. I use a windows machine to connect to the bridge to RL. I got the message below on B4J IDE:
WARNING: package com.sun.glass.ui.win not in javafx.graphics
I did some more searching and added the line
#VirtualMachineArgs: --add-opens javafx.graphics/com.sun.glass.ui=ALL-UNNAMED
in the Region Project Attributes and run in release mode. I got another error
Unrecognized option: --add-opens javafx.graphics/com.sun.glass.ui=ALL-UNNAMED
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
May I ask, where am I going wrong or what do I need to add. I see in tutorials that members are able to run their creations in Mac, Raspberry Pi and Linux.
Thank you in advance.
Warm regards,
Martin
I have been trying to make an app with multiple forms (GUI) to work on Linux. I am using Rocky Linux (RL) since this is closest to CentOS 8 (I am a newbie to Linux and I have a lot of learning to do). I installed java 11 downloaded from B4X site as well as the B4J-bridge.jar and it seems to be working after a lot of tries. Finally, I see on the terminal that I am connected. I use a windows machine to connect to the bridge to RL. I got the message below on B4J IDE:
WARNING: package com.sun.glass.ui.win not in javafx.graphics
I did some more searching and added the line
#VirtualMachineArgs: --add-opens javafx.graphics/com.sun.glass.ui=ALL-UNNAMED
in the Region Project Attributes and run in release mode. I got another error
Unrecognized option: --add-opens javafx.graphics/com.sun.glass.ui=ALL-UNNAMED
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
May I ask, where am I going wrong or what do I need to add. I see in tutorials that members are able to run their creations in Mac, Raspberry Pi and Linux.
Thank you in advance.
Warm regards,
Martin