|
From: Ben D. T. <to...@xm...> - 2004-05-22 08:53:38
|
Hi Im using a hardcoded JAVA_HOME different than the PATH'ed java home and its working perfect. Original Message: From: "Cocalea, Eugen" Co...@sy... To: "'wra...@li...'" wra...@li... Subject: [Wrapper-user] does wrapper depend on JAVA_HOME? Date: Fri May 21 14:56:40 GMT 2004 Hello, This is a bit tricky, because not even me know what the question is about. I have a java application that I want to run as a windows service and I use wrapper to do this. My app wrapper.conf used to have wrapper.java.command=%JAVA_HOME%/bin/java The problem is that I have to run different versions of the application, that are certified against different JREs. So, my question is: if I hardcode the path to the JRE I need in wrapper.java.command, do I need to check anything else to see if the application really uses that JRE? Example: - JAVA_HOME points to JRE 1.3 - I need to run the app with JRE 1.4 - wrapper.java.command is /bin/java I should be safe, correct? Assuming my application doesn't use JAVA_HOME. |