There are two known issues when WebObjects is installed on Microsoft Windows 2000.
2. Location of JDK in the PATH environment variable.
Project Builder will not properly start an application if the JDK path is placed before the Windows system path.
While the Project Builder Panel displays:
> Starting MyApplication.woa
> Finished running MyApplication.woa
MyApplication.woa never starts.
Issue 1: Exceeding PATH length during installation
2. With each repeated installation of WebObjects 5.2, the WebObjects Installer will keep prepending the Apple paths to the existing PATH variable. The consequence is that the PATH variable may contain many duplicate entries, and may exceed the maximum length of 255 characters.
WebObjects applications will not work properly on Windows if the JDK path is placed before the Windows system paths.
For example, the following PATH causes issues such as preventing a WebObjects application from running inside ProjectBuilder:
%JAVA_HOME%\\bin;C:\\WINNT\\system32;C:\\WINNT;%NEXT_ROOT%\\Library\\Executables;
where %JAVA_HOME% is defined as C:\\JDK13~1.1
Workarounds
To work around these issues:
2. Look at the contents of the PATH environment variable
3. Delete any duplicate entries to ensure that the maximum length is not exceeded
4. Verify that the Windows system path is placed before the JDK path.
%NEXT_ROOT%\\Library\\Executables;%NEXT_ROOT%\\bin;%NEXT_ROOT%\\Library\\JDK\\bin;
where %SystemRoot% is defined as C:\\WINNT
and %NEXT_ROOT% is defined as C:\\Apple