changing version infomation string of 'java -version'
Matthias Apitz
guru at unixarea.de
Fri Jun 21 19:39:48 UTC 2019
Hello,
We have ported OpenJDK to our Solaris SPARC servers and have a small
issue now:
The (older) Oracle Java says about the version:
sisis at srap13dsr1:> jdk1.8.0_31/bin/java -version
java version "1.8.0_31"
Java(TM) SE Runtime Environment (build 1.8.0_31-b13)
Java HotSpot(TM) 64-Bit Server VM (build 25.31-b07, mixed mode)
Our compilation of OpenJDK says:
sisis at srap13dsr1:> openjdk8/bin/java -version
openjdk version "1.8.0-internal"
OpenJDK Runtime Environment (build 1.8.0-internal-sisis_2019_05_23_13_28-b00)
OpenJDK 64-Bit Server VM (build 25.71-b00, mixed mode)
So far so good. The problem is that our software packages which need
Java are checking during installation the version string of Java and this
a bit hardwired. This would mean updating our packages so that they
accept the new OpenJDK. Or is there any correct configuration way to let
OpenJDK's Java punch the old version string 'java version "1.8.0_31"' ?
Thanks
matthias
--
Matthias Apitz, ✉ guru at unixarea.de, http://www.unixarea.de/ +49-176-38902045
Public GnuPG key: http://www.unixarea.de/key.pub
May, 9: Спаси́бо освободители! Thank you very much, Russian liberators!
More information about the build-dev
mailing list