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

Detect Java version #7959

Open
RMastop opened this issue May 21, 2015 · 1 comment
Open

Detect Java version #7959

RMastop opened this issue May 21, 2015 · 1 comment
Labels
Enhancement For new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc.

Comments

@RMastop
Copy link
Contributor

RMastop commented May 21, 2015

Hi,

I would like to suggest to detect the running version of Java, as a part of plugin detection.
You could use the JavaScript parts of deployJava.js from java.

<script src="http://www.java.com/js/deployJava.js"></script>
<script>
     var versions = deployJava.getJREs();
     alert(versions);
</script>
@mattab
Copy link
Member

mattab commented May 24, 2015

Hi @RMastop

Thanks for suggestion. Requesting from Java the Java version used to actually load Java in the browser and this used to be slow (years ago). maybe this has changed and now it's "cheaper" to get the Java version.

@mattab mattab added the Enhancement For new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc. label May 24, 2015
@mattab mattab added this to the Mid term milestone May 24, 2015
@mattab mattab modified the milestones: Long term, Mid term Dec 5, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement For new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc.
Projects
None yet
Development

No branches or pull requests

2 participants