to create a java file

160 pts.
Tags:
i5/OS
Java
OS/400
How to create a java file in i5/OS Kindly guide me.
ASKED: July 16, 2008  5:53 AM
UPDATED: August 30, 2010  2:45 AM

Answer Wiki

Thanks. We'll let you know when a new response is added.

Hi Jacky,

You can code your application on your desktop computer and then copy/save it in the IFS (integrated file system) of the AS/400.

Then, you use the CrtJvaPgm command on the i5 side or use the Java command on the QShell interpreter (StrQSh).

You can create individual .java files and even use a .jar with the sources to compile them. As the i5 has its own JVM, you can generate the byte code and save it to the IFS and then use the Java or RunJva commands to run your application (there are performance considerations for this last option).

Good luck!.

=========================================================

If you want to enter your Java directly through green-screen, use the EDTF command. This is an editor for streamfiles like SEU is an editor for source file members.

Tom

Discuss This Question: 2  Replies

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • Schmidtw
    I apologize for the seemingly useless answer. I misunderstood the question. I am not sure how to do what you are asking as OS/400 systems are not my specialty.
    11,330 pointsBadges:
    report
  • Jacky
    Thank you. I got it
    160 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following