Please browse the categories below to previous answers to questions like yours. If you do not find the answer for your particular situation, ask for help on the appropriate mailing list.
(Answer) (Category) Java Apache Project : (Category) Apache JServ 1.0 : (Category) Installation : (Category) Win32 :
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.

sverrehuATonlineDOTno

[Append to This Answer]
Previous: (Answer) How to setup NT to start the servlet engine as standalone...
Next: (Answer) Apache JServ problems on Win95
This document is: http://java.apache.org/faq/?file=210
[Search] [Appearance] [Show Expert Edit Commands]
This is a Faq-O-Matic 2.709.
Please browse the categories below to previous answers to questions like yours. If you do not find the answer for your particular situation, ask for help on the appropriate mailing list.