IDependOn-Set: 1
IDependOn-Set: 13
IDependOn-Set: 2
IDependOn-Set: 208
IDependOn-Set: 210
IDependOn-Set: 24
IDependOn-Set: 251
LastModifiedSecs: 929008705
Parent: 24
SequenceNumber: 2
Title: Installing on NT using JRE instead of JDK
Part: 0
Author-Set: sverrehu@online.no
LastModifiedSecs: 929008705
Type: 
Lines: 25
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.

EndPart: 0
