Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagebash
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!--
XML configuration file for JADE Client setup

If you call the setup with this XML file then
you accept at the same time the terms of the
GNU GPL 2.0 License agreement (see licence.gpl or
http://www.gnu.org/licenses/gpl-2.0.html)
-->
<AutomatedInstallation langpack="eng">
    <com.izforge.izpack.panels.UserInputPanel id="home">
        <userInput/>
    </com.izforge.izpack.panels.UserInputPanel>
    <com.izforge.izpack.panels.HTMLLicencePanel id="licence"/>
    <com.izforge.izpack.panels.TargetPanel id="target">

        <!-- SELECT THE INSTALLATION PATH
             The path must be absolute!
             Default paths are
             /opt/sos-berlin.com/jade/client for Unix
             C:\Program Files\sos-berlin.com\jade\client for Windows -->
        <installpath>/home/test/sos-berlin.com/jade</installpath>

    </com.izforge.izpack.panels.TargetPanel>
    <com.izforge.izpack.panels.InstallPanel id="install"/>
    <com.izforge.izpack.panels.ProcessPanel id="process"/>
    <com.izforge.izpack.panels.FinishPanel id="finish"/>
</AutomatedInstallation>

4. Run the installer

  • The setup.sh script calls sudo to get root permissions. It is strongly recommended that you are not logged in as root as root permissions are
  • It is not mandatory to install JADE with root permissions.
  • The setup.sh script has the option -u
    • If you
    want to start the installer without root permissions , then you can execute setup.sh with the -u option
    • use the option -u then the installer is started with the current user.
      In this case, you have to make sure that this user has sufficient write permissions to create the installation path.
    • If you don't use the option -u then the installer calls sudo to get root permissions. The current user has to be configured as sudoer.
      In this case the installation path is arbitrary.
Code Block
languagebash
[test@wilma jade_client.1.8-RC1]$ ./setup.sh jade_client_install.xml
sudo java -jar ./jade_client.1.8.jar jade_client_install.xml
Password:
[ Starting automated installation ]
[ Starting to unpack ]
[ Processing package: package.jade_client (1/1) ]
[ Unpacking finished ]
[ Starting processing ]
+-----------------------------------------------------------
|   Update jar files in ./lib
+-----------------------------------------------------------
... trying to delete obsolete jar files
... trying to install new SOS jar files
... trying to update 3rd-party jar files
... done
+-----------------------------------------------------------
|   Change owner in /home/test/sos-berlin.com/jade/jade_client.1.8 to test
+-----------------------------------------------------------
... the user group of "test" is "test".
... done
[ Processing finished ]
[ Writing the uninstaller data ... ]
[ Automated installation done ]

...