Cybersecurity
DevOps Cloud (ADM)
IT Operations Cloud
ERROR: Unable to load Java Virtual Machine or Class not registered
Information in this Brief applies to:
Overview
The above errors can occur as the result of installing recent versions of CaliberRM and StarTeam on the same system. StarTeam 5.4/6.0 and CaliberRM 6.0 use different versions of Java. While they share the STSDKLoader.dll file, it is in different places, registered differently, etc. so java.ini files may not be updated properly.
Details
A work-around is to uninstall the StarTeam SDK runtime and then reinstall it.
The following test installation cases were used:
Test cases:
If you install StarTeam 6.0 and then CaliberRM 6.0 to the default locations on a clean machine, everything is OK. The java.ini file is correctly updated.
If you install StarTeam 6.0 and CaliberRM 6.0 to different drives on a clean machine, StarTeam breaks because CaliberRM"s Java will now be under x:\Program files\Borland\Java... instead of y:\Program files\Borland\Java and so our java.ini file is not updated.
If you install a StarTeam 5.4 product and then the 6.0 StarTeam and then the 6.0 CaliberRM, StarTeam products break because they will look at the old Starbase location, for example, C:\Program files\STARBASE\Java, and update that java.ini file instead of the current version
1st Installed: |
Location: |
2nd installed: |
Location: |
3rd installed: |
Location: |
StarTeam P/F |
|
|
|
|
|
|
|
StarTeam 6.0 |
Default |
CaliberRM 6.0 |
Default |
N/A |
N/A |
Pass |
StarTeam 6.0 |
Default |
CaliberRM 6.0 |
Alt drive |
N/A |
N/A |
Fail |
StarTeam 5.4 |
Default |
StarTeam 6.0 |
Default |
CaliberRM 6.0 |
Default |
Fail |
CaliberRM 6.0 |
Any |
StarTeam 6.0 |
Any |
N/A |
N/A |
Pass |
Workaround:
The work-around is to uninstall the StarTeam SDK runtime and then reinstall it.