You are welcome.
When using servoy application server stand-alone install
as a service:
- change this configuration option in "
[...]\application_server\service\wrapper.conf":
wrapper.java.command . I am not sure if the service needs to be reinstalled or not but I think not.
(see
http://wrapper.tanukisoftware.com/doc/e ... s-jvm.html or
http://wrapper.tanukisoftware.com/doc/e ... rties.html for all kinds of other service wrapper config options)
When using servoy application server stand-alone install started using the
bat/sh scripts:
- you could manually edit the script files and replace "$CMD_LINE_START"/"%CMD_LINE_START%" in the line which starts app. server with the java executable that you want
- you can set
CMD_LINE_START env. variable to point to the java.exe that you want (for
windows you also have to set
CMD_LINE_CHANGED=yes)
If you are using
war deployment check your container documentation on how to specify the java version that it is using. For example Tomcat looks at JAVA_HOME and JRE_HOME which can be globally specified or, depending on your OS, you can also put it in setenv.bat or some other config file to make it not affect the whole system; if you are using it as a service then you need to configure the service and so on. If you are not the one hosting that container just ask the hosting ppl. about that.
I will see if this can be added in wiki.