Specifiying different JRE than the bundled with JDK

We are migrating out web application previously deployed on Sun ONE 6.0 to Sun ONE 6.1 and upgrading to JRE 1.5_06 but JDK will remain to be 1.4.x. My question is how I can use a differnt JRE because in the "Java" tab in the admin interface we can set the Java path which points to the JDK and I'm assuming it uses the same JRE that is in that folder. I can ofcourse explicitly delete the jre folder and replace it with the upgraded JRE 1.5 but just wondering if thats the best option...

Thanks

SA

[517 byte] By [safaq] at [2007-11-26 8:30:53]
# 1
You should not try to mix jre and jdk with web server 6.x. This might lead to some issues, besides if you do that your setup will no longer be officially supported. Please use either external 1.5.x jdk+jre or bundled 1.4.x jdk+jre with web server 6.1.
Sultal at 2007-7-6 21:52:07 > top of Java-index,Web & Directory Servers,Web Servers...
# 2

yeah i understand it wont be a good idea to mix and match the jre but the requiremnet for my product is to move to jre 1.5 so i need to do move to the higher JRE.

For those who may wanna know one of doing that is to procompile all your JSPs and in the server.xml you can manually set the java-home and then make sure in the start script those changes are reflected by setting the relative paths right..

safaq at 2007-7-6 21:52:07 > top of Java-index,Web & Directory Servers,Web Servers...