Using different version of JRE for D2000
In some cases (application compatibility, security patches, ...) it is necessary to use a different version of JRE (Java Runtime Environment) as supplied with D2000.
JRE for 32-bit processes D2000 is located in the directory D2000_EXE\java\jre, for 64-bit processes in D2000_EXE\java64\jre.
Changing JRE in D2000
The following procedure describes the steps needed to change JRE in D2000:
- Get the required JRE 32-bit and/or 64-bit (ideally of a package, in which the JRE is in the form of files/folders, i.e. not as an installer, http://www.oracle.com/technetwork/java/javase/downloads/index.html, can be downloaded as a package in form of jre-*-windows-i586.tar.gz or jre-*-windows-x64.tar.gz).
- Stop the entire D2000 system.
- Backup the original content of directory D2000_EXE\java\jre resp. D2000_EXE\java64\jre.
- Delete the content of directory D2000_EXE\java\jre resp. D2000_EXE\java64\jre.
- Into the application directory, copy the directory D2000.EXE\java\tcl\www\WEB-INF and run web server.
- If necessary, download and apply 'Java Cryptography Extension (JCE) Unlimited Strength Jurisdiction Policy Files for JDK/JRE' (http://www.oracle.com/technetwork/java/javase/downloads/index.html).
- Run the D2000 system. The application scripts in Java will be automatically recompiled.
Note: For correct functioning of the D2000 system, it needs a file 'D2000_EXE\java\jre\release' or 'D2000_EXE\java64\jre\release'. The file is a standard part of JRE. In case of package 'JDK' and 'Server JRE' it is in JRE package located in the sub-directory '/jre', therefore it is needed to copy only content of this sub-directory into D2000 and to copy 'release' file of the root directory of the package.
The D2000 system by default supports and it is tested with JRE 7 and JRE 8.
Pridať komentár