Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > Java Web Start's Version

Reply
Thread Tools

Java Web Start's Version

 
 
Prabh
Guest
Posts: n/a
 
      07-19-2003
Hi all,

1)Is there a way to find the version of the Java Web Start installed
on a PC.
The javaws.exe doesnt have a binary version resource.

I'm working on an installer which needs to check the version of JWS
installed on user's PC, so "Help-->About" and "Look for Title on JWS
console" are out of question.

Is there a command-line option to find version,
"C:\Program Files\Java Web Start\javaws.exe -version " or similar?
BTW, I tried this cmd, (coming from Perl and all), it expects
"-version" to be an application .

2)The installer needs to check version 1.4.0 of JWS.
I tried to get info from the Windows registry.

I tried:
"Find javaws.exe" + "Search for 1.4.0 key/values in JWS registry hive"
approach.
This works fine and I can determine the version, but the problem is,
the JWS install doesnt just write the current version's registry info,
but also key/values of all previous JWS versions(1.1,1.2 etc.)

If this "write previous versions' registry info." is continued in
newer versions of JWS ( 1.4 +), my search for registries , while true
, will not guarantee that its "JWS 1.4 and 1.4 alone" on the PC.

Is there any way to get around it?
All this would be so much simpler if there were a version on the .exe.

3) Related question,
Why isnt JWS 1.4 available as a stand-alone .exe?
I remember installing 1.2 and 1.0 from JWS-specific .exes., the latest
version is bundled with the Runtime .exe.

Thanks,
Prab
 
Reply With Quote
 
 
 
 
Roedy Green
Guest
Posts: n/a
 
      07-19-2003
On 19 Jul 2003 06:19:11 -0700, http://www.velocityreviews.com/forums/(E-Mail Removed) (Prabh) wrote or
quoted :

>I'm working on an installer which needs to check the version of JWS
>installed on user's PC, so "Help-->About" and "Look for Title on JWS
>console" are out of question.


You can revert to the brute force way. Create a table of sizes,
datestamps and if you are truly paranoid, CRC signatures for various
versions.

See http://mindprod.com/jgloss/crc.html

--
Canadian Mind Products, Roedy Green.
Coaching, problem solving, economical contract programming.
See http://mindprod.com/jgloss/jgloss.html for The Java Glossary.
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: Where to get stand alone Dot Net Framework version 1.1, version2.0, version 3.0, version 3.5, version 2.0 SP1, version 3.0 SP1 ? MowGreen [MVP] ASP .Net 5 02-09-2008 01:55 AM
Re: Where to get stand alone Dot Net Framework version 1.1, version 2.0, version 3.0, version 3.5, version 2.0 SP1, version 3.0 SP1 ? PA Bear [MS MVP] ASP .Net 0 02-05-2008 03:28 AM
Re: Where to get stand alone Dot Net Framework version 1.1, version 2.0, version 3.0, version 3.5, version 2.0 SP1, version 3.0 SP1 ? V Green ASP .Net 0 02-05-2008 02:45 AM
my dream - a simplified version of java - made from java rfractal30 Java 5 02-21-2005 05:54 PM
getting a windows java program to run on a mac and different java version Eric Java 4 02-18-2004 06:45 PM



Advertisments