how can i install java ?

Comments

1 comment

  • Avatar
    wojciechka

    The above XML does not look fully correct - the version for windows-x86 tries to run JRE from ${build_project_directory}, which is not valid at installation time. This should probably be ${installdir}/java/jre-7u17-windows-i586.exe.

    Installing Java in silent mode requires specifying certain flags - for example:

    <programArguments>/s REBOOT=Suppress</programArguments>

    Also, installing Java for entire system may cause problems - such as requiring the user to close all of their browsers and removing previous Java runtimes, which may be required for legacy software. We recommend shipping your own version of JRE. This is described in more details in Bundling a JRE section of InstallBuilder user guide.

Please sign in to leave a comment.