Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Updated to new Confluence 3.5 bash option for code display.

...

Create a file called setenv.bat with the following contents using a plain text editor such as notepad,

Code Block
langlanguagehtmlbash
SET JRE_HOME=C:\opt\apache\java

...

Now, we will update the registry to point to a specific version of Java,

Code Block
langlanguagehtmlbash
cd C:\opt\apache-tomcat-6.0.26-a_32-bit\bin
tomcat6.exe //US//Tomcat6a --JavaHome=C:\opt\jre1.6.0_20_32-bit
tomcat6.exe //US//Tomcat6a --Jvm=C:\opt\jre1.6.0_20_32-bit\bin\client\jvm.dll

...

The registry entry equates to automatically running the following command upon login,

Code Block
languagebash
tomcat6w.exe "//MS//Tomcat Instance tomcat-a"

...