B4J Question Where to put 'b4j-bridge.jar'?

anOparator

Active Member
Licensed User
Longtime User
Hello there,
Where does 'b4j-bridge.jar' (from https://www.b4x.com/b4j/files/b4j-bridge.jar) belong?

I'm using 'MX linux' and there is no 'jdk-11.0.1/bin/java' directory,
Java is in my 'usr/lib/jvm/java-11-openjdk-i386/lib' folder and things aren't going well.
B4X:
java version
Error: Could not find or load main class version
Caused by: java.lang.ClassNotFoundException: version
Is there a preferred lightweight linux distro that might make this easier?
Thanks in advance.
 

DonManfred

Expert
Licensed User
Longtime User
Upvote 0

aeric

Expert
Licensed User
Longtime User
Upvote 0
Solution

anOparator

Active Member
Licensed User
Longtime User
Ist must be
B4X:
java --version
and, there is no such folder java in the bin folder....
Thanks, without my typo it's:
B4X:
 java --version
openjdk 11.0.18 2023-01-17
OpenJDK Runtime Environment (build 11.0.18+10-post-Debian-1deb11u1)
OpenJDK Server VM (build 11.0.18+10-post-Debian-1deb11u1, mixed mode, sharing)
And yes there's a File shortcut named Java in the 'bin' Folder.
b4x-bridge.png

For example, you downloaded the file in Downloads folder, then just cd into this directory and call it.
Thanks this helps a lot.
 
Last edited:
Upvote 0
Top