Azure / Azure/azure-libraries-for-java

How to get java version of a Linux web App

Open
#570 2 comments 0 reactions 0 assignees View on GitHub
feature-request Mgmt Web Apps
Dominant language
Java
Stars
97
Forks
102
PR merge metrics
No merged PRs in 30d

Description

There is an API `JavaVersion javaVersion()` for Windows web app, which returns a JavaVersion with values like ```1.8```.

But for Linux web app, there is only one API with both java version and container info `String linuxFxVersion()`.
And it returns `Tomcat|8.5-jre8`, from which we have to split to get the real version `jre8`, and the value is inconsistent with Windows web apps.

Is there any API to get just java version of a Linux web app?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.