Consultor Eletrônico



Kbase P102183: CLASSPATH is not taken into account when running ActiveX Open Client from Lotus Notes
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   22/06/2005
Status: Unverified

FACT(s) (Environment):

Progress 9.1x
Windows

SYMPTOM(s):

CLASSPATH is not taken into account when running ActiveX Open Client from Lotus Notes

Getting the error below:

Cannot supply requested class

The CLASSPATH system environment variable contains the o4glrt.zip file

The ActiveX Open Client works fine from any other application.

CAUSE:

For an unknown reason, Lotus Notes does not take into account the CLASSPATH environment variable.

Instead, it uses the default CLASSPATH from the Microsoft Java Virtual Machine (JVM) which only contains a reference to C:\WINDOWS\java\classes (depending on the Windows version and assuming Windows is installed in C:\).

FIX:

Add the o4glrt.zip file (with the complete path) in the default CLASSPATH of the Microsoft JVM

This information is stored in the Windows registry in:
HKEY_LOCAL_MACHINE\\SOFTWARE\Microsoft\Java VM\Classpath

Follow the steps below to update the registry:
1- Open the Windows registry with regedit for example
2- Browse to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Java VM
3- On the right side, the Classpath entry contains the information: C:\WINDOWS\java\classes;.
Update it as follows: C:\WINDOWS\java\classes;<Path>\o4glrt.zip;.

<Path> represents the directory where the o4glrt.zip file is located.