Jump to content

Recommended Posts

Posted

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/

 

Posted

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...

Posted

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?

Posted

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.

Posted

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.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines