Author Message
ZeynepOtenoglu
Joined: Jan 10, 2014
Messages: 49
Offline
Hello
We want to run runtimeconfig app exported from OD 7.2.1 on a tomcat with java 1.7.
we get the error: unsupported major.minor version 51.0 while trying to access runtimeconfig app.

Is it possible to run runtimeconfig app exported from OD 7.2.1 on a tomcat with java 1.7? or do we have to use java 1.8 on tomcat?

regards
WilsonYu
Joined: Nov 6, 2013
Messages: 3950
Offline
This error actually means you are running a lower Java version than 1.7.
Version 51 is 1.7 which runtimeconfig is compiled with.
Check your Tomcat settings
ZeynepOtenoglu
Joined: Jan 10, 2014
Messages: 49
Offline
Hello
Actually there are two tomcat versions running with different java versions on that same machine.
The tomcat I am running this runtimeconfig on, is using Java 7. No problems with that.
The other tomcat uses java 6 which is the default java on that machine. (java -version response)
May the runtimeconfig app be using the default java instead of the java 7 which is the version the tomcat uses the runtime config is running on?
Regards
WilsonYu
Joined: Nov 6, 2013
Messages: 3950
Offline
It depends on how you configure and start the Tomcat instance. I can't tell you exactly since every environment is different.
Go to:   
Mobile view