It can happen, Oracle documents the incompatibilities in their documentation, sort of like a "Notice to Users" for Java.
Here are some links:
Java6 to Java7 compatibility guide
http://www.oracle.com/technetwork/java/javase/compatibility-417013.html
Java7 to Java8 compatibility guide
http://www.oracle.com/technetwork/java/javase/8-compatibility-guide-2156366.html
Mark Murphy
STAR BASE Consulting, Inc.
mmurphy@xxxxxxxxxxxxxxx
-----rob@xxxxxxxxx wrote: -----
To: midrange-l@xxxxxxxxxxxx
From: rob@xxxxxxxxx
Date: 01/28/2016 12:55PM
Subject: Changing java versions
Suppose you're a third party vendor of IBM i software,
and you select what version of java you run based simply on some
properties or ini file, or some environment variable,
have you run into problems by anyone changing your supplied version from
JDK 6 to 7 or 8?
Have you tested that?
Have you tested that by completely removing JDK 6 from the system?
I've ran into one issue where a vendor allows you to select the level of
java with a ini file, and I tried jdk7. And it worked and their verify
command says I'm using jdk7. However if I remove jdk6 from the system it
says I'm trying to use an unsupported version of java on start up. I
suspect they do some prereq check that's coded poorly.
However I'm just interested if things should pretty much run as good or
better by changing from java 6 to 7 (or 8). At least no fatal errors. I'm
pretty java ignorant.
Rob Berendt
As an Amazon Associate we earn from qualifying purchases.