B4J Question Error: --add-modules= requires modules to be specified

kalarius

Active Member
Licensed User
Longtime User
I use the debian version
I have install the java with the command
sudo apt install default-jdk

I have run
wget www.b4x.com/b4j/files/b4j-bridge.jar
sudo java -jar b4j-bridge.jar

the bridge run but I get the above error
the bridge does not show any fx modules

how can i install the fx modules?

please in detail how to install them because I do not konw anythng about linux

(i use arm64 version on orange pi 3b)

Kalarakis
 

MicroDrie

Well-Known Member
Licensed User
I have install the java with the command
sudo apt install default-jdk
The question then is which version of Java you have installed. In addition, standard Java does not contain Fx and if you want to use SLC you must use Java 1.8. I'm no expert, but you could install the prepared Java 1.8 version with fx in addition to the installed Java version and point to that version in the IDE.

See also: B4J Tutorial [B4X] Using/running B4A and/or B4J on 64 bit Linux Mint 20.2 Cinnamon with 64 bit Wine
 
Upvote 0

aeric

Expert
Licensed User
Longtime User
Upvote 0

kalarius

Active Member
Licensed User
Longtime User
hi,
At windows 10 pc the program run
I want to sent to orange pi 3b ( it is a clone of raspberry) with breadge to debug
the orange pi run debian linux
I have install the java 11
I run the briadge to connect it with B4J
when press the button run to run it to orange pi and debug I get the above message
When I run the bridge at orange pi it does not show any FX moudule
I read at this forum that FX mouduls are not installed at orange pi when I install the java 11

So I need to install them but I do not know how to do that
I have read many pages at the internet but after the installation the boot image crash and I must rewrite it form the begin

with the B4A i have not any problem all programs work ok
I want to use B4j because at my new project I want to use the i2c option of the GPIO
 
Upvote 0

teddybear

Well-Known Member
Licensed User
The B4jbridge is used in IDE for remote GUI debugging.
Are you sure to use GUI in orange pi 3b?
yes, you have to install javafx on your linux.
no, you just need to deploy your app on linux using scp/ftp etc.
 
Upvote 0

kalarius

Active Member
Licensed User
Longtime User
teddybear
I want to remote gui debug the program
I am sure to use the gui at orange pi
yes I must install the javaFX BUT I DO NOT Know how to do that
If the pi is arm architecture then you need to install the correct jdk.
orange pi is arm archtecture it is a clone of raspberry pi

at all my message I ask HOW TO install the java FXmodules
 
Upvote 0

kalarius

Active Member
Licensed User
Longtime User
hi,
At windows 10 pc the program run
I want to sent to orange pi 3b ( it is a clone of raspberry) with breadge to debug
the orange pi run debian linux
I have install the java 11
I run the briadge to connect it with B4J
when press the button run to run it to orange pi and debug I get the above message
When I run the bridge at orange pi it does not show any FX moudule
I read at this forum that FX mouduls are not installed at orange pi when I install the java 11

So I need to install them but I do not know how to do that
I have read many pages at the internet but after the installation the boot image crash and I must rewrite it form the begin

with the B4A i have not any problem all programs work ok
I want to use B4j because at my new project I want to use the i2c option of the GPIO
at my message I write "So I need to install them but I do not know how to do that"

do you know how to install java FXMODULES in java 11?
these is the question
 
Upvote 0

teddybear

Well-Known Member
Licensed User
yes I must install the javaFX BUT I DO NOT Know how to do that

orange pi is arm archtecture it is a clone of raspberry pi

at all my message I ask HOW TO install the java FXmodules
You can do that by the thread Erel posted. download the Javafx for arm and install it
 
Last edited:
Upvote 0

aeric

Expert
Licensed User
Longtime User
You need to download the full jdk for arm cpu and Linux OS. JavaFX is included. 32 bit should be OK.

 
Upvote 0
Top