DataBasic Objects, Java code hangs after Java was updated

Java updates now install into a new folder and clears out the old installation folder, so anything using the old Java installation path no longer works.

If you break the running DataBasic Object code you will see the code that the hang relates to e.g.

Execution break:  Program Name line_number
line_number   >     %import(parameter)

In order to resolve the hang you need to reinstall the Reality Java Language Server.

Once re-installation is complete, any third party jar files will also need to be re-installed.

The new location for the libraries is displayed when the installation of the Reality Java Language Server is completed.

Note: You must restart the RealJLS server after installing new jar files.

Examples:

On Windows, the re-installation ends displaying:

Your JAVA_HOME folder is C:\Program Files\Java\jdk1.8.0_05
and third party jar files should be installed in
C:\Program Files\Java\jdk1.8.0_05\lib\ext

On UNIX:

Each incremental update to Java moves the directory structure, so the re-install has to be done more frequently.


Back to articles