RE: Java program completed with exit code 1

Justin Taylor <[email protected]>
Newsgroups gmane.comp.lang.as400.java
Message-ID <33b056b154e249a38ee5922375acc91c@VS-Exchange13.intranet.lorencook.com>
I would expect some output to the consolem or a spooled file if running in batch.  

Does the JAR have any logging?  

Is it a 3rd party JAR?  I've seen some 3rd party JAR files that return a 1 on normal completion.



-----Original Message-----
From: john art [mailto:[email protected]] 
Sent: Monday, April 23, 2018 5:54 AM
To: java400-l-Zwy7GipZuJhWk0Htik3J/[email protected]
Subject: Java program completed with exit code 1

Hi


when i run a java program, i receive message   "Java program completed with exit code 1"; how can i see more detailed messages for understanding which could be the problem ?


This the command i use to run my java program


QSYS/RUNJVA CLASS(com.xx.My.main)
            PARM('ZZZZ' 'QQQ' )
            CLASSPATH('/myxx.jar')
            OUTPUT(*)

Thanks

-- 
This is the Java Programming on and around the IBM i (JAVA400-L) mailing list
To post a message email: JAVA400-L-Zwy7GipZuJhWk0Htik3J/[email protected]
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/java400-l
or email: JAVA400-L-request-Zwy7GipZuJhWk0Htik3J/[email protected]
Before posting, please take a moment to review the archives
at https://archive.midrange.com/java400-l.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.