Skip to content
View in the app

A better way to browse. Learn more.

Armbian Community Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

OPi PC Plus intall Java8

Featured Replies

Hello; 

I use first time Pi based board and Armbian.

 

I need to Java 8 and jfx  for working with java app (application.jar)

 

 

Step 1: Download from JAVA/ORACLE jdk-8u111-linux-arm32-vfp-hflt.tar.gz
Step 2: sudo tar jdk-8u111-linux-arm32-vfp-hflt.tar.gz -C /opt ->installs in /opt
Step3: sudo update-alternatives --install /usr/bin/javac javac /opt/jdk1.8.0_111/bin/javac 1
Step4 :sudo update-alternatives --install /usr/bin/java java /opt/jdk1.8.0_111/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

Step8: sudo unzip openjfx-8u40-sdk-overlay-linux-armv6hf.zip -d /opt/jdk1.8.0_111

 

After Reboot:

 

I want to open my application

sudo java -jar application.jar
sudo /opt/jdk1.8.0_111/bin/java -jar application.jar

Each time board blocked.

 

where is my problem? 

Thank you for help

 

 

 

Notes: installing time ; I selected = 1 (opt/jdk1.8.0_111/bin/java)

For PICTURE :

 

https://www.b4x.com/android/forum/attachments/img_20170117_195823-jpg.52074/

 

Why not use OpenJDK?

apt-get install openjdk-8-jdk

Oracle Java is not supported by debian any more, so I suppose that also counts towards armbian. I personally would not install any java that will not be updated automatically through aptitude...

  • Author

Why not use OpenJDK?

apt-get install openjdk-8-jdk

Oracle Java is not supported by debian any more, so I suppose that also counts towards armbian. I personally would not install any java that will not be updated automatically through aptitude...

 

 

Hello;

 

I want use Java based application. My applicaton has jfx based application. it has a gui (forms/butons etc with java)

 

is Openjdk correct way for my problems?

Last time I used a "proper" Java on Armbian I used WebUpd8 installer: http://www.webupd8.org/2014/03/how-to-install-oracle-java-8-in-debian.html

Since they are following Ubuntu versioning, using Xenial based image is recommended.

 

But for the "each time board blocked" problem - it can be caused by anything not related to Java version - OOM, power supply or SD card problems.

Hello;

 

I want use Java based application. My applicaton has jfx based application. it has a gui (forms/butons etc with java)

 

is Openjdk correct way for my problems?

 

Well, openjdk is java as well ^^

 

I do not know if it will support your application, but spending 20 seconds to install openjdk and running your app won't hurt...you can always uninstall it afterwards if it does not work.

  • Author

Well, openjdk is java as well ^^

 

I do not know if it will support your application, but spending 20 seconds to install openjdk and running your app won't hurt...you can always uninstall it afterwards if it does not work.

İnstalleed OPENjdk. and I chooesse it

 

after  run my code.

 

>>sudo java -jar myapp.jar

 

>>"return JAvaFx comapnet are missing "

 

i cant solve it

Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.