Difference between revisions of "Java and OpenOffice.org"

From Apache OpenOffice Wiki
Jump to: navigation, search
m (Main OOoJava moved to OOoJava)
(cleanup)
Line 1: Line 1:
 +
== OpenOffice.org 2.0 Functionality depending on Java ==
  
 +
for use Java in OpenOffice.org, please see
  
 +
* [http://tools.openoffice.org/policies/java_usage.html Policy for the usage of Java in the OpenOffice.org project]
  
=== [[Main_OpenOffice|OpenOffice]].org 2.0 Functionality depending on Java===
+
=== OpenOffice.org Base ===
 
+
for use Java in [[Main_OpenOffice|OpenOffice]].org, please see
+
 
+
* Policies : http://tools.openoffice.org/policies/java_usage.html
+
 
+
==== [[Main_OpenOffice|OpenOffice]].org Base====
+
  
 
* Create Form Wizard
 
* Create Form Wizard
  
==== [[Main_OpenOffice|OpenOffice]].org Writer====
+
=== OpenOffice.org Writer ===
  
 
* Letter Wizard
 
* Letter Wizard
Line 19: Line 16:
 
* HTML Wizard
 
* HTML Wizard
  
* [[Main_SaveAs|SaveAs]] -> [[Main_AportisDoc|AportisDoc]] (Palm)
+
* SaveAs -> AportisDoc (Palm)
* [[Main_SaveAs|SaveAs]] -> [[Main_DocBook|DocBook]]
+
* SaveAs -> DocBook
* [[Main_SaveAs|SaveAs]] -> Pocket Word (*.psw)
+
* SaveAs -> Pocket Word (*.psw)
  
==== [[Main_OpenOffice|OpenOffice]].org Calc====
+
=== OpenOffice.org Calc ===
  
* [[Main_SaveAs|SaveAs]] -> Pocket Excel
+
* SaveAs -> Pocket Excel
  
==== All====
+
=== All ===
  
* [[Main_OfficeBean|OfficeBean]]
+
* [[OfficeBean]]
* Java Script Macros
+
* [[JavaScript Macros]]
* Beanshell Macros
+
* [[Beanshell Macros]]
 
* Python ???
 
* 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)
+
Question: What is exactly not working ? Tools->Organzie Macros -> JavaScript|Beanshell|Python pops up a message boxes that no JRE is installed but then the Dialog is displayed (see http://www.openoffice.org/issues/show_bug.cgi?id=37020)
  
 +
== Java detection in OpenOffice.org 2 and StarOffice 8 ==
  
=== Java detection in [[Main_StarOffice|StarOffice]] 8 and [[Main_OpenOffice|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.
  
==== Which Java will be used ?====
+
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.
  
[[Main_StarOffice|StarOffice]] tries to detect the newest Java version installed.
+
On [[GNOME]], if AT tool support is enabled, StarOffice will use that latest version where the [[Java Access Bridge]] is enabled.
[[Main_StarOffice|StarOffice]] only detects Sun Java versions, while [[Main_OpenOffice|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 [[Main_StarOffice|StarOffice]] via tools/options/Java.
+
On GNOME, if AT tool support is enabled, [[Main_StarOffice|StarOffice]] will use that latest
+
version where the Java Access Bridge is enabled.
+
  
===When is Java detection done ?====
+
=== When is Java detection done? ===
  
On Windows, detection is done the first time Java is used.
+
On Windows, detection is done the first time Java is used. On Linux/Solaris, detection is done the first time a user starts StarOffice.
On Linux/Solaris, detection is done the first time a user starts [[Main_StarOffice|StarOffice]].
+
  
==== How can I reset the Java configuration ?====
+
=== How can I reset the Java configuration? ===
  
The configuration is stored in  
+
The configuration is stored in
  
< staroffice-config > /user/config/javasettings_ < platform > .xml.
+
< staroffice-config > /user/config/javasettings_ < platform > .xml
  
Just delete this file if you want [[Main_StarOffice|StarOffice]] to detect again.
+
Just delete this file if you want StarOffice to detect again.
 
The Java configuration file cannot be modified manually. The data format
 
The Java configuration file cannot be modified manually. The data format
 
is not specified an may change anytime without further notice.
 
is not specified an may change anytime without further notice.
Line 68: Line 59:
 
and < version > entries are only for 'documentation', the Java version is
 
and < version > entries are only for 'documentation', the Java version is
 
accessed via the < vendorData > , which is binary.
 
accessed via the < vendorData > , which is binary.
 
 

Revision as of 03:38, 28 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
  • SaveAs -> AportisDoc (Palm)
  • SaveAs -> DocBook
  • SaveAs -> Pocket Word (*.psw)

OpenOffice.org Calc

  • SaveAs -> Pocket Excel

All

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

Java detection in OpenOffice.org 2 and StarOffice 8

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