Login | |
|
 |
RE: VBS to check Java Version - 5/6/2008 12:38:20 AM
|
|
 |
|
| |
ebgreen
Posts: 4613
Score: 31
Joined: 7/12/2005
Status: offline
|
So try them and see if they do. We are happy to help you write a script. We are not so happy to write it for you. Write something and try it then post what you have and explain how it fails.
_____________________________
"... when you are good and crazy, oooh, oooh, oooh, the sky is the limit!" - The Tick Goog places to start:http://www.visualbasicscript.com/m_24727/tm.htm http://www.visualbasicscript.com/m_47117/tm.htm
|
|
| |
|
|
|
 |
RE: VBS to check Java Version - 5/6/2008 10:38:52 PM
|
|
 |
|
| |
mbouchard
Posts: 1835
Score: 14
Joined: 5/15/2003
From: USA
Status: offline
|
Take a look at the WSH help docs, found in the readme post, and look at WriteLine.
_____________________________
Mike For useful Scripting links see the Read Me First stickey! Always remember Search is your friend.
|
|
| |
|
|
|
 |
RE: VBS to check Java Version - 5/6/2008 10:44:40 PM
|
|
 |
|
| |
Rischip
Posts: 414
Score: 2
Joined: 3/26/2007
Status: offline
|
Java can reside many places. "System32", "program files\java", "program files\javasoft", or any other directory if it was installed with an application. It really depends what you are looking for as to what is going to work. If I type Java -version at the command line, I get 1.5.0, but the Plug-in that is installed in the browser is 1.4.2_12. You can have simultaneous installs to do different things. My Plugin resides C:\Program Files\Java\j2re1.4.2_12\bin\npjpi142_12.dll The default Java version resides in both "c:\windows\system32" as well as "C:\Program Files\Java\jre1.5.0\bin" which also contains plug-ins for the browser, but 1.4.2 was installed after to override 1.5.0 settings, since 1.5.0 and after installs rewrite every other versions registry entries to point to itself. This one should be fun.
_____________________________
Rischip Author of - The Grim Linker
|
|
| |
|
|
|
| |
|
|
 |
|
 |
|
|