Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add java information #90

Open
willemdh opened this issue Jan 15, 2018 · 3 comments
Open

Add java information #90

willemdh opened this issue Jan 15, 2018 · 3 comments
Assignees

Comments

@willemdh
Copy link
Member

Issue Type

Enhancement Request

Issue Detail

I'd love to add information about he Java type and version used, such as openjdk vs oracle jdk.

@willemdh willemdh self-assigned this Jan 15, 2018
@ThomDietrich
Copy link
Member

Please also consider Zulu Java:

$ java -version
openjdk version "1.8.0_152"
OpenJDK Runtime Environment (Zulu Embedded 8.25.0.76-linux-aarch32hf) (build 1.8.0_152-b76)
OpenJDK Client VM (Zulu Embedded 8.25.0.76-linux-aarch32hf) (build 25.152-b76, mixed mode, Evaluation)

@dimon222
Copy link
Member

dimon222 commented Jan 17, 2018

Not sure how feasible it is, considering there are bunch of configurations including userspace specific java versions...
Unless its meant java thats configured for root user only?
Same question, how about compiler javac? Its configuration can be different from java alias reference.

@willemdh
Copy link
Member Author

My very basic plan was basically to do something like this:

which java
/usr/bin/java -version
java version "1.8.0_131"
Java(TM) SE Runtime Environment (build 1.8.0_131-b11)
Java HotSpot(TM) 64-Bit Server VM (build 25.131-b11, mixed mode)

Then show Java(TM) SE Runtime Environment (build 1.8.0_131-b11)

In the Zulu java's case I guess it would show:

OpenJDK Runtime Environment (Zulu Embedded 8.25.0.76-linux-aarch32hf) (build 1.8.0_152-b76)

But I would make this an optional addition to the json exportfile. So users would have to add it to their json export file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

3 participants