Installing Oxygen XML Editor using the Java Web Start (JWS) Installer
Oxygen XML Editor provides the tools to create your own JWS distribution that can be installed on a custom web server. The advantages of a JWS distribution include:
- Oxygen XML Editor is run locally, not inside a web browser, overcoming many of the browser compatibility problems common to applets.
-
JWS ensures that the most current version of the application will be deployed, as well as the correct version of JRE.
-
Applications launched with Java Web Start are cached locally. Thus, an already downloaded application is launched on par with a traditionally installed application.
- You can preconfigure Oxygen XML Editor and the rest of your team will use the same preferences and frameworks.
Important
Note
The following schematics depicts the Oxygen XML Editor Java Web Start deployment procedure:
Java Web Start Deployment Procedure
To deploy an Oxygen XML Editor installation on a server.
- Go to https://www.oxygenxml.com/InstData/Editor/All/oxygen.tar.gz and download the All Platforms Installation package to a local drive.
- Expand the archive to a temporary location.The
oxygen
folder is created. - Optionally, you can customize the content of the frameworks folder.
- Edit the
oxygen\tools\jwsPackager\packager.properties
configuration file. Adjust the following properties appropriately for your server:- codebase - Represents the location of the future JWS distribution.
- keystore - The keystore location path.
- storepass - The password for keystore integrity.
- storetype - The type of the certificate file, such as
PKCS12
orJKS
. - alias - The keystore alias.
- optionsDir - Points to the
options directory that may be distributed with the JWS installer. If the directory
contains an XML document named
options.xml
ordefault.xml
containing exported options, these options will be used. Otherwise, the structure of the options folder has to match the structure of a stand alone application options folder.Note
This property is optional. It is provided only if custom options need to be delivered to the end users.
The values of keystore, storepass, and alias properties are all provided by the code signing certificate. For more information, please check the documentation for yourjarsigner
tool. - If you want to modify the default settings, edit the JNLP
oxygen\tools\jwsPackager\dist\javawebstart\oxygen\oxygen.jnlp
template file. You can specify the list of files opened at startup by modifying the<argument>
list. To pass system properties directly to Oxygen XML Editor when it is started, add theoxy
prefix to them (for example:<property name="oxyPropertyName" value="testValue"/>
). The system property is passed to Oxygen XML Editor with the prefix stripped. - Open a command-line console and run
ant
in theoxygen\tools\jwsPackager
folder.The ant process creates theoxygen\tools\jwsPackager\dist\InstData\oxygenJWS.zip
archive that contains the actual remote JWS installer. - Copy the expanded content of the archive to the folder specified in the
codebase property, previously set in the
packager.properties
file. - Using your favorite web browser, go to the address specified in the
codebase property or to its parent folder and start the
remote installer.
Important
When running the Java Web Start distribution on OS X, due to changes in this security release, clicking the link to the JNLP file does not start the application. The selected JNLP is downloaded locally. Right-click it and choose to open the resource.