How can I tell if Java is installed on my maiframe?

C/C++ and Java for MVS & zOS.
Post Reply
Babin Sahu
New Member
Posts: 2
Joined: Wed Dec 03, 2014 2:04 pm

How can I tell if Java is installed on my maiframe?

Post by Babin Sahu »

Hello,

I have asked it from my co-workers but is there a way to know if Java is installed on my mainframes or zOS?
nicc
Global Moderator
Global Moderator
Posts: 691
Joined: Wed Apr 23, 2014 8:45 pm

Re: How can I tell if Java is installed on my maiframe?

Post by nicc »

If your co-workers do not use java then it is possibke that they do not know. The guys who would know are the sysprogs because they are the ones that would have to maintain it. You could, of course, dig out the manuals on how to use java on the mainframe (is it Linux or z/OS?) and try running "Hello World". The manuals will be available online at IBM. If the OS is z/OS you would have to get into the USS (UNIX System Service) part of the mainframe bey default that is option 3.something (I think).
Regards
Nic
User avatar
Robert Sample
Global Moderator
Global Moderator
Posts: 1886
Joined: Fri Jun 28, 2013 1:22 am
Location: Dubuque Iowa
United States of America

Re: How can I tell if Java is installed on my maiframe?

Post by Robert Sample »

The first, and best, answer: CONTACT YOUR SITE SUPPORT GROUP! They know what is installed on your system!

Or, you could go into Unix System Services and enter "java -v" on a command line -- if installed, Java will give you the version.

Or, you could look at /usr/lib in Unix System Services to see if there is a java directory (usually but not always a sign Java is installed).

Or, you could run a batch job to invoke java (the -v option is probably the best one to use).
Post Reply

Create an account or sign in to join the discussion

You need to be a member in order to post a reply

Create an account

Not a member? register to join our community
Members can start their own topics & subscribe to topics
It’s free and only takes a minute

Register

Sign in

Return to “C, C++ and Java for Mainframes.”