[Open Office] findhome Re: JRE register fails when building 2.0.4 on Mandriva 2007 x86_64

Jim Watson jim at amarooas.com.au
Thu Oct 26 05:50:22 EDT 2006


On 26/10/2006, at 7:27 PM, Caolan McNamara wrote:
> class findhome
> {
>         public static void main(String args[])
>         {
>                 System.out.println(System.getProperty("java.home"));
>
> System.out.println(System.getProperty("gnu.classpath.home.url"));
>         }
> }
>
> gcj -C findhome.java
> gij findhome
>
> what does it say ?

I have two javas today ;)
For building and running OOo, only the second (in /usr/local/4.1)  
works yet...

jim at sun:~$ javac findhome.java
jim at sun:~$ java findhome
/usr/lib/jvm/java-1.4.2-gcj-4.1-1.4.2.0/jre
file:///usr/lib/../lib

jim at sun:~$ /usr/local/4.1/bin/gcj -C findhome.java
jim at sun:~$ /usr/local/4.1/bin/gij findhome
/usr/local/4.1
file:///usr/local/4.1/lib
jim at sun:~$

This is linux/sparc on debian unstable.

jim




More information about the Openoffice mailing list