Summary: | openoffice-bin 1.9.95 doesn't run, complains about java | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Bruno Lustosa <bruno> |
Component: | Current packages | Assignee: | AMD64 Project <amd64> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | istari_dur, jakub, maze, office, t35t0r, tacvbo, thorvall, x11-drivers |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | sun-jre-bin-1.5.0.05.ebuild |
Description
Bruno Lustosa
2005-05-12 07:31:48 UTC
OOo is Sun-ware - what do you expect... Reassigning Best guess: you have 64-bit java, and openoffice-bin is 32-bit. You will need a 32-bit java, such as Sun's java. Then there should be some modification in the ebuild, either taking out the ~amd64 keyword, or making sure a 32-bit java is installed as a dependency. Is there a way to install a 32-bit java using portage or must I install it by hand? There's no way as by default amd64 jdks are used on amd64. Your best bet is to wait until groups like debian have completed their task of making things work with gcj. I just modified blackdown-j* ebuilds in order to install the 32bits ones insted of 64bits and worked great. dev-java/sun-jdk are masked on amd64, and dev-java/sun-jre-bin install a 64bit version (I think it could be modified too, but I prefeer blackdown). The cool thing about having a java runtime enviroment in 32bits is to have *all* (realplayer, flash..) netscape plugins working with mozilla-firefox-bin. :-) Solution: 1) Download the 32 bit linux java from sun (https://sdlcweb1a.sun.com/ECom/EComActionServlet/DownloadPage:~:com.sun.sunit.sdlc.content.DownloadPageInfo;jsessionid=2C6D75956756AB8BE55C097842655073;jsessionid=2C6D75956756AB8BE55C097842655073) 2) Install by running the .bin file. 3) Put in /opt as jre_blah_blah_32bit or whatever you want 4) start ooffice, tools -> options -> java and set it to the /opt/jre_blah_blah directory. Until we have an ebuild to build a 64bit version of this ooffice beast or an ebuild for a 64bit binary, then this is the only very quick fix. Someone mark this as closed/resolved. Emmm, I can't see anything resolved/closed. :-\ resolve bug, changing resolution to fixed Eggg., I mean, there are no solution for this bug. Maybe it could be an INVALID bug, but particularly here, I think that it should exist the possibility on MULTI_ABI systems to install 32bit JRE/JDK rather than just 64bits. The other one is, just wait for an *stable* openoffice-bin v.2 in 64bits. :-) *** Bug 100395 has been marked as a duplicate of this bug. *** Uhm, the duplicate bug with exactly the same error message reports, that running 'opengl-update xorg-x11' (!) fixes the problem and it breaks again after 'opengl-update nvidia'. Huh, go figure... I got a similar problem, but WITHOUT the first line with "javaldx:...". This problem only arises with 1.9.118, but not with 1.9.109. Please, can you put back the 1.9.109 ebuild into portage tree? I tried the 122 version now, but still without luck. However, the 109 ebuild is away and I cannot emerge that version anymore. Thanks. If you're problem is a java error then all you need to do is get a 32 bit java from sun and point the openoffice to it. You can download 109 from openoffice's website. If you need the version 1.9.109 extract it from a snapshot (e.g. http://distro.ibiblio.org/pub/linux/distributions/gentoo/snapshots/portage-20050803.tar.bz2) and copy it to your portage-overlay! (In reply to comment #14) > Please, can you put back the 1.9.109 ebuild into portage tree? http://www.gentoo.org/cgi-bin/viewcvs.cgi/app-office/openoffice-bin/ *** Bug 101973 has been marked as a duplicate of this bug. *** *** Bug 101973 has been marked as a duplicate of this bug. *** plan is this: when 2.0 is released, we'll provide a 64bit -bin for amd64, so one can run openoffice-bin on non-multilib systems too. till then, just use a stable version or a 32bit jre :) reopening, since OOo-2 still doesn't build *sigh* Created attachment 71309 [details]
sun-jre-bin-1.5.0.05.ebuild
Ebuild to install 32 bit sun JRE onto a 64 bit system
A quick question: As -java seems to work fine for AMD64, why not force it for this arch? Added a new package, emul-linux-x86-java which installs a 32bit jre (blackdown) and corresponding nsplugin for use in 32bit browsers. Adjusted openoffice-bin to depend on this. |