If you click on the Add button, a "select path" file open dialog appears. In OpenOffice 2.3 on Mac OS X 10.5, the right pane of that dialog box is empty. On macOS it is via menu bar: → Preferences → Java. You can point OpenOffice to the Java Runtime Environment (JRE) through the dialog box at Tools → Options → OpenOffice → Java OpenOffice cannot find the JRE file (and nobody can seen to find it manually either) although it is installed by default on OSX (and up to date via Software Update).įor older versions you may be able to manually locate it: There was an Issue reported for this problem Opened: Thu Oct 21 13:52:00 +0000 2010. Please select a different folder." (OOo 2.3) Also known as user classpath.How do I resolve the message, "The folder does not contain a Java runtime environment. If checked, the security manager restricts resource access of applets.Īdditional jar files and directories where the JVM should search for classes. This affects Java components, as well as applets. If checked, Java is used with the office. This brings up a new pane on the right-hand side that allows Java specific settings: In the dialog, expand the OpenOffice node on the left-hand side and choose Security. They can be changed in the Tools - Options dialog. Java components are also affected by the following configuration settings. More about debugging can be found in the JDK documentation and in the Apache OpenOffice Software Development Kit. Xrunjdwp:transport=dt_socket,server=y,address=8000 For example, add those lines to the section: The parameters can be put in the java.ini the same way as they would appear on the command-line. To debug a Java component, it is necessary to start the JVM with additional parameters. SystemClasspath=d:\645m15\program\classes\classes.jar. RuntimeLib=file:///C:/Program%20Files/Java/j2re1.4.2/bin/client/jvm.dll If you want to have that system property accessible by your Java component you can put that property into java(ini|rc) within the section. For example, to pass the property MyAge, invoke Java like this: A client can use that file to pass additional properties to the Java Virtual Machine, which are then available as system properties. In an office with a lower version than 2.0, the java(.ini|rc) is located in the \user\config directory. You must not rely on the existence of the file nor should you make assumptions about its contents. Unfortunately, it needs to be modified under some rare circumstances, for example for debugging purposes. The java(.ini|rc) actually is an implementation detail. The data for running the Java Virtual Machine was stored in the java(.ini|rc) file and other configuration files. After installing the office, the selected JRE could still be changed with the jvmsetup program, which was located in the program folder. Then, a user could choose a Java Runtime Environment or choose to install a JRE. Prior to 2.0, this configuration happened during the installation, when the Java setup was performed. The Parameters dialog can be used to specify the debug options and other arguments.įor applets there are still a few settings on the security panel (tree node ->Security). All basic Java settings are set in the options dialog: tree node ->Java. In 2.0 there is no java(.ini|rc) anymore. Since the release of Apache OpenOffice 3.4.0 you can set the JRE from the menu Tools->Options : tree node OpenOffice->Java. For information on the supported JREs see Documentation/FAQ/Installation/Which version of Java do I need?. When UNO components written in Java are to be used within the office suite, the office suite has to be configured to use the appropriate JRE.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |