• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • paul wheaton
  • Ron McLeod
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Piet Souris
Bartenders:

CODEBASE Version Check

 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
I have a html page which uses Codebase JRE 1.3.0_02. When the client machine accesses this page it successfully downloads the JRE and installs.

However, I would like it to check if the client machine has 1.3.1 already installed. If this the case then I do not want to download 1.3.0_02 but use the 1.3.1 version instead.
Does anyone know if this is possible if so how do I go about it.
Regards
Gavin
 
"The Hood"
Posts: 8521
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You can do
System.getProperties("java.version");
and see what is currently set.
 
Cindy Glass
"The Hood"
Posts: 8521
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Oh, now I see that this is not a Java question.
I will move this to the Applet forum (I quess that is where it belongs).
[ January 29, 2003: Message edited by: Cindy Glass ]
 
Ranch Hand
Posts: 15304
6
Mac OS X IntelliJ IDE Chrome
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
What you are doing now is static versioning. You need to look at Dynamic Versioning.
Here is a good link.
 
Gavin O'Kane
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks Gregg,
That looks like it could be of some help.
Regards
Gavin
 
Gregg Bolinger
Ranch Hand
Posts: 15304
6
Mac OS X IntelliJ IDE Chrome
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
No problem Gavin. As per your private message to me;
Yes, the letter Y is a vowel or a consonant! In terms of sound, a vowel is 'a speech sound which is produced by comparatively open configuration of the vocal tract, with vibration of the vocal cords but without audible friction...', while a consonant is 'a basic speech sound in which the breath is at least partly obstructed' (definitions from the New Oxford Dictionary of English, 1998). The letter Y can be used to represent different sounds in different words, and can therefore fit either definition. In myth or hymn it is clearly a vowel, and also in words such as my, where it stands for a diphthong (a combination of two vowel sounds). On the other hand, in a word like beyond there is an obstacle to the breath which can be heard between two vowels, and the same sound begins words like young and yes. (This consonant sound, like that of the letter W, is sometimes called a `semivowel' because it is made in a similar way to a vowel, but functions in contrast to vowels when used in words.) Whether the letter Y is a vowel or a consonant is therefore rather an arbitrary decision. The letter is probably more often used as a vowel, but in this role is often interchangeable with the letter I. However, the consonant sound is not consistently represented in English spelling by any other letter, and perhaps for this reason Y tends traditionally to be counted among the consonants.
So a Y can be both.
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic