Java now seems to output its version like:
$ java -version Picked up JAVA_TOOL_OPTIONS: -javaagent:/usr/share/java/jayatanaag.jar java version "1.7.0_79" OpenJDK Runtime Environment (IcedTea 2.5.5) (7u79-2.5.5-0ubuntu1) OpenJDK 64-Bit Server VM (build 24.79-b02, mixed mode)
and so just blindly grabbing the first line fails.
Hopefully I'll get a chance to fix this this weekend.
Java now seems to output its version like:
$ java -version /usr/share/ java/jayatanaag .jar 5.5-0ubuntu1)
Picked up JAVA_TOOL_OPTIONS: -javaagent:
java version "1.7.0_79"
OpenJDK Runtime Environment (IcedTea 2.5.5) (7u79-2.
OpenJDK 64-Bit Server VM (build 24.79-b02, mixed mode)
and so just blindly grabbing the first line fails.
Hopefully I'll get a chance to fix this this weekend.