How to move to a different Java location (Windows ONLY)

Since the TWS installation procedure does not ask for which Java to use, this hint might be useful for some of you.

Suppose you have installed TWS on Windows and would like make it use different Java than the one choosen by the TWS installation procedure. Then you can proceed as follows:

1) In the TWS program group, select the Console shortcut and open its properties dialog

2) The “Target” entry contains a substring which looks more or less like the following:
-javahome "E:\Program Files\JavaSoft\JRE\1.3.1"

3) Change it to point to the Java location you want to move to and press OK

4) Open the Console and enter the following commands:

> inodavconfig remove service
> inodavconfig install service

That’s all!

Regards, Peter