Beaglebone: Java Setup (JRE), Eclipse and Remote System Explorer (RSE)
ฝัง
- เผยแพร่เมื่อ 14 พ.ย. 2013
- This short video explains: how you can install the Java Runtime Environment (JRE) on the Beaglebone Black; how you can build Java applications using Eclipse and deploy them to the Beaglebone; and, finally how you can use the Remote System Explorer (RSE) plugin for Eclipse that streamlines the process. This video is for student of my EE402 module in Dublin City University who will be building client/server applications using the Beaglebone as one of the platforms.
Further information on the videos on this channel can be found at the website www.derekmolloy.ie/ including update blogs, source code, text guides and structured instruction.
www.derekmolloy.ie
For people who are doing this in 2018. Follow these steps:
1. Download the JAVA SE Embedded "ARM v6/v7 Linux - VFP, HardFP ABI, Little Endian 1" for Debian
2. Do the same process as shown in video for transferring the file and extracting it in /usr/java folder in root.
Just modify the first exporting path command to this:
export PATH=$PATH:/usr/java/ejdk1.8.0_161/linux_armv6_vfp_hflt/jre/bin
This worked for me. Hope this helps others too.
Here's your well earned internet points!
ASs usual: EXCELLENT VIDEO,. Saved me a lot of time . THANK YOU.
Derek-I have to thank you for all of this ,you really kept me from jumping off of what ever I could find that was high enough :) . Thanks again for the instruction , there really is a Santa Claus!
Joe
Thank you for making these videos!
Keep the good work
awesome videos !!!!
Muchas gracias
Hello! Awesome video! I was just wondering:
1. Did you say that you are running a Virtual Machine on the BeagleBone?
2. Do you have to have the same Java-versions on your PC and the BeagleBone?
3. Why did you use Soft Float and not Hard Float?
I knew he is gamer
If i create a Java GUI app using swing awt, and execute it via the terminal from eclipse will i see the GUI window pop up on eclipse
It's posible to implements the openCV ibrary for java on the BeagleBone?
If you are planning to install Java SE Embedded 8, the installation has changed. Java in version 8.0 uses "Compact Profiles" which allow one to produce different versions of an application depending on what Java features are used.
For an overview of "Compact Profiles" try:
www.oracle.com/technetwork/java/embedded/resources/tech/compact-profiles-overview-2157132.html
I mention this because I just downloaded Java SE Embedded 8 and uncompressed it thinking the result would be the JDK. It was not simply the JDK, but a very different file structure which supports this new feature.
Thanks Dennis - very useful.
I meant to say that compact profiles allow you to create different versions of the JRE which will run your application..
Hi Derek,
First at all, excellent tutorials!
Currently I am working on satellite project and we are using a Beaglebone black as the heart for a transceiver. I going to need to use the ISP interface and the I2C one. Can one access them using a regular java JRE application running on the BBB? I check pi4j project(pi4j.com/) and they seems to provide a package that provide most of the functionality. If this is possible, do you have any recommendation about with libraries to use?… thanks
Hi friends. Please help me. I followed every steps of this video. I echieved to work on Eclipse. But next day, when I turn on the laptop, I have tried to connect with psftp or putty (open 192.168.7.2 ) and I don't have achieved it. I have failed. What can I do? Thanks. Note: The connection by browser works well. (Mozilla Firefox 192.168.7.2 and 192.168.7.2:3000 0K).
Derek, I'm following your video - when I try to "git clone" of ee402, it says "Cloning into ee402..." then "error: while accessing github.com/derekmolloy/ee402/info/refs" then "fatal: HTTP request failed". Any idea what I'm doing wrong? Thanks!!
It could be a certificates problem. Does "git clone git://github.com/derekmolloy/ee402.git" work? If so, then there is a post at derekmolloy.ie on how to set up the certificates for https.
Hi Derek,
I "believe" I did everything correctly but I get this error:
-bash: /usr/java/ejre1.7.0_45/bin/java: No such file or directory
I followed very closely and everything went exactly right up until I did the version check.
Any tips? Maybe I typed something wrong?
I get the same thing. So frustrating. The file exists and everything. If you work it out let me know how (I'll do the same).
S Charlesworth Conrad King Hi Conrad, S, it sounds like the java executable is not being found in your path. You can check this by going directly cd'ing into the /usr/java/ejre1.7.0_45/bin directly and try to execute java by typing ./java -version If that works then it is definitely a path problem. Good luck, Derek.
Howdy +Conrad King I'm back, I found a solution that works, at least for me. I needed to install these lbc related packages:
sudo apt-get install libc6-*
After waiting for that to do its thing for 15 minutes it seems, I was up and running. Good luck (I'm on Ubuntu btw).
Thanks. I'll test tonight. Big thanks!
I had this error, turned out that i had accidentially downloaded ejre-7u51-fcs-b13-linux-arm-vfp-hflt-client_headful-18_dec_2013.tar.gz
instead of
ejre-7u51-fcs-b13-linux-arm-vfp-sflt-client_headful-18_dec_2013.tar.gz
(Note hflt vs sflt)
Thank you for the video though i have one question regarding the password for root.How can i change the password for root if i never used it or how should i log in as root with a password that doesn't exist??These are simple questions where i can find 0 answers online,especially for PSFTP. Please assume everything that you're explaining with details because maybe i sounded stupid right now but there are more like me out there who would appreciate an explanation.As a result,you're video is useless for me at the moment :)