Hi all,
I think I just made a mistake regarding Java on the BBB. I just installed it using “sudo apt-get install default-jdk” but I think I may have installed the wrong version? Is this correct? I just read “soft-float’ version if using the distro that shipped with your board (Angstrom).”
But I am slightly confused as I am using Debian. Will I be able to using this version?
Also, if I cant, how would I install it? I am using Putty and am unsure of how to get it on there as it doesn’t seem to be found.
Hi,
Personnaly, I prefer use the latest “official” version from Oracle (JDK 1.7) : http://www.oracle.com/technetwork/java/javase/downloads/index.html
If you are on the Angström distrib, you have to choose the “Linux ARM v6/v7 Soft Float ABI” version.
There is also a hard float version of the JDK8 (preview). It is available here : https://jdk8.java.net/download.html
Be aware that you need to use an OS compatible with the hard float version (Debian or Ubuntu for instance).
A few days ago, I wrote a post (in french) on my blog on performance comparison between JDK7 and JDK8 on BBB and RaspberryPi.
Regards,
Laurent
I assume you mean the one at http://lhuet.github.io/blog/? Interesting, I would have expected more difference between soft/hard float on the BBB. Your Raspberry Pi results comparison doesn’t surprise me at all however! What a difference Arm7 makes…
I assume you mean the one at http://lhuet.github.io/blog/?
Yep. I forgot the link in my previous response …
Interesting, I would have expected more difference between soft/hard float on the BBB.
Results are not very accurate because of the use of two differents OS with differents compilation options (I guess that Angstrom uses the NEON instructions and the Ubuntu does not for instance).
The aim of the bench was only to see if I could have better performance on Ubuntu/JDK 8 (or 7).
Your Raspberry Pi results comparison doesn’t surprise me at all however! What a difference Arm7 makes…
Some months ago, I did the same benchs with the BBW and results compared to Raspberry Pi were quite similar (https://github.com/lhuet/beaglebone-project/tree/master/benchJVMsARM) … even with a 720 MHz processor !
It is clearly the family difference of ARM (v7 vs v6) that makes the difference.
Hi Conrad,
Did you get Java working on BBB?
I have a BBB rev B. How big is your deployment image? Will it fit in the 2gb space?
I'm curious if I develop an swing java application in Windows using IntelliJ if it will run on the BBB.
Do you have to develop you applications on the BBB for it to work?
Does it require X Server or are there embedded options for GUI applications?
Just a few simple questions.