Hi, we are trying to run a simple java program on an AS400. A
'helloworld' application runs fine.
However the problems start when we try to use our test class,
which extends NotesThread, and is run on the AS400 (i.e not as a Notes agent).
We get the errors:
Java program completed
This must be an internal NotesThread error maybe due to either a corrupt .jar file on the system or something not setup right.
We have been through all setup docs heaps of times, have followed all recommendations for PATH and CLASSPATH variables, etc. This all appears correct because the program compiles and runs until this error occurs. All Lotus Notes (Australia) have been able to tell us is that something is not set up right (Duh, no **** Sherlock).
BTW, here's a sample app which produces the error (also, this runs OK on win32). I won't be suprised if it runs on your system - that doesn't tell us what's wrong on ours!
public class platform1 extends NotesThread
public static void main(String argv)
platform1 t = new platform1();
public void runNotes()
Session s = Session.newInstance();
String p = s.getPlatform();
System.out.println("Platform = " + p);
catch (Exception e)