Hi Laurent, *,

On Wed, Dec 23, 2009 at 6:30 PM, Laurent Godard <oooc...@free.fr> wrote:
>
> first, i'm a beginner in mac os world
>
> I have an uno extension that fail to deploy due to java version under
> leopard. I need java 1.6 32 bits and only 64 bits is available under leopard

Unfortunately there's no way to select an specific JRE on Mac OSX currently.

On Mac OS X, there's one "JVM-launcher" that is used to create jvms of
all available version (while e.g. on linux there's a version specific
one)

What is done on Mac is to tell the "JVM-launcher" to create a jvm that
meets the 1.4 compliance.
http://pumbaa.ooodev.org:59145/source/xref/jvmfwk/plugins/sunmajor/pluginlib/sunjavaplugin.cxx#575

OOo doesn't have direct impact (it could be more strict about the
requirements, but the code doesn't do anything like that currently) on
what the launcher then actually choses..

> I tried this approach
> http://blog.adsdevshop.com/2008/02/26/installing-the-jdk-16-on-mac-os-x/
> It installs correctly and in a terminal , java -version is ok
>
> But, going to OOo java preferences, it says that no suitable java version is
> found in the directory, so i cannot use this 32 bits JVM

I didn't have any look at the URL above, but you can try to use the
equivalent of LD_PRELOAD to include the 1.6 libraries before the
default ones.
(DYLD_LIBRARY_PATH, see issue 88987 for an example)

Another one is to remove the 1.4 (and 1.5) versions so that the only
one left that fullfills the 1.4 compliance would be the 1.6 version.

ciao
Christian

---------------------------------------------------------------------
To unsubscribe, e-mail: mac-unsubscr...@porting.openoffice.org
For additional commands, e-mail: mac-h...@porting.openoffice.org

Reply via email to