M Max66 New Member Licensed User Mar 17, 2022 #1 Hello everybody. I am rather new to B4J, so, sorry if I ask a kind of nerd question. I have installed B4J in my computer (Win10, 64bit, Java 11 SDK) and also Java JDK version 11.0.12 in my Raspberry Pi. The B4J IDE informs that the Bridge is connected, but when I try to run the example it happens what you see below. Some 'module' is missing in some place, possibly by the side of the Rasp. But what? Thank you very much for your help in advance. Update: at the Rasp side, after launching the Bridge, there is not any JavFX module recognized. I have downloaded and extracted the Bellsoft file and it seems it not gave any error/problem. Maxi Guzman. Last edited: Mar 17, 2022
Hello everybody. I am rather new to B4J, so, sorry if I ask a kind of nerd question. I have installed B4J in my computer (Win10, 64bit, Java 11 SDK) and also Java JDK version 11.0.12 in my Raspberry Pi. The B4J IDE informs that the Bridge is connected, but when I try to run the example it happens what you see below. Some 'module' is missing in some place, possibly by the side of the Rasp. But what? Thank you very much for your help in advance. Update: at the Rasp side, after launching the Bridge, there is not any JavFX module recognized. I have downloaded and extracted the Bellsoft file and it seems it not gave any error/problem. Maxi Guzman.
EnriqueGonzalez Expert Licensed User Longtime User Mar 17, 2022 #2 Max66 said: Java JDK version 11.0.12 i Click to expand... Not every jdk is suitable for raspberry UI compilation. Follow this thread: B4J GUI apps not supported anymore on RPi4? Hello, I received a new Raspberry Pi 4B today at work and installed everything by following the 11.0.1 guidelines. But when I tried to run a B4J GUI app (empty and printing a log line) I get the errors you see below. Also the VNC connection totally freezes as long as the java application... b4x.com Upvote 0
Max66 said: Java JDK version 11.0.12 i Click to expand... Not every jdk is suitable for raspberry UI compilation. Follow this thread: B4J GUI apps not supported anymore on RPi4? Hello, I received a new Raspberry Pi 4B today at work and installed everything by following the 11.0.1 guidelines. But when I tried to run a B4J GUI app (empty and printing a log line) I get the errors you see below. Also the VNC connection totally freezes as long as the java application... b4x.com
M Max66 New Member Licensed User Mar 21, 2022 #3 Hello, I've got the JavaFX modules to load when the bridge is launched at the Raspside, but now, when I run the Java example in the B4J side.... New error about the heap size allocation. Any help? Thanks!! Upvote 0
Hello, I've got the JavaFX modules to load when the bridge is launched at the Raspside, but now, when I run the Java example in the B4J side.... New error about the heap size allocation. Any help? Thanks!!
MicroDrie Well-Known Member Licensed User Longtime User Mar 22, 2022 #4 You wrote this I have installed B4J in my computer (Win10, 64bit, Java 11 SDK) and also Java JDK version 11.0.12 in my Raspberry Pi. Click to expand... And this said the installation guide: Download one of the following JDKs. Note that OpenJDK 11 requires Windows 64 bit. Recommended: OpenJDK 11 + OpenJFX 11: download link. Click to expand... Why should you then install on Win10 the 64bit, Java 11 SDK? Why if you install against the advice in another SDK as adviced and while you can use the same SDK on both the Win10 and the Raspberry Pi environment? It really simple uninstall both the wrong SDK and B4J IDEA, reboot the WIN10 and follow the installation flow step by step to avoid problems in an unsupported environment. Upvote 0
You wrote this I have installed B4J in my computer (Win10, 64bit, Java 11 SDK) and also Java JDK version 11.0.12 in my Raspberry Pi. Click to expand... And this said the installation guide: Download one of the following JDKs. Note that OpenJDK 11 requires Windows 64 bit. Recommended: OpenJDK 11 + OpenJFX 11: download link. Click to expand... Why should you then install on Win10 the 64bit, Java 11 SDK? Why if you install against the advice in another SDK as adviced and while you can use the same SDK on both the Win10 and the Raspberry Pi environment? It really simple uninstall both the wrong SDK and B4J IDEA, reboot the WIN10 and follow the installation flow step by step to avoid problems in an unsupported environment.
M Max66 New Member Licensed User Mar 22, 2022 #5 Hi, thanks for your kind answer, MicroDrie. I was a bit confusef with that of 'one of the following SDKs...' but now I think that both instalation in the PC and in the Rasp are matching. The error right now is other. If I do not find the solition, I will restart from the begining. Thanks. Upvote 0
Hi, thanks for your kind answer, MicroDrie. I was a bit confusef with that of 'one of the following SDKs...' but now I think that both instalation in the PC and in the Rasp are matching. The error right now is other. If I do not find the solition, I will restart from the begining. Thanks.
EnriqueGonzalez Expert Licensed User Longtime User Mar 22, 2022 #6 Usually the enough space error happens when you are using a 32 bit JDK Upvote 0
M Max66 New Member Licensed User Mar 27, 2022 #7 Hello, I go step by step. Now I can make the application to run in the Raspberry, so... many thanks Enrique and MicroDrie. One new issue, this time is some warning showing right after the compilation: Must I be concerned about that? Upvote 0
Hello, I go step by step. Now I can make the application to run in the Raspberry, so... many thanks Enrique and MicroDrie. One new issue, this time is some warning showing right after the compilation: Must I be concerned about that?
EnriqueGonzalez Expert Licensed User Longtime User Mar 27, 2022 #8 i dont think you will have an issue. follow this guide if it is really annoying `Gtk-WARNING **: Locale not supported by C library. ` when starting apps from the commandline I didn't get an answer but I wasn't doing anything and this is an interesting topic. In Ubuntu 12.04, when opening a file in gedit or if I am working on the command line in dpkg, I get returned the... askubuntu.com (instructions should be similar for raspberry) Upvote 0
i dont think you will have an issue. follow this guide if it is really annoying `Gtk-WARNING **: Locale not supported by C library. ` when starting apps from the commandline I didn't get an answer but I wasn't doing anything and this is an interesting topic. In Ubuntu 12.04, when opening a file in gedit or if I am working on the command line in dpkg, I get returned the... askubuntu.com (instructions should be similar for raspberry)