Re: Java exits with status 2.

"Tony Harminc [email protected] [H390-MVS]" <[email protected]>
Newsgroups gmane.comp.emulators.hercules390.mvs
Message-ID <CAKqWTMsk1ZkO2-cm37G8kOHSPf10jsRzZBEA3EQzLJNA3bvoYA@mail.gmail.com>
On Fri, 20 Sep 2019 at 09:41, [email protected] [H390-MVS]
<[email protected]> wrote:
>
> I've tried Googling this, and come up empty...
>
> My java (in omvs) is broken.  I have no clue what is wrong.  I'm sure that the setup is correct (environment variables, path and so on) but when I enter any java command, all I get is an exit status of 2 (which is a SIGINT), e.g.
>
> $ java -version;echo $?
> 2
> $
>
> I downloaded the latest Java version 8 from IBM and installed it but it made no difference.
>
> Where would you look to solve this?

You've provided almost no information. OS level? Java level? If older,
31-bit or 64-bit? Exactly the same result with <whatever> older Java
and latest version 8? When you say "in omvs", what do you mean? You're
running Java under TSO? Or are you just using omvs to mean UNIX? What
are the memory settings for your userid and globally? List the OMVS
segment in RACF ("LU <userid> NORACF OMVS").

If this is current z/OS then you should ask on IBM-MAIN rather than
here. It doesn't sound like a Hercules problem.

Tony H.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.