Working Around Problems

This topic contains information on troubleshooting problems that you might encounter when using HPCJ.

Incompatible classes.zip Files
In some situations, your application may abort and issue a message that is similar to the following:

Severe error encountered in runtime termination

This is probably because you have specified an incompatible classes.zip file from either a later version of the Sun JDK or from another Java VM or compiler product. By default, HPCJ adds its own classes.zip file to the end of the CLASSPATH environment variable, much like the Sun JDK. Some products may add their own classes.zip into the CLASSPATH as well. This may lead to conflicts that have nothing to do with the integrity of your HPCJ-compiled programs.

Another possible reason for the error message is that in a compiled environment, class files (especially those in classes.zip files) behave much like header files in a C++ environment. If you use an out-of-date header file, it can lead to incompatible object files, just as it can if you compile Java with an incompatible classes.zip file.

Class paths specified using the -classpath command-line option are used "as is" without any embellishment.

 


Java Executables and DLLs


Loading Classes with the Classpath Setting