Created On:  28 March 2011

Problem:

  • Product Name: Visibroker
  • Product Version: 8.0 and later
  • Product Component: Java
  • Platform/OS Version: Windows
The following exception occurs when trying to run this command:
 
vbj -VBJclasspath C:\\code\\lib\\program.jar test.Test
Borland VisiBroker Runtime has encountered a problem and needs to close.

The issue does not occurs when using the pure Java command.

Resolution:

The PATH environment variable is pointing to an older version of the JDK.  There are a few reasons why it occurs.

1. When a software/program is installed in Windows, the installer may prepend the PATH environment variable.

2.  Microsoft Windows also bundles the Microsoft JVM in the C:\\Windows\\System32 directory.

Please refer to the supported JDK for VisiBroker 8.0 & VisiBroker 8.5

To resolve this, remove all older versions of JDK in the PATH environment variable or explicitly set the PATH to use the supported JDK version.
 
Incident #2497502