Beaglebone Green/Black Java for Linux ARM

159 views
Skip to first unread message

Adam Vadala-Roth

unread,
Sep 16, 2015, 12:52:07 AM9/16/15
to BeagleBoard
Hello, 

I'm new to using the Beaglebone. I decided to use it on one of my current projects. When I heard about the Beaglebone Green I decided that would be the one I get since I have no need for HDMI in my application. Anyways the BBG for me is functioning as a way to deploy a java application that communicates with the cloud and custom electrical hardware via USB/WiFi. 

So anyways I need Java to run my application as a packaged .JAR executable, so I installed the Linux ARM Java manually, by downloading it on my local machine and transfering it to the /temp folder, I unpacked it into the correct directory and set the PATH variable to make it available for use. I checked the Java version to make sure I installed it correctly. Next off I installed Maven and Gradle, I tested them by checking their version and confirmed they installed successfully. The reason I need all this stuff is because a piece of software called BowlerStudio I'm using in my main application runs off Java 8 and requires Maven and Gradle to build. When I attempt to build the application from source its seems to have an issue locating the JavaFX Libraries that are supposed to be included in the latest version of Java for ARM, the latest version and the version I intalled was Java 8 update 60 for ARM. Any idea why its unable to find JavaFX ?


BowlerStudio

Jason Kridner

unread,
Sep 23, 2015, 4:31:10 PM9/23/15
to beagl...@googlegroups.com
What steps did you use to install Java? I think there are multiple builds/packages for Java 8 update 60 for ARM.

--
For more options, visit http://beagleboard.org/discuss
---
You received this message because you are subscribed to the Google Groups "BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Robert Nelson

unread,
Sep 23, 2015, 4:48:11 PM9/23/15
to Beagle Board
On Wed, Sep 23, 2015 at 3:30 PM, Jason Kridner <jkri...@beagleboard.org> wrote:
> What steps did you use to install Java? I think there are multiple
> builds/packages for Java 8 update 60 for ARM.
>
> On Wed, Sep 16, 2015 at 12:52 AM, Adam Vadala-Roth
> <fenders...@gmail.com> wrote:
>>
>> Hello,
>>
>> I'm new to using the Beaglebone. I decided to use it on one of my current
>> projects. When I heard about the Beaglebone Green I decided that would be
>> the one I get since I have no need for HDMI in my application. Anyways the
>> BBG for me is functioning as a way to deploy a java application that
>> communicates with the cloud and custom electrical hardware via USB/WiFi.
>>
>> So anyways I need Java to run my application as a packaged .JAR
>> executable, so I installed the Linux ARM Java manually, by downloading it on
>> my local machine and transfering it to the /temp folder, I unpacked it into
>> the correct directory and set the PATH variable to make it available for
>> use. I checked the Java version to make sure I installed it correctly. Next
>> off I installed Maven and Gradle, I tested them by checking their version
>> and confirmed they installed successfully. The reason I need all this stuff
>> is because a piece of software called BowlerStudio I'm using in my main
>> application runs off Java 8 and requires Maven and Gradle to build. When I
>> attempt to build the application from source its seems to have an issue
>> locating the JavaFX Libraries that are supposed to be included in the latest
>> version of Java for ARM, the latest version and the version I intalled was
>> Java 8 update 60 for ARM. Any idea why its unable to find JavaFX ?
>>

I've been slacking on java..

Oracle Java 8 update 33 was the version i had packaged for
"oracle-java8-installer"

Right now i'm building the install for Oracle Java 8 update 60..

I've noticed Oracle Java 9 Beta 81 is now out, does anyone want that packaged?

Regards,

--
Robert Nelson
https://rcn-ee.com/

Johan Henselmans

unread,
Dec 27, 2017, 7:32:56 AM12/27/17
to BeagleBoard
Robert, do you still follow the Oracle java updates?

They have not been updated in a while.

I am using these to run OpenHab on a Beaglebone, as the openjdk version seems to be a lot slower.

Anyone else experiences with speed differences between openjdk and oracle jdk?

Kind Regards,
Johan

Robert Nelson

unread,
Dec 27, 2017, 1:29:34 PM12/27/17
to Beagle Board, Johan Henselmans
On Wed, Dec 27, 2017 at 6:32 AM, Johan Henselmans
<johan.he...@gmail.com> wrote:
> Robert, do you still follow the Oracle java updates?

Not really.. only if people ask..

> They have not been updated in a while.
>
> I am using these to run OpenHab on a Beaglebone, as the openjdk version
> seems to be a lot slower.
>
> Anyone else experiences with speed differences between openjdk and oracle
> jdk?

Well i updated Java 8 for you:

https://github.com/rcn-ee/repos/commit/20dac792c418534741f5a515eba68674bfa37a35

Just "sudo apt update ; sudo apt upgrade" to get it..

Otherwise it looks like Java 9 is now a no go for ARM:

http://www.oracle.com/technetwork/java/javase/downloads/jdk9-downloads-3848520.html

Johan Henselmans

unread,
Dec 28, 2017, 5:39:17 AM12/28/17
to BeagleBoard
Thanks!

The missing java 9 distribution is odd, I am sure I saw a version 9 arm version a few days ago.

Kind Regards,
Johan

Alex Bagehot

unread,
Dec 28, 2017, 6:17:23 AM12/28/17
to beagl...@googlegroups.com
On Thu, Dec 28, 2017 at 10:39 AM, Johan Henselmans <johan.he...@gmail.com> wrote:
Thanks!

The missing java 9 distribution is odd, I am sure I saw a version 9 arm version a few days ago.

Java 9 is interesting in that there are changes in Java, the JDK distribution media (eg. no jre directory, etc), and the ARM distribution - Oracle no longer shipping "embedded java".
So a lot of change.

I dug out some references:

Oracle submission of their ARM port to OpenJdk - http://openjdk.java.net/jeps/297

Azul OpenJdk distriubutions - https://www.azul.com/downloads/zulu-embedded/





If that is not enough the Release versioning was going to change in version 10 to "18.3", "18.9"... . But this was reversed. However you may see both all over the place.... http://mail.openjdk.java.net/pipermail/java-se-spec-experts/2017-December/000021.htmlhttp://openjdk.java.net/projects/jdk/10/spec/http://www.oracle.com/technetwork/java/eol-135779.html

HTH Alex
 

Kind Regards,
Johan

On Wednesday, December 27, 2017 at 7:29:34 PM UTC+1, RobertCNelson wrote:
On Wed, Dec 27, 2017 at 6:32 AM, Johan Henselmans
<johan.he...@gmail.com> wrote:
> Robert, do you still follow the Oracle java updates?

Not really.. only if people ask..

> They have not been updated in a while.
>
> I am using these to run OpenHab on a Beaglebone, as the openjdk version
> seems to be a lot slower.
>
> Anyone else experiences with speed differences between openjdk and oracle
> jdk?

Well i updated Java 8 for you:

https://github.com/rcn-ee/repos/commit/20dac792c418534741f5a515eba68674bfa37a35

Just "sudo apt update ; sudo apt upgrade" to get it..

Otherwise it looks like Java 9 is now a no go for ARM:

http://www.oracle.com/technetwork/java/javase/downloads/jdk9-downloads-3848520.html

Regards,


--
Robert Nelson
https://rcn-ee.com/

--
For more options, visit http://beagleboard.org/discuss
---
You received this message because you are subscribed to the Google Groups "BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/b497d23e-988c-4f91-81d7-7a039ab7eb7f%40googlegroups.com.

Alex Bagehot

unread,
Dec 28, 2017, 6:18:37 AM12/28/17
to beagl...@googlegroups.com
On Wed, Dec 27, 2017 at 12:32 PM, Johan Henselmans <johan.he...@gmail.com> wrote:
Robert, do you still follow the Oracle java updates?

They have not been updated in a while.

I am using these to run OpenHab on a Beaglebone, as the openjdk version seems to be a lot slower.

Anyone else experiences with speed differences between openjdk and oracle jdk?

Do you have any details on versions , workloads , throughput/ latency numbers etc? The oracle and OpenJdk codebases are different (different JIT compilers etc) for ARM so you will likely see differene performance results.
Would be interesting to see.

Thanks
Alex
 

--
For more options, visit http://beagleboard.org/discuss
---
You received this message because you are subscribed to the Google Groups "BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscribe@googlegroups.com.

Johan Henselmans

unread,
Jan 23, 2018, 4:17:54 AM1/23/18
to BeagleBoard
Reply all
Reply to author
Forward
0 new messages