944,110 Members | Top Members by Rank

Ad:
  • Java Discussion Thread
  • Unsolved
  • Views: 12680
  • Java RSS
Sep 3rd, 2004
1

check if Java is installed

Expand Post »
Hi

How to know if there is any version of Java installed on the user PC and what revision, using JavaScript

thank you
Charbel
Similar Threads
Reputation Points: 11
Solved Threads: 0
Newbie Poster
CharbelKahi1 is offline Offline
1 posts
since Sep 2004
Sep 5th, 2004
1

Re: check if Java is installed

You cannot run any system related command using java script..... java script doesnot need jvm to be installed ...
Team Colleague
Reputation Points: 45
Solved Threads: 56
Unauthenticated Liar
nanosani is offline Offline
1,767 posts
since Jul 2004
Sep 9th, 2004
1

Re: check if Java is installed

Kindly run your DOS prompt, ie command.com then in the DOS type javac the press enter.
if java is installed it will show the syntax and some valid commands :mrgreen:
Reputation Points: 11
Solved Threads: 0
Newbie Poster
sploxz is offline Offline
1 posts
since Sep 2004
Sep 10th, 2004
0

Re: check if Java is installed

and you can type jview in dos prompt to see if microsoft jvm is installed ...
Team Colleague
Reputation Points: 45
Solved Threads: 56
Unauthenticated Liar
nanosani is offline Offline
1,767 posts
since Jul 2004
Nov 27th, 2009
0
Re: check if Java is installed
i just put java on my computer and how do i know if i did it the right way i go to my control panel and go to advanced and click on the internet that i do have for it to work and its still not working
Reputation Points: 10
Solved Threads: 0
Newbie Poster
amr 10 15 90 is offline Offline
1 posts
since Nov 2009
Nov 27th, 2009
0
Re: check if Java is installed
i just put java on my computer and how do i know if i did it the right way i go to my control panel and go to advanced and click on the internet that i do have for it to work and its still not working
It depends. Are you talking about the Java Runtime Environment (the program used to open Java files online) or are you talking about the Java Development Kit (used to create Java programs and applets)?
Reputation Points: 18
Solved Threads: 0
Light Poster
DaMoogle is offline Offline
34 posts
since Jun 2005
Sep 29th, 2010
0
Re: check if Java is installed
Actually yes their is a way to check if a user has java installed , but unfortunately I dont know a way to put out a command if they do not have java installed. But if I find one I will post it.

Here you go..

Java Syntax (Toggle Plain Text)
  1. <script> document.write(new String("<b>Great! it looks like you have java!</b>"),alert('yay it looks like you have java installed!'),window.close()); </script>

Happy Scripting
Reputation Points: 10
Solved Threads: 0
Newbie Poster
scriptWolf is offline Offline
1 posts
since Sep 2010

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in Java Forum Timeline: Conditionals and Recursion Help
Next Thread in Java Forum Timeline: game using java





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC