Discussion:
[SM-Users] openoffice2-bin + jdk6-bin
Javier Vasquez
2007-09-07 19:04:38 UTC
Permalink
Hi,

I've installed jdk6-bin-6u2 and openoffice2-bin-2.2.1. Then I tried
to configure openoffice so that it uses jdk6, however when browsing
through the options on openoffice, it doesn't seem to recognize the
jdk path... I've tried both the j2sdk link and the direct jdk6 one,
and also the corresponding jre paths, and none seem to work.

It's not so bad since at least the gcj seems to be recognized by
default since I see FSF recognized by default...

Any hints on this?

BTW: Is there any spell available to try compiling openoffice2
instead of installing the binary version?

Thanks,
--
Javier
Pol Vinogradov
2007-09-07 20:51:01 UTC
Permalink
? Fri, 7 Sep 2007 13:04:38 -0600
Post by Javier Vasquez
Hi,
I've installed jdk6-bin-6u2 and openoffice2-bin-2.2.1. Then I tried
to configure openoffice so that it uses jdk6, however when browsing
through the options on openoffice, it doesn't seem to recognize the
jdk path... I've tried both the j2sdk link and the direct jdk6 one,
and also the corresponding jre paths, and none seem to work.
It's not so bad since at least the gcj seems to be recognized by
default since I see FSF recognized by default...
Any hints on this?
it's ~/.bash_profile fault. jdk6-bin installs /etc/profile.d/java.sh which
isn't sourced by .bash_profile in correct order. i modified it on my machine,
not sure it's right fix or not though.
# cat ~/.bash_profile
PATH1=/sbin:/usr/sbin:/usr/local/sbin
PATH2=/bin:/usr/bin:/usr/local/bin
PATH3=/usr/games:/usr/local/games
PATH4=/usr/bin/X11:~/bin
PATH=$PATH1:$PATH2:$PATH3:$PATH4
if [ -f /etc/profile ]; then
source /etc/profile
fi
Post by Javier Vasquez
BTW: Is there any spell available to try compiling openoffice2
instead of installing the binary version?
sandalle created git branch with openoffice spell... it's a WIP still. if you
want to test, fix or bug report you're welcome.
--
Sincerely yours Pol Vinogradov
E-mails: public at sourcemage.org; vin.public at gmail.com; pol-vinogradov at mail.ru
Jabber ID: vinpol at jabber.ru
Registered as #384571 at Linux Counter (http://counter.li.org/)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 481 bytes
Desc: not available
Url : http://lists.ibiblio.org/pipermail/sm-users/attachments/20070908/fe37fe47/attachment.bin
Eric Sandall
2007-09-28 01:16:33 UTC
Permalink
Post by Javier Vasquez
Hi,
I've installed jdk6-bin-6u2 and openoffice2-bin-2.2.1. Then I tried
to configure openoffice so that it uses jdk6, however when browsing
through the options on openoffice, it doesn't seem to recognize the
jdk path... I've tried both the j2sdk link and the direct jdk6 one,
and also the corresponding jre paths, and none seem to work.
Hrm, last I tried (though I didn't look closely) openoffice2-bin
worked fine with jdk6-bin, but then I only use it to read MS Word
files. Supposedly jdk6 is backwards compatible with JDK5.

Openoffice2-bin runs with jdk6-bin, but the help (the only part using
Java, IIRC) is what is failing?
Post by Javier Vasquez
It's not so bad since at least the gcj seems to be recognized by
default since I see FSF recognized by default...
Any hints on this?
The only work I've really done is to get openoffice to *compile* and
last I checked openoffice needed the next (not out yet) gcj 4.2.x
release, which I didn't try from CVS.
Post by Javier Vasquez
BTW: Is there any spell available to try compiling openoffice2
instead of installing the binary version?
I've tried (not too hard) to get openoffice to compile, but even 2.3.0
fails to compile without a lot of hackery. If you want to help out
with this there's a devel-openoffice branch in our grimoire for you to
play with. :)

-sandalle
--
Eric Sandall | Source Mage GNU/Linux Developer
eric at sandall.us PGP: 0xA8EFDD61 | http://www.sourcemage.org/
http://eric.sandall.us/ | http://counter.li.org/ #196285

----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.
Loading...