You are not logged in.

#1 2007-05-14 22:21:09

DeltaXFX
Member
From: USA
Registered: 2006-08-01
Posts: 74

Arch 64 and java with firefox and openoffice

I switched to Arch 64 a while back, from Arch 32, and am having some java questions.
Which is the best idea? Try to get java working correctly with firefox *bon echo* in a 64 bit environment, which I have had no luck doing, or install the 32 bit libraries and run 32 bit firefox and java?
I have tried the jre and the blackdown-jre with no luck. I think maybe I just didn't do something right when installing the blackdown-jre from the AUR. Do I need to make a symlink in firefox for the java plugin? Or is that supposed to be automatic?

Another question that I think is java related, my openoffice Base crashes all the time. Anytime I try to edit a database, either through a form, or through the spreadsheet looking editor (right click the table and select edit) openoffice will crash, it does not even give the usual error reporting window, all the openoffice windows just disappear. I have tried that with the jre and with the blackdown-jre as well.

Has anyone had any luck with either of those? I want to get both working correctly, but is there one solution to satisfy both needs?


The Internet...? Is that thing still around?

Offline

#2 2007-05-15 06:06:27

Pierre
Developer
From: Bonn
Registered: 2004-07-05
Posts: 1,964
Website

Re: Arch 64 and java with firefox and openoffice

Only Konqueror supports java on arch64. (ok, there are some hacks like nspluginwrapper or a arch32 chrot)

Offline

#3 2007-06-05 23:59:35

tanis
Member
From: Poland / Waterloo, ON, Canada
Registered: 2007-04-21
Posts: 259

Re: Arch 64 and java with firefox and openoffice

Is it possible to use nspluginwrapper with 32bit Java plugin??
Because I've read it uses different plugin architecture and can't be used with nspluginwrapper....

Offline

#4 2007-06-06 03:34:03

AndyRTR
Developer
From: Magdeburg/Germany
Registered: 2005-10-07
Posts: 1,641

Re: Arch 64 and java with firefox and openoffice

gcc-gcj now provides a java plugin for mozilla based browsers. but it's not yet really working. give it some time.

Offline

#5 2007-06-20 16:15:43

rdesh
Member
Registered: 2007-05-03
Posts: 6

Re: Arch 64 and java with firefox and openoffice

ive used blackdown-jre in AUR with success...

Offline

#6 2007-06-20 18:17:22

Janax
Member
From: Iowa
Registered: 2007-05-21
Posts: 86

Re: Arch 64 and java with firefox and openoffice

I started out trying the nsplugin stuff, but wasn't able to get some 32-bit-only features of the JDK working at all (like JavaWS, etc.), regardless of what browser I was using.  So I cobbled together a lib32-jdk package and use it with a 32-bit swiftfox build.  I don't think that anyone else is using the lib32-jdk package yet though big_smile...  at least, no one has voted for it.  Here's a link if you're interested: lib32-jdk on AUR

Offline

#7 2007-06-21 18:20:49

JAwuku
Member
Registered: 2007-05-07
Posts: 24

Re: Arch 64 and java with firefox and openoffice

Glad to see you got the Java JDK working! smile

When I return home at the weekend I will test it out.

Offline

#8 2007-06-23 13:51:00

tanis
Member
From: Poland / Waterloo, ON, Canada
Registered: 2007-04-21
Posts: 259

Re: Arch 64 and java with firefox and openoffice

It works smile
I also created links:
libflashplayer.so -> /usr/lib/mozilla/plugins/libflashplayer.so
libjavaplugin_oji.so -> /opt/java32/jre/plugin/i386/ns7/libjavaplugin_oji.so
in /opt/swiftxof/plugins directory, and now I have flash and java working in Swiftfox,
and everything else (including flash using nspluginwrapper) working in Firefox smile

Offline

#9 2007-06-25 21:19:38

Kenetixx
Member
From: /unvrs/mlkywy/earth/aust/home
Registered: 2006-09-09
Posts: 258
Website

Re: Arch 64 and java with firefox and openoffice

rdesh wrote:

ive used blackdown-jre in AUR with success...

Same here works a treat without any issue......yet.


http://binaryritual.net

There is no spoon.......

Offline

#10 2007-06-28 18:05:45

arunvragh
Member
Registered: 2007-04-17
Posts: 111

Re: Arch 64 and java with firefox and openoffice

I messed around for quite some time and sorted it out by installing blackdown-jre from AUR. Pkgbuild needs to be changed to include x86_64. I then downloaded the 64 bit jre pkg from Sun and unpacked it to /opt/java. I renamed jre folder (with blackdown) to blackdown-jre, and renamed the sun java folder jre -1.6.0 blah blah to jre. I then exported JAVA_HOME to point to the renamed jre folder. Modified /etc/profile to use java = jre. Modified all java symlinks in /usr/share and /usr/local/bin to point to Sun jre. Did source /etc/profile as root.

I placed a symlink to javapugin (blackdown-jre) in /opt/mozilla/firefox-2.0.0.4/plugins .

Now firefox uses blackdown but all other programs like limewire openoffice etc uses Sun Java.

Did I take a long way going about this? I am only a few months into Archlinux.

Offline

#11 2007-06-29 19:49:16

LnxArch
Member
Registered: 2007-06-29
Posts: 28

Re: Arch 64 and java with firefox and openoffice

When will be the java package avaiable for Arch64 without having to do anythjing but pacman -S java ?


Penguins do it better

Offline

#12 2007-06-30 00:57:52

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: Arch 64 and java with firefox and openoffice

LnxArch wrote:

When will be the java package avaiable for Arch64 without having to do anythjing but pacman -S java ?

That's already the case:

[skottish@localhost ~]$ pacman -Q jdk jre
jdk 6u1-1
jre 6u1-1

It's just that Sun never got around to building the 64 bit plug-in. They figured that 64 bit was for servers, and the plug-in was a desktop thing.

The Blackdown project did build the plug-in, but it basically went away when Sun decided to support 64 bit platforms other than Solaris. One thing of note: Blackdown was always working with Sun to port Java to Linux and other architectures; They were never autonomous.

Last edited by skottish (2007-06-30 01:01:07)

Offline

Board footer

Powered by FluxBB