Difference between revisions of "Java and OpenOffice.org"

From Apache OpenOffice Wiki
Jump to: navigation, search
(Automagically converted by twiki2mediawiki)
 
m (Main OOoJava moved to OOoJava)
(No difference)

Revision as of 13:56, 22 November 2005


OpenOffice.org 2.0 Functionality depending on Java

for use Java in OpenOffice.org, please see

OpenOffice.org Base

  • Create Form Wizard

OpenOffice.org Writer

  • Letter Wizard
  • Fax Wizard
  • Agenda Wizard
  • HTML Wizard

OpenOffice.org Calc

All

  • OfficeBean
  • Java Script Macros
  • Beanshell Macros
  • Python ???

Question: What is exactly not working ? Tools->Organzie Macros->[[[Main_JavaScript|JavaScript]]|Beanshell|Python] pops up a message boxes that no JRE is installed but then the Dialog is displayed (please also see http://www.openoffice.org/issues/show_bug.cgi?id=46680)


Java detection in StarOffice 8 and OpenOffice.org 2

Which Java will be used ?

StarOffice tries to detect the newest Java version installed. StarOffice only detects Sun Java versions, while OpenOffice.org also detects Java versions from other vendors. When using versions from different vendors, the numbering system might be different so maybe not the newest version is used. You can change the Java version in StarOffice via tools/options/Java. On GNOME, if AT tool support is enabled, StarOffice will use that latest version where the Java Access Bridge is enabled.

When is Java detection done ?

On Windows, detection is done the first time Java is used. On Linux/Solaris, detection is done the first time a user starts StarOffice.

How can I reset the Java configuration ?

The configuration is stored in

< staroffice-config > /user/config/javasettings_ < platform > .xml.

Just delete this file if you want StarOffice to detect again. The Java configuration file cannot be modified manually. The data format is not specified an may change anytime without further notice. Don't try to modify that file to change the Java version. The < location > and < version > entries are only for 'documentation', the Java version is accessed via the < vendorData > , which is binary.


Personal tools