aspose file tools*
The moose likes JNLP and Web Start and the fly likes Detecting old JRE without closing and reopening GUI Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JNLP and Web Start
Bookmark "Detecting old JRE without closing and reopening GUI" Watch "Detecting old JRE without closing and reopening GUI" New topic
Author

Detecting old JRE without closing and reopening GUI

vishal chang
Greenhorn

Joined: Dec 11, 2009
Posts: 4
Hi,
Is there a way in JWS to detect that the JNLP file refers to a new JRE without relaunching the application.
My problem is that I might have users who havent closed their login window but the JNLP file on the server has been updated to refer to a newer JRE.
So lets the the JWS GUI is still showing the login window and running on JRE 1.5 on client side but the JNLP file on the server has been updated to say that JWS GUI should run on 1.6.
Thanks in advance,
V


-v-
Maneesh Godbole
Saloon Keeper

Joined: Jul 26, 2007
Posts: 10523
    
    9

vishal vnc wrote:

Please check your private messages for an important administrative matter


[How to ask questions] [Donate a pint, save a life!] [Onff-turn it on!]
Maneesh Godbole
Saloon Keeper

Joined: Jul 26, 2007
Posts: 10523
    
    9

Haven't encountered this scenario before. What happens if you try it out? Any exceptions?
vishal chang
Greenhorn

Joined: Dec 11, 2009
Posts: 4
Maneesh Godbole wrote:Haven't encountered this scenario before. What happens if you try it out? Any exceptions?


No exception..it works..just that it shouldnt ...since I want my GUI to run on a new JRE.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Detecting old JRE without closing and reopening GUI