![]() ![]() 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 |