• 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
    New Generation Software

    “Fixing Your Data Supply Chain”

    FREE Webinar

    You’ve optimized your business processes, products and services, but is there still a logistics gap between your data and your managers and analysts?

    See how NGS-IQ simplifies query, reporting, data visualization, and analytics tasks. Enjoy Microsoft 365 integration, multidimensional modeling, built-in email, and FTP – with IBM i security and performance.

    October 23, 2025, 11am Pacific/2pm Eastern

    RSVP: https://ngsi.news/chain

    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

    • Positive News From The Kyndryl Mainframe Modernization Report
    • NAViGATE, inPower 2025 On Tap for September 2025
    • Guru: WCA4i And Granite – Because You’ve Got Bigger Things To Build
    • As I See It: Digital Coup
    • IBM i PTF Guide, Volume 27, Number 37
    • AI Is Coming for ERP. How Will IBM i Respond?
    • The Power And Storage Price Wiggling Continues – Again
    • LaserVault Adds Multi-Path Support To ViTL
    • As I See It: Spacing Out
    • IBM i PTF Guide, Volume 27, Numbers 34, 35, And 36

    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