- Pinned Topic
The upgrade from Omniscope 2020.3 ROCK to 2021.1 ROCK includes an upgrade to the version of Java that Omniscope uses and bundles (Java 8 to Java 11). For some deployments this requires some configuration changes.
(Note: if using daily builds, the changes here were introduced in 2020.4 b21046).
Windows installations using custom BAT files to launch the app (unusual)
Without this change, you may see warnings such as:
This is because your .BAT file, which is not under Visokio or Omniscope's control, needs updating.
The file will typically contain the following arguments (all on one line) that are no longer required. You should remove these:
You should add (in the same position in the line / after "-XX:+UseG1GC", also all on one line):
Windows installations running Omniscope as a Windows service
A similar problem arises with the Windows service, configured using the "wrapper.conf" file inside the "service" folder within the Omniscope installation folder. Here you may have customised "wrapper.conf", and when you upgrade, Omniscope preserves your changes, and will not replace it with a pristine and updated wrapper.conf. Instead you should consult "default-wrapper.conf" for the latest default configuration after installation, and update your customised wrapper.conf.
The "wrapper.java.additional.?" set of properties in the wrapper.conf should look like:
On linux, you typically edit _launch.sh to customise memory allocation, and when upgrading via a TGZ extract, you have to manually preserve your customised file when replacing the installation. You should take the latest _launch.sh, and reapply your customisations, which in the simplest case will be the "-Xmx" argument, but check for other customisations, which you should document using a comment in the script for your future reference.