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

C/C++ and Java for MVS & zOS.
Previous topicNext topic

Topic Author
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 » Tue Jul 28, 2015 1:59 pm

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: 597
Joined: Wed Apr 23, 2014 8:45 pm

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

Post by nicc » Tue Jul 28, 2015 3:07 pm

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: 1379
Joined: Fri Jun 28, 2013 1:22 am
Location: Dubuque Iowa
Zodiac: Virgo

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

Post by Robert Sample » Tue Jul 28, 2015 6:10 pm

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).



Previous topicNext topic

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