java on the pi?

This forum is for topics specific to the Raspberry Pi and Arch Linux ARM

java on the pi?

Postby bugbugbug » Sun Jul 22, 2012 2:01 pm

Hi,

which java version should i use?
i only need the runtime. i don't want to develpe software.

- openjdk7 is not available on the pi.
- openjdk6 is not working
- oracle doesn't provide java for arm

...

google couldn't help me...i think nobody needs java on the pi expect of me ;)

thx!

EDIT: ok...oracle provides a arm version...is this the only chance to get java on the pi? i don't like the propretery java :(
bugbugbug
 
Posts: 5
Joined: Sun Jul 22, 2012 1:56 pm

Re: java on the pi?

Postby Huulivoide » Sun Jul 22, 2012 6:51 pm

It would seem that OpenJDK by default uses x86 assemly, so it isn't multiplatform, but only builds and runs on x86 based computers. There seems to be project "Zero" which is basicly arm compliant but I could not find the sources for it....
Huulivoide
 
Posts: 27
Joined: Tue Jun 26, 2012 6:22 pm

Re: java on the pi?

Postby Cobalt » Mon Jul 23, 2012 7:11 pm

You can install OpenJDK 6 with pacman.
To find it
$this->bbcode_second_pass_code('', 'pacman -Ss openjdk ')
To install it
$this->bbcode_second_pass_code('', 'pacman -S openjdk6')

Or download the Oracle Java SE Embedded 6 or 7 on http://www.oracle.com/technetwork/java/ ... index.html or try to find some other vendor.
Cobalt
 
Posts: 6
Joined: Mon Jul 23, 2012 7:05 pm

Re: java on the pi?

Postby karog » Mon Jul 23, 2012 8:28 pm

$this->bbcode_second_pass_quote('bugbugbug', '-') openjdk6 is not working

In what way does openjdk6 not work?

I run it on a pogoplug V2 (arm). I did have a minor problem where it relies on /usr/lib/libffi.so.5 which no longer exists since that lib was updated and openjdk6 has not been updated to reflect that. But I solved that with the following commands:
$this->bbcode_second_pass_code('', '
cd /usr/lib
ln -s libffi.so.6.0.0 libffi.so.5
')
karog
 
Posts: 304
Joined: Thu Jan 05, 2012 7:55 pm


Return to Raspberry Pi

Who is online

Users browsing this forum: No registered users and 20 guests