Hi,
Need help in running UI apps on Raspberry Pi.
My obvious option was one thread where
"Erel said:
You can use Java 7 or Java 8u6 to run UI apps. The layout will not be perfect but it should work."
Have read many threads on this and did exactly the same. (given all the links at the bottom and texts).
After two three road blocks and re-flashing the OS, got everything installed (Java 8 and JFX).
So when I run my UI app, I don't get any error anymore.
Problem: My app runs without error but nothing shows on the screen. There is no error on the command prompt or B4J logs (if run from there, both debug and release mode.)
Can some help me running UI app. (My objective of buying RPi was to run this app for my kids' studies. Tried running it with "sudo" access also.
My versions:
jdk-8u60-linux-arm32-vfp-hflt.tar.gz
openjfx-8u40-sdk-overlay-linux-armv6hf.zip
Steps followed: (versions will differ, my versions given above)
Step 1: Download http://download.oracle.com/otn-pub/java/jdk/8u73-b02/jdk-8u73-linux-arm32-vfp-hflt.gz (http://download.oracle.com/otn-pub/java/jdk/8u73-b02/jdk-8u73-linux-arm32-vfp-hflt.gz)
Step 2: sudo tar zxvf jdk-8u73-linux-arm32-vfp-hflt.tar.gz -C /opt ->installs in /opt
Step3: sudo update-alternatives --install /usr/bin/javac javac /opt/jdk1.8.0_73/bin/javac 1
Step4 :sudo update-alternatives --install /usr/bin/java java /opt/jdk1.8.0_73/bin/java 1
Step5: sudo update-alternatives --config javac
Step6: sudo update-alternatives --config java
Step7: download http://108.61.191.178/downloads/openjfx-8u40-sdk-overlay-linux-armv6hf.zip (http://108.61.191.178/downloads/openjfx-8u40-sdk-overlay-linux-armv6hf.zip)
Step8: sudo unzip openjfx-8u40-sdk-overlay-linux-armv6hf.zip -d /opt/jdk1.8.0_73
Links followed:
https://www.b4x.com/android/forum/t...on-on-raspberry-pi-help-needed.63403/#content
https://www.b4x.com/android/forum/t...-i-run-ui-apps-on-it.62704/reply?quote=395986
http://www.oracle.com/webfolder/technetwork/tutorials/obe/java/RaspberryPiFX/raspberryfx.html
https://www.b4x.com/android/forum/t...b4j-from-the-scratch.59784/reply?quote=381603
https://www.b4x.com/android/forum/threads/iot-linux-embedded-boards-gettings-started.60430/#content
http://www.oracle.com/technetwork/java/embedded/embedded-se/downloads/javaseembedded8u6-2406243.html
http://www.oracle.com/technetwork/java/javase/downloads/java-archive-javase8-2177648.html
Need help in running UI apps on Raspberry Pi.
My obvious option was one thread where
"Erel said:
You can use Java 7 or Java 8u6 to run UI apps. The layout will not be perfect but it should work."
Have read many threads on this and did exactly the same. (given all the links at the bottom and texts).
After two three road blocks and re-flashing the OS, got everything installed (Java 8 and JFX).
So when I run my UI app, I don't get any error anymore.
Problem: My app runs without error but nothing shows on the screen. There is no error on the command prompt or B4J logs (if run from there, both debug and release mode.)
Can some help me running UI app. (My objective of buying RPi was to run this app for my kids' studies. Tried running it with "sudo" access also.
My versions:
jdk-8u60-linux-arm32-vfp-hflt.tar.gz
openjfx-8u40-sdk-overlay-linux-armv6hf.zip
Steps followed: (versions will differ, my versions given above)
Step 1: Download http://download.oracle.com/otn-pub/java/jdk/8u73-b02/jdk-8u73-linux-arm32-vfp-hflt.gz (http://download.oracle.com/otn-pub/java/jdk/8u73-b02/jdk-8u73-linux-arm32-vfp-hflt.gz)
Step 2: sudo tar zxvf jdk-8u73-linux-arm32-vfp-hflt.tar.gz -C /opt ->installs in /opt
Step3: sudo update-alternatives --install /usr/bin/javac javac /opt/jdk1.8.0_73/bin/javac 1
Step4 :sudo update-alternatives --install /usr/bin/java java /opt/jdk1.8.0_73/bin/java 1
Step5: sudo update-alternatives --config javac
Step6: sudo update-alternatives --config java
Step7: download http://108.61.191.178/downloads/openjfx-8u40-sdk-overlay-linux-armv6hf.zip (http://108.61.191.178/downloads/openjfx-8u40-sdk-overlay-linux-armv6hf.zip)
Step8: sudo unzip openjfx-8u40-sdk-overlay-linux-armv6hf.zip -d /opt/jdk1.8.0_73
Links followed:
https://www.b4x.com/android/forum/t...on-on-raspberry-pi-help-needed.63403/#content
https://www.b4x.com/android/forum/t...-i-run-ui-apps-on-it.62704/reply?quote=395986
http://www.oracle.com/webfolder/technetwork/tutorials/obe/java/RaspberryPiFX/raspberryfx.html
https://www.b4x.com/android/forum/t...b4j-from-the-scratch.59784/reply?quote=381603
https://www.b4x.com/android/forum/threads/iot-linux-embedded-boards-gettings-started.60430/#content
http://www.oracle.com/technetwork/java/embedded/embedded-se/downloads/javaseembedded8u6-2406243.html
http://www.oracle.com/technetwork/java/javase/downloads/java-archive-javase8-2177648.html