|
|
Installing on NT using JRE instead of JDK |
| Installing Apache JServ on an NT machine with only JRE installed is
possible, but troublesome. After several hours I managed to get it
working. First, the install script wants to know where java.exe is. As the computer was equipped with JRE 1.1.7, it had no java.exe. I copied jre.exe to java.exe just to force the installation program to continue, and deleted it afterwards. I then modified the JServ startup files to start jre.exe rather than java.exe. The main problem, however, was that the wrapper.classpath settings didn't work. After extensive searching on the Net, I learned that JRE for Windows doesn't use the CLASSPATH environment variable at all, in contradiction to it's bigger brother JDK. The solution to this problem was to set the classpath using the wrapper.bin.parameters property, and the -cp option. Unfortunately this is far less elegant than using the wrapper.classpath properties, but it works in a case of emergency. Hope this saves someone a great deal of head scratching....
Sverre. | |
| [Append to This Answer] |
| Previous: |
|
| Next: |
|
| ||||||||||