This page last changed on Nov 24, 2015 by jules_bike.

I am running OR on a Windows 10 machine but also need to run another Java application which requires Java 1.7 or 1.8. Unless things have changed, I don't think Drools will work if I upgrade. I know I can install 2 versions of Java.

Is there a variable I can change in the startup that will point to a different JRE_HOME and JDK_HOME so I can run the 2 apps. I was assuming I can change the Java 1.6 environment variables to OR_JRE_HOME and point to these in the startup?

I think in Windows you just change the environment values in linux I can the tomcat7 file


So I alternate between v6 and v8

The designer doesn't work in v8 but the controller does

Posted by glennl at Nov 26, 2015 02:25

In case anyone else has this issue - this is what I did on Windows.

Rename the environment variable in Windows for JAVA_HOME and JRE_HOME to OR_JAVA_HOME and OR_JRE_HOME
Then in the /bin/tomcat folder I edited the setclasspath.bat file to change the references %JAVA_HOME% to %OR_JAVA_HOME% and %JRE_HOME% to %OR_JRE_HOME%

Also in /bin/ folder do the same to the openremote.bat file

I found I had to reboot the machine for the new environment variables to be picked up.

I then installed Java 1.8 and fortunately it asks you whether you want to keep the old version of Java.

Posted by jules_bike at Nov 26, 2015 11:25

^^^^I used this today!!

Thank you!

Posted by niedejb at Dec 30, 2015 15:24
Document generated by Confluence on Jun 05, 2016 09:33