Page 1 of 1

Installing JDK 7u6 on Raspian soft-float ABI

Posted: Sat Aug 18, 2012 9:01 pm
by step1041
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

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

Posted: Sun Aug 19, 2012 10:05 pm
by elatllat
why not just use:

Code: Select all

apt-get intall openjdk-7-jdk
?

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

Posted: Mon Aug 20, 2012 6:37 am
by fruitloaf
What are you having a problem with? It was pretty much extract and go for me.

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

Posted: Wed Aug 22, 2012 6:30 am
by savageautomate
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

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

Posted: Wed Aug 22, 2012 6:36 am
by savageautomate

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

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

Posted: Sat Aug 25, 2012 8:46 pm
by savageautomate
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

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

Posted: Sat Aug 25, 2012 9:49 pm
by step1041
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.