WebObjects 5.2: How to Correct the PATH Environment Variable in Windows

This document describes the steps necessary to correct the PATH environment variable when using WebObjects on the Windows 2000 Platform.
Symptom

There are two known issues when WebObjects is installed on Microsoft Windows 2000.



Solution

Issue 1: Exceeding PATH length during installation


Issue 2: JDK placement in the PATH

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:


Example, of a good working PATH:

%SystemRoot%\\system32;%SystemRoot%; C:\\JDK13~1.1\\bin;

%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

Published Date: Feb 19, 2012