Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
09-01-2015, 04:55 AM
|
#1
|
LQ Newbie
Registered: Sep 2015
Posts: 17
Rep:
|
Install eclipse on BeagleBone Black
Hey there,
I'm using a beaglebone black board running "Linux beaglebone 3.8.13-bone47", which is a Debian distribution. I using "tightvncserver" on BBB and realVNC on windows, to have view a remote desktop of BBB.
I want to install eclipse for developing C/C++ applications on the BBB. So i downloaded the Eclipse for C/C++ developers for linux 32-bit. See image in link:
http://i.imgur.com/CV7wYXB.png
When I click the eclipse-"executable" nothing happends.
when I navigate directory and try it returns:
Code:
-bash: ./eclipse: cannot execute binary file
I'm new to this whole environment, so please have my excused if my question is too trivial, or not related to his forum..
|
|
|
09-02-2015, 01:56 AM
|
#2
|
LQ Newbie
Registered: Sep 2013
Posts: 3
Rep:
|
Eclispe requires the JAVA runtime environment.
I am not sure whether a JAVE runtime exists for the ARM platform but would strongly expect there is one.
First thing to do:
- check whether Java runtime is installed:
"java -version"
- if not - get it - make sure you choose the right one. BBB has an ARM processor NOT Intel x86 or AMD64
|
|
|
09-02-2015, 03:15 AM
|
#3
|
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,519
|
|
|
|
09-02-2015, 02:44 PM
|
#4
|
LQ Newbie
Registered: Aug 2015
Posts: 3
Rep:
|
Dont know if you figured this out yet or not. Thought this would be a good wiki for you to check out. At least help you get the IDE set up properly in case it wasn't
http://wiki.gumstix.org/index.php?ti...m_Box_to_Debug
|
|
|
09-09-2015, 04:15 AM
|
#5
|
LQ Newbie
Registered: Sep 2015
Posts: 17
Original Poster
Rep:
|
Thank you for your replies
I tried downloading Java DK 8u60 which should be supported by ARM by running this command:
Code:
wget http://download.oracle.com/otn-pub/java/jdk/8u60-b27/jdk-8u60-linux-arm32-vfp-hflt.tar.gz
This link should be the download link to: Java SE Development Kit 8 Downloads -> Linux ARM v6/v7 Hard Float ABI
The Linux ARM v8 file is for ARM64 pocessors?
The file I've downloaded is only about 5kB, and i see on my desktop computer, that it is suppose to be somewhenre around 70 MB.
So, just that i have understood this right, when i have downloaded til java DK or RE, i should be able to install eclipse natively on the BeagleBone Black.. Am i doing it wrong?
I took a look at the wiki as well, but i work figure out how i related to my problem?
Thanks again guys!
|
|
|
09-09-2015, 04:34 AM
|
#6
|
LQ Newbie
Registered: Sep 2015
Posts: 17
Original Poster
Rep:
|
Okay, I apparently downloaded the file the wrong way. Now I did it with a VNC server and viewer from my desktop. But when I ex extract the tar.gz file, a cannot find an executable file. Did I download the right package?
|
|
|
09-09-2015, 05:35 AM
|
#7
|
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,519
|
Re #7, #8.
You are supposed to go to http://www.oracle.com/technetwork/ja...s-2133151.html
.. Then click ""Accept License Agreement"".
Now click the link on that page : jdk-8u60-linux-arm32-vfp-hflt.tar.gz
.. And the 77.7 MB package will appear in your "Downloads".
( Attempting to use wget, you just get "nothing".)
-
|
|
|
09-09-2015, 11:06 AM
|
#8
|
LQ Newbie
Registered: Sep 2015
Posts: 17
Original Poster
Rep:
|
I did that, and got the complete file downloaded, but I can't install the package. I have unpackaged the file using
Code:
tar -zxvf "filename"
, but I can't find an executable within the package. And I'm not even sure if all this will allow me to install eclipse later on?
|
|
|
09-09-2015, 11:50 AM
|
#9
|
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,519
|
Re #8.
tar xvf jdk-8u60-linux-arm32-vfp-hflt.tar.gz
cd jdk1.8.0_60/bin/ .... to see or to list the 41 executable`s.
... And you can just link 'java' and 'javac' to a system PATH :
cd /usr/bin/
ln -s <folder-with-jdk1.8.0_60>/jdk1.8.0_60/bin/java
ln -s <folder-with-jdk1.8.0_60>/jdk1.8.0_60/bin/javac
Quote:
I can't install the package
|
There is no install. The folder jdk1.8.0_60/ can have any location.
-
|
|
|
09-16-2015, 07:03 AM
|
#11
|
LQ Newbie
Registered: Sep 2015
Posts: 17
Original Poster
Rep:
|
So I got java installed, I get this when I run 'java -version':
Quote:
java version "1.8.0_60"
Java(TM) SE Runtime Environment (build 1.8.0_60-b27)
Java HotSpot(TM) Client VM (build 25.60-b23, mixed mode)
|
When I try to install eclipse, I run './eclipse' in the directory containing eclipse, but the system returns:
Quote:
bash: ./eclipse: cannot execute binary file
|
I have tried running 'chmod +x eclipse' but his still doesn't allow me to run './eclipse'
Do you guys know if it is even possible for me install eclipse natively on a beaglebone, is eclipse made for the ARM architechture?
Thank you very much for your help, it has been very helpfull, even the cheeky link from maba001
|
|
|
09-16-2015, 08:28 AM
|
#12
|
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,519
|
Re #11 : Please read your own post #1 :
""So I downloaded the Eclipse for C/C++ developers for linux 32-bit"".
That's not an arm version.
"Linux 32-bit" is usually for an Intel / AMD etc. x86 processor.
Eclipse / ARM : https://www.google.com/webhp?hl=all&...+for+arm+linux
Example http://gnuarmeclipse.github.io/toolchain/install/
Etc. etc. ~4 million hits.
-
|
|
|
All times are GMT -5. The time now is 03:08 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|