I moved class files and jt400.jar to new library which i had made
before. Program start running but it is breake when it use jt400 liblary.
Java program completed with exit code 1
I have a problem on AS400 to add it to my program.
On Windows when i was class file and jt400.jar library in the same
folder I run it with commands:
And everything works. In As400 I runs with command:
JAVA CLASS(kursNbpToJde) CLASSPATH('/test/')
What should I add to command as stated above
W dniu 2010-03-12 12:02, McCully, Keith (Insurance, Technology Services)
--I have class file in root/bin. It's the same location as java, javac,javaw aplications. I wrote command on AS400:
JAVA CLASS('kursNbpToJde')Hi Piotr,
Should I add something else?
It is not a good idea to place your own class file in root/bin as this
is a system folder for the Qshell commands. Better to create you own
application folder off the root.
Also make sure that you have this application folder and jt400.jar in
The Royal Bank of Scotland plc, Registered in Scotland No. 90312. Registered Office: 36 St Andrew Square, Edinburgh EH2 2YB
Authorised and regulated by the Financial Services Authority.
This e-mail message is confidential and for use by the addressee only. If the message is received by anyone other than the addressee, please return the message to the sender by replying to it and then delete the message from your computer. Internet e-mails are not necessarily secure. The Royal Bank of Scotland plc does not accept responsibility for changes made to this message after it was sent.
Whilst all reasonable care has been taken to avoid the transmission of viruses, it is the responsibility of the recipient to ensure that the onward transmission, opening or use of this message and any attachments will not adversely affect its systems or data. No responsibility is accepted by The Royal Bank of Scotland plc in this regard and the recipient should carry out such virus and other checks as it considers appropriate.
This is the Java Programming on and around the iSeries / AS400 (JAVA400-L) mailing list
To post a message email: JAVA400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
or email: JAVA400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
As an Amazon Associate we earn from qualifying purchases.
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.