When you install WebMaker, it will automatically determine the best Java version available on your machine, and configure WebMaker to use this.
You can however change the Java installation that is being used at a later point. To do this, ensure the studio is shut down, and then edit the following batch file.
{Studio deployment location}\bin\startup_webmaker.bat
Towards the top of this file there will be a line starting 'JRE_HOME='. The path specified here should be updated to point to the installation directory of the Java version you would like to use.
If you are also using the SQL Server database with WebMaker, then there is an additional step, as this database requires different JDBC driver JARs for Java 1.5 and 1.6.
The sqljdbc.jar should be used for Java 1.5, and the sqljdbc4.jar should be used for Java 1.6. These files will be present in the following two locations, and you should ensure that they are named appropriately so that the correct version will be picked up.
{Studio deployment location}\design\tomcat-design\common\lib
{Studio deployment location}\runtime\tomcat-runtime\common\lib
You can however change the Java installation that is being used at a later point. To do this, ensure the studio is shut down, and then edit the following batch file.
{Studio deployment location}\bin\startup_webmaker.bat
Towards the top of this file there will be a line starting 'JRE_HOME='. The path specified here should be updated to point to the installation directory of the Java version you would like to use.
If you are also using the SQL Server database with WebMaker, then there is an additional step, as this database requires different JDBC driver JARs for Java 1.5 and 1.6.
The sqljdbc.jar should be used for Java 1.5, and the sqljdbc4.jar should be used for Java 1.6. These files will be present in the following two locations, and you should ensure that they are named appropriately so that the correct version will be picked up.
{Studio deployment location}\design\tomcat-design\common\lib
{Studio deployment location}\runtime\tomcat-runtime\common\lib