September 20th, 2005, 02:30 PM
How to display Java version?
Working on a system checker here.
I want to display the version of Java that is installed. what command do I use to check for the different java versions? I am only concerned with checking for Java in IE.
September 20th, 2005, 08:09 PM
Script to detect java version.
I got this from a Google Group:
Here's the script:
var V=new Array();
// List classID's for all component queries needed ...
var i, S='Full Versions of Installed Components...\n',
A='msjava.dll,Windows Media Player,Flash'.split(',');
for(i=0; i<A.length; i++) S+='\n'+A[i]+': '+getComVer(i);
When the programming world turns decent, the real world will turn upside down.
September 26th, 2005, 08:08 AM
thanks for the info...
September 26th, 2005, 08:11 AM
Recycle your old CD's, don't just trash them
If I helped you out, show some love with some reputation, or tip with Bitcoins to 1N645HfYf63UbcvxajLKiSKpYHAq2Zxud
September 26th, 2005, 10:33 AM
Thanks for the info I'll have to try it out!
Originally Posted by kicken
September 26th, 2005, 01:00 PM
Cant get the code to work.
Here is the webpage where I am doing the check.
You can view the source to see what I am doing. The code still needs to be cleaned up and better formatted. I still cant find a way to call the code to get everything to work.
September 26th, 2005, 03:30 PM
try out this code:
but check if java is ennabled in the first place other wise it might return an UNKOWN