Revision as of 08:42, 2 May 2020 by Enymind (Talk | contribs)

This page lists optional manual migration steps what you can do when going to upgrade J2Chrono or ChronoFly version 1.2.x to 1.3.x.

All steps can be performed before or after running the installation.

General requirements

Before upgrading J2Chrono or ChronoFly from version 1.2.x to 1.3.x make sure following requirements are satisfied.

If your machine does not meet following requirements, considering continue using 1.2.x or upgrade your machine before starting to use 1.3.x.

System requirements

  • Microsoft Windows 10 or
  • Ubuntu GNU/Linux Focal 20.04 LTS/Bionic 18.04 LTS

Minimum setup

  • Intel Core2/Atom or AMD Sempron
  • 1Gb ram memory, 4Gb hard drive, 1024x768 screen resolution

Recommended setup

  • Intel Core i3 or AMD A4
  • 2Gb ram memory, 10Gb hard drive, 1920x1080 screen resolution

Remove old Java 7 runtime

Proceed with this step only if you are sure you don't have any application (except J2Chrono or ChronoFly) installed to your operating system that requires this Java 7 runtime installation to be present.

Windows

  • From Windows Apps & features, remove "Java 7 Update 80"
  • Check this directory is not anymore present
    C:\Program Files (x86)\J2Chrono\jre

Linux

  • Remove directory
    /usr/lib/jvm/jre1.7.0_80

Upgrade plugins

This migration step is not necessary if you don't use plugins.

Since JavaScript plugin engine has been upgraded from Rhino to Nashorn, following change is proposed to be done in every plugin .js file.

  • Add following line to the beginning of plugin .js file
    load("nashorn:mozilla_compat.js");

Plugin .js files can be found from following directories.

Windows

  • Plugins directory
    C:\Program Files (x86)\J2Chrono\chromo\plugins

Linux

  • Plugins directory
    /usr/lib/chromo/plugins