B4J Question Can't execute terminal command to launch b4Jbridge

EvgenyB4A

Active Member
Licensed User
Longtime User
I get the RK3566 board with Raspbian OS simulation. I have downloaded and extracted Liberica JDk11 and B4J bridje.
The files are installed on /home/admin folder and can see on explorer.
When I try to execute the command: sudo /home/admin/jdk-11/bin/java -jar /home/admin/b4j-bridge.jar from terminal I get:
sudo: Unable to execute /home/admin/jdk-11/bin/java: No such file or directory.
But the directories are existed.
See attached:

What may be a problem?
 

Attachments

  • Rpi11.png
    Rpi11.png
    141.6 KB · Views: 93
  • RPI22.png
    RPI22.png
    150.8 KB · Views: 93

EvgenyB4A

Active Member
Licensed User
Longtime User
Excuse me. I forgot to insert fist slash.
The cd command was successful.
~/jdk-11/bin $ sudo java -jar /home/admin/b4j-bridge.jar
I get:
sudo: java: command not found
 
Upvote 0

aeric

Expert
Licensed User
Longtime User
RK3566 is ARM 8.2 64-bit. Need Liberica package for 64-bit?
As far as I remember, I used the 32-bit version.

 
Upvote 0

EvgenyB4A

Active Member
Licensed User
Longtime User
As far as I remember, I used the 32-bit version.

Is it need to install full JDK?
 
Upvote 0
Top