• Post Reply Bookmark Topic Watch Topic
  • New Topic

JVM on the AS400: What version of Java?  RSS feed

 
Ray Marsh
Ranch Hand
Posts: 458
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a Java program that works fine on my PC JVM 1.2, however, it does not work on the AS400. One of the methods is not found. I don't have the specifics, right now. I am wondering if anyone knows what version of Java, OS/400 V4R3M0 uses.
Thanks
 
Tony Chen
Ranch Hand
Posts: 286
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
To find out what version of JVM you are running, type the command:
java -fullversion

------------------
Tony Chen
SCJP, ICS & ICSD (WebSphere)
 
Ray Marsh
Ranch Hand
Posts: 458
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It's Java -version on the AS400, probably an IBM thing.
Java version 1.1.7 for OS/400 V4R3M0. Thanks
Anyone know the syntax for QSH on the AS400?
It gives a $ prompt, but I don't know even basic directory commands. I tried DOS commands, they don't work. "Java", "Javac" and "Javadoc" work. It may be a Unix shell, I really don't know.
I'm so !

[This message has been edited by Ray Marsh (edited May 24, 2001).]
 
Nanjangud Nanjundaiah
Ranch Hand
Posts: 186
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
QShell info can be found in the iSeries Information Center here.
Here's the main Qshell Interpreter site.
You can also right-click and Save Target As on this link, for the Qshell Interpreter Reference in pdf form (It's for V4R4, but it should still help).
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!