0

I need to check the JRE version installed in the client system using javascript. I tried the following code:

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

But it was not working for me. It resulted in empty array [].

Is there any other possible solutions for this. Solutions in Angular 6 or Nodejs is also appreciated.

Thanks in advance.

2
  • 1
    Are you sure that it's installed and enabled in the tested browser? / Are you using a browser? Nodejs is server-side, not client-side. Commented Nov 20, 2018 at 5:41
  • possible duplicate of stackoverflow.com/questions/440160/… Commented Nov 20, 2018 at 5:47

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.