B4J Question RPI4 and display error

besoft

Active Member
Licensed User
Longtime User
Hello,

I would appreciate the info if anyone has encountered the UI issue on an RPI 4 device. An error occurs when starting the application:
...
- UnsupportedOperationException: Unable to open DISPLAY
...

I have the latest official system and Liberica Full JDK 11 arm 32 for Linux installed. Installation was hassle-free. Java versions are also ok. Verified by :
• java -version
• javac -version

Has anyone had a similar problem and how did they solve it?

Thanks for the help.

I apologize if I may have missed the solution somewhere.
 

aeric

Expert
Licensed User
Longtime User
Do you follow these steps?

 
Upvote 0

aeric

Expert
Licensed User
Longtime User

Try login in X11 or X.org session
 
Upvote 0

besoft

Active Member
Licensed User
Longtime User
Do you follow these steps?


Thanks for the reply.

Yes, it is installed according to this procedure.
 
Upvote 0

besoft

Active Member
Licensed User
Longtime User
So far I haven't found a solution.
But it is interesting that if RPI is launched in the desktop, then the application works. It must be started via the terminal on the RPI.
If I run the application via SSH, I get the error again.
 
Upvote 0
Top