LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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


Reply
  Search this Thread
Old 09-01-2015, 04:55 AM   #1
Kippers
LQ Newbie
 
Registered: Sep 2015
Posts: 17

Rep: Reputation: Disabled
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
Code:
./eclipse
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..
 
Old 09-02-2015, 01:56 AM   #2
maba001
LQ Newbie
 
Registered: Sep 2013
Posts: 3

Rep: Reputation: Disabled
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
 
Old 09-02-2015, 03:15 AM   #3
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,519

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
"jre" runtime for ARM is available ....

http://www.oracle.com/technetwork/ja...s-2187472.html
 
Old 09-02-2015, 02:44 PM   #4
Quinn L
LQ Newbie
 
Registered: Aug 2015
Posts: 3

Rep: Reputation: Disabled
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
 
Old 09-09-2015, 04:15 AM   #5
Kippers
LQ Newbie
 
Registered: Sep 2015
Posts: 17

Original Poster
Rep: Reputation: Disabled
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!
 
Old 09-09-2015, 04:34 AM   #6
Kippers
LQ Newbie
 
Registered: Sep 2015
Posts: 17

Original Poster
Rep: Reputation: Disabled
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?
 
Old 09-09-2015, 05:35 AM   #7
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,519

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
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".)

-
 
Old 09-09-2015, 11:06 AM   #8
Kippers
LQ Newbie
 
Registered: Sep 2015
Posts: 17

Original Poster
Rep: Reputation: Disabled
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?
 
Old 09-09-2015, 11:50 AM   #9
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,519

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
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.


-
 
Old 09-10-2015, 02:01 AM   #10
maba001
LQ Newbie
 
Registered: Sep 2013
Posts: 3

Rep: Reputation: Disabled
And you might want to check the first result of this search:

http://en.lmgtfy.com/?q=install+java...aglebone+black
 
Old 09-16-2015, 07:03 AM   #11
Kippers
LQ Newbie
 
Registered: Sep 2015
Posts: 17

Original Poster
Rep: Reputation: Disabled
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
 
Old 09-16-2015, 08:28 AM   #12
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,519

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
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.

-
 
  


Reply

Tags
eclipse, eclipse for arm


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
BeagleBone Black enine Slackware - ARM 10 09-04-2015 02:24 AM
beaglebone black running ubuntu. nixdunce Ubuntu 1 07-22-2013 10:20 PM
Beaglebone Black devwatchdog Linux - Embedded & Single-board computer 2 06-08-2013 11:50 PM
LXer: BeagleBone Black Review LXer Syndicated Linux News 0 05-29-2013 06:41 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:08 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration