Common errors
The following information describes some common errors that you might encounter when you use the Java programming language on the z/TPF system.
Class not found exception
Problem: When you load new code, an exception occurred because read permissions were not set for a Java™ Archive (JAR) file that is required by a stand-alone application or a z/TPF application manager for Java (JAM).
Solution: Set read permissions on the JAR files when you load code. The application or JAM startup failed. If a JAM startup failed, a message as the following example
shows is written to the stderr.log file.
java.lang.ClassNotFoundException: com.flight.app.FlightApp
.at java.lang.Class.forNameImpl(Native Method)
.at java.lang.Class.forName(Class.java:304)
.at com.ibm.tpf.Server.startServer(Server.java:170)