step1041
Posts: 15
Joined: Sun Jul 29, 2012 3:33 am

Installing JDK 7u6 on Raspian soft-float ABI

Sat Aug 18, 2012 9:01 pm

I was wondering if anyone had any instructions for getting it installed properly, I have been working at it for a couple of hours now with no success.

I made sure to use a fresh copy of Raspian with the soft-float ABI, which is supported by the Oracle JDK 7u6.

Thanks

elatllat
Posts: 1337
Joined: Sat Dec 17, 2011 5:05 pm

Re: Installing JDK 7u6 on Raspian soft-float ABI

Sun Aug 19, 2012 10:05 pm

why not just use:

Code: Select all

apt-get intall openjdk-7-jdk
?
SBC with 32GB RAM: https://hardkernel.com

FAQ : https://raspberrypi.stackexchange.com

Unanswered: https://www.raspberrypi.org/forums/search.php?search_id=unanswered

fruitloaf
Posts: 84
Joined: Sun Feb 05, 2012 11:41 am

Re: Installing JDK 7u6 on Raspian soft-float ABI

Mon Aug 20, 2012 6:37 am

What are you having a problem with? It was pretty much extract and go for me.

User avatar
savageautomate
Posts: 228
Joined: Thu Aug 16, 2012 3:20 pm
Location: USA
Contact: Website

Re: Installing JDK 7u6 on Raspian soft-float ABI

Wed Aug 22, 2012 6:30 am

Here is a blog post with detailed instructions on how to install the Oracle JRE on the Debian Squeeze and Debian Wheezy builds for your Raspberry Pi:
http://www.savagehomeautomation.com/pro ... t-jre.html

Image

Good Luck!
-Robert
Last edited by savageautomate on Wed Aug 22, 2012 6:38 am, edited 1 time in total.
Robert Savage | Follow me @savageautomate
http://www.pi4j.com | http://www.pislices.com
http://www.savagehomeautomation.com

User avatar
savageautomate
Posts: 228
Joined: Thu Aug 16, 2012 3:20 pm
Location: USA
Contact: Website

Re: Installing JDK 7u6 on Raspian soft-float ABI

Wed Aug 22, 2012 6:36 am

Code: Select all

apt-get intall openjdk-7-jdk
This apt-get command will install the Open JDK, not the Oracle JRE.
This is perfectly fine for simple Java programs, but its performance is pretty limited and the Oracle JRE runs about twice as fast when compared against the Open JDK using the cacao VM option.

See chrisg's benchmark results in this post for a comparison:
http://www.raspberrypi.org/phpBB3/viewt ... =34&t=6369
Robert Savage | Follow me @savageautomate
http://www.pi4j.com | http://www.pislices.com
http://www.savagehomeautomation.com

User avatar
savageautomate
Posts: 228
Joined: Thu Aug 16, 2012 3:20 pm
Location: USA
Contact: Website

Re: Installing JDK 7u6 on Raspian soft-float ABI

Sat Aug 25, 2012 8:46 pm

New article with step-by-step instructions on how to install the new Oracle JDK on your Raspberry Pi.
http://www.savagehomeautomation.com/pro ... -170u.html
Robert Savage | Follow me @savageautomate
http://www.pi4j.com | http://www.pislices.com
http://www.savagehomeautomation.com

step1041
Posts: 15
Joined: Sun Jul 29, 2012 3:33 am

Re: Installing JDK 7u6 on Raspian soft-float ABI

Sat Aug 25, 2012 9:49 pm

savageautomate wrote:New article with step-by-step instructions on how to install the new Oracle JDK on your Raspberry Pi.
http://www.savagehomeautomation.com/pro ... -170u.html
Thanks Robert!

That post is exactly what I was looking for. Hopefully others will see it and learn to get Java running on their Pi.

Return to “Other programming languages”