Configuring Cascade to point to a Java installation
In order for Cascade to use a particular Java installation, you'll need to make sure that the boot script is updated accordingly. Follow the instructions below that match your O/S (along with the method you use to start Cascade):
Linux/*nix
- Edit the file cascade.sh
- Update the JRE_HOME variable at the top of the
script and point it to the new Java installation. Ex.:
export JRE_HOME=/usr/java/jdk1.8.0_51/jre
Windows (service)
- Open Windows Explorer
- Navigate to tomcat/bin within the Cascade installation folder
- Double-click the file cascadew.exe
- Click the Java tab
- In the JVM field, browse to the
jvm.dll file within the new Java installation (Ex.
path:
C:\Program Files\Java\jdk1.8.0_51\jre\bin\server\jvm.dll
) - Click Apply/OK
- Start/Restart the service
Windows (command-line)
- Edit the file cascade.bat
- Update the JRE_HOME variable at the top of the
script and point it to the new Java installation. Ex.:
set JRE_HOME=C:\Program Files\Java\jdk1.8.0_51\jre