Login | |
|
 |
RE: JREVersion - 2/25/2006 5:08:40 AM
|
|
 |
|
| |
Cybex
Posts: 412
Score: 0
Joined: 9/14/2005
From: Florida
Status: offline
|
I have no idea what "object.jreversion" is, I have never seen it before and searches turned up nothing for VBScript. You could try using the coomandline "java -version" as a starting point. Cybex
_____________________________
Common sense is not so common.
|
|
| |
|
|
|
 |
RE: JREVersion - 2/27/2006 12:54:28 AM
|
|
 |
|
| |
mbouchard
Posts: 1922
Score: 16
Joined: 5/15/2003
From: USA
Status: offline
|
Would require a little checking for the correct folder, but you could use java.exe -version to get the JRE version. On my PC , c:\program files\Java\j2re1.4.2\bin\java.exe gives me something like java version "1.4.2" java(tm) 2 Runtime Environemtn, Standard Edition )build 1.4.2-b28) Java HotSpot(tm) Client VM (build 1.4.2-b28, mixed mode) You can possibly find this path via the reg key found in HKCR\applications\javaw.exe\shell\open\command\(default) Not positive if this key will be present for all versions, also, you would want to use java.exe and not javaw.exe as javaw doesn't give you anything or so it seems.
_____________________________
Mike For useful Scripting links see the Read Me First stickey! Always remember Search is your friend.
|
|
| |
|
|
|
 |
RE: JREVersion - 2/27/2006 1:21:00 AM
|
|
 |
|
| |
Cybex
Posts: 412
Score: 0
Joined: 9/14/2005
From: Florida
Status: offline
|
I thought that is what I said two days ago... Also "java" should be in path and all you should have to do is type "java -version". Cybex
_____________________________
Common sense is not so common.
|
|
| |
|
|
|
 |
RE: JREVersion - 2/27/2006 1:34:06 AM
|
|
 |
|
| |
mbouchard
Posts: 1922
Score: 16
Joined: 5/15/2003
From: USA
Status: offline
|
quote:
ORIGINAL: Cybex I thought that is what I said two days ago... Also "java" should be in path and all you should have to do is type "java -version". Cybex Hmm, Note to self, read read read.
_____________________________
Mike For useful Scripting links see the Read Me First stickey! Always remember Search is your friend.
|
|
| |
|
|
|
|
|