Mac OS X 10.7.3 - Java

Hi :slight_smile:
No-Op it is always possible to forwards a post back to the list, as i have just done.  It breaks it into a new thread.  It's not something you could be expected to know so i hope i have been able to help you there :slight_smile:

Can anyone help with the Robson's question?  Is it soemthign to do with
LibreOffice - Preferences - Java
Does that show at least one version of java installed on the Mac?  If there isn't a version of java installed then perhaps install one from
http://www.java.com
Regards from
Tom :slight_smile:

Sorry, but I am just not clear on what the issue is, but you probably DO want to stick with using OSX software update to keep Apple released java current. There is an OSX java app in utilities folder that provides details of java installation.

But..... Java was not included in Lion I think, so if you do not see a java version then you just need to download it.

Hi Marc,

But..... Java was not included in Lion I think, so if you do not see a java version then you just need to download it.

Yep, Apple pulled Java from the Lion release. If users want an Oracle
Java, they have to go and install it themselves now, at least that is
what I understand the situation to be.

Alex

Hi Tom,

Can anyone help with the Robson's question? Is it soemthign to do with
LibreOffice - Preferences - Java
Does that show at least one version of java installed on the Mac? If there isn't a version of java installed then perhaps install one from

Robson has stated that the problem exists on Windows too, so there is
probably a scripting component registration balls up somewhere in that
version of LO or else, a problem with version 1.7 of Java, which he
reported as having on his system. Will check it out for myself on Mac
Snow Leopard (where Java is present anyway).

Alex

For java for lion http://support.apple.com/kb/DL1421

Hi,

Sorry. My english is so bad.

There are Java installed on OSX, and the version is:
$ java -version
java version "1.6.0_29"
Java(TM) SE Runtime Environment (build 1.6.0_29-b11-402-11M3527)
Java HotSpot(TM) 64-Bit Server VM (build 20.4-b02-402, mixed mode)

It's visible on "LibreOffice - Preferences - Java" in both (Windows and OSX).

The problem is:

All scripts from "share/Scripts/java" isn't appearing in runnable macro's list. To be more specific, it's not showing any macro write in java.

I tested the OpenOffice and it are working very well. I tested the LibreOffice 3.4.5 on Fedora 16 and work very well, too.

I tested on OS X the LibreOffice 3.4.6 and are working very well.

I have Mac 10.7.3 and Java is installed by Apple version 1.6.0_29
I have always felt it wise to stick to the Apple version concurrent with
each system.
Using Libre 3.5.2.1, I have no trouble running macros.

Tink.

Tinkerer, did you test java macros ? Not BeanShell.

Because you mentioned Memory test, and that is a Java macro, I tried that and
it worked.
I also used CT2N, Convert Text to Numbers, and that works.

Tink.

I try to execute the command:

$ soffice "vnd.sun.star.script:MemoryUsage.MemoryUsage.updateMemoryUsage?language=Java&location=share"

but a get this error: "Message: The script language Java is not supported"

And my Java are active: "Apple Inc. 1.6.0_29"

Robinho

Hi Robson,

I try to execute the command:

$ soffice "vnd.sun.star.script:MemoryUsage.MemoryUsage.updateMemoryUsage?language=Java&location=share"

but a get this error: "Message: The script language Java is not supported"

Confirming, I have signalled this to the dev list and will open a bug
report.

Alex

Hi Robson,

Further to my previous message, it appears that this is a known bug with
3.5 and has not been deemed critical enough to prevent release of 3.5.1 :

https://bugs.freedesktop.org/show_bug.cgi?id=46102

Maybe it will get fixed for 3.5.2, or later...

Alex

Hi Robson,

I try to execute the command:

$ soffice "vnd.sun.star.script:MemoryUsage.MemoryUsage.updateMemoryUsage?language=Java&location=share"

but a get this error: "Message: The script language Java is not supported"

Thanks a lot.