• The Four Hundred
  • Subscribe
  • Media Kit
  • Contributors
  • About Us
  • Contact
Menu
  • The Four Hundred
  • Subscribe
  • Media Kit
  • Contributors
  • About Us
  • Contact
  • Is It a Different ‘Hello World’ in OS/400 V5R1?

    September 18, 2002 Timothy Prickett Morgan

    Hey, Joe:

    I just loaded the Java Development Kit (JDK) v1.3 on one of our new V5R1 iSeries boxes, and I can’t get the ‘Hello World’ sample to work. It works on our V4R5 AS/400 when I type in the following Run Java (RUNJVA) command:

    RUNJVA CLASS(com.ibm.as400.system.Hello) PROP((java.version '1.3'))
             
    

    But when I type this command on my V5R1 box, I get an error. What’s happening?

    — Mike

    I went to one of my OS/400 V5R1 boxes and typed in the RUNJVA Class command, just as you sent me. It failed, but–again, just as you wrote–it worked on one of my OS/400 V4R5 partitions.

    Next, I pulled up the Google Search Engine and ran a search using “RUNJVA”, “Hello”, and “PROP((java.version ‘1.3’)” in the search string. Google returned a link to a V5R1 PTF MF27672 description page that discusses problems using incorrect maintenance levels in the RUNJVA command java.version property. On that page, IBM displayed the following RUNJVA command, which is shorter than the one people usually use for OS/400 V4R5.

    RUNJVA CLASS(Hello) PROP((java.version '1.3'))
    

    I typed this command on a V5R1 iSeries and ‘Hello World’ showed up on my screen. I tried your command and IBM’s command on a second V5R1 partition and I got the same results as earlier: the ‘com.ibm.as400.system.Hello’ CLASS version failed while the ‘Hello’ CLASS version worked.

    So my conclusion is that IBM shortened the ‘Hello’ call for at least JDK v1.3 in OS/400 V5R1 (perhaps to remove the ‘as400’ literal from the CLASS parameter), and that IBM didn’t publicize this as well as it should have. I’m not a Java programmer, but this solution works on my systems. So I would try the shortened version of the ‘Hello’ CLASS and see if that solves your problem.

    I hope this helps.

    — Joe

    Sponsored By
    COMMON

    REGISTER FOR COMMON IN DENVER, OCT. 13-17

    Get the IT training you need by attending COMMON Users Group’s Fall 2002 IT Education Conference & Expo, October 13-17 in Denver.

    Choose from over 720 sessions and labs covering a wide range of industry topics. Also receive training from J.D. Edwards, MAPICS, and other vendors.

    Don’t miss out! Go to www.common.org

    Share this:

    • Reddit
    • Facebook
    • LinkedIn
    • Twitter
    • Email

    Tags: Tags: mgo_rc, Volume 2, Number 71 -- September 18, 2002

    Sponsored by
    Computer Keyes

    Fax Directly from your IBM i

    KeyesFax is a full function automated IBM i fax system. Spooled files are burst by fax number and auto transmitted with overlays.  It combines both a send and receive facsimile processing system with a complete image package.

    The fax software will edit, send, receive, display, print, and track fax documents or images using any standard IBM i without additional expensive hardware, software or subscriptions.

    Computer Keyes has been developing Software Solutions since 1978!

    www.computerkeyes.com

    Share this:

    • Reddit
    • Facebook
    • LinkedIn
    • Twitter
    • Email

    Properly Sorting Numeric Arrays Reader Feedback and Insights: Thanks for the Tips

    Leave a Reply Cancel reply

MGO Volume: 2 Issue: 71

This Issue Sponsored By

    Table of Contents

    • Reader Feedback and Insights: More Binder Language
    • Odds and Ends
    • Is It a Different ‘Hello World’ in OS/400 V5R1?

    Content archive

    • The Four Hundred
    • Four Hundred Stuff
    • Four Hundred Guru

    Recent Posts

    • With Power11, Power Systems “Go To Eleven”
    • With Subscription Price, IBM i P20 And P30 Tiers Get Bigger Bundles
    • Izzi Buys CNX, Eyes Valence Port To System Z
    • IBM i Shops “Attacking” Security Concerns, Study Shows
    • IBM i PTF Guide, Volume 27, Number 26
    • Liam Allan Shares What’s Coming Next With Code For IBM i
    • From Stable To Scalable: Visual LANSA 16 Powers IBM i Growth – Launching July 8
    • VS Code Will Be The Heart Of The Modern IBM i Platform
    • The AS/400: A 37-Year-Old Dog That Loves To Learn New Tricks
    • IBM i PTF Guide, Volume 27, Number 25

    Subscribe

    To get news from IT Jungle sent to your inbox every week, subscribe to our newsletter.

    Pages

    • About Us
    • Contact
    • Contributors
    • Four Hundred Monitor
    • IBM i PTF Guide
    • Media Kit
    • Subscribe

    Search

    Copyright © 2025 IT Jungle