Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Java Help > Re: Verify java...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 5 of 10 Topic 16041 of 16590
Post > Topic >>

Re: Verify java version when running jar file

by Roedy Green <see_website@[EMAIL PROTECTED] > May 1, 2008 at 06:41 AM

On Wed, 30 Apr 2008 15:10:04 -0700 (PDT), hust6 <mhust6@[EMAIL PROTECTED]
>
wrote, quoted or indirectly quoted someone who said :

> It relies on Java 1.4.2, but some of the customers have
>1.3.  Is there anything that I can do in the Manifest or Java code to
>catch this problem right away, so that the application can fail
>gracefully?  

see the code in http://mindprod.com/products1.html#COMMON11
there is a method to check the java version is up to snuff.  Call it
first thing.  However, if your main class has too high a version
number, you won't even get started.

see http://mindprod.com/products1.html#JARCHECK

-- 

Roedy Green Canadian Mind Products
The Java Glossary
http://mindprod.com
 




 10 Posts in Topic:
Verify java version when running jar file
hust6 <mhust6@[EMAIL P  2008-04-30 15:10:04 
Re: Verify java version when running jar file
Knute Johnson <nospam@  2008-04-30 16:42:55 
Re: Verify java version when running jar file
Andrew Thompson <andre  2008-04-30 20:55:04 
Re: Verify java version when running jar file
Knute Johnson <nospam@  2008-04-30 21:48:34 
Re: Verify java version when running jar file
Roedy Green <see_websi  2008-05-01 06:41:47 
Re: Verify java version when running jar file
Andrew Thompson <andre  2008-05-01 00:01:07 
Re: Verify java version when running jar file
hust6 <mhust6@[EMAIL P  2008-05-01 09:20:24 
Re: Verify java version when running jar file
Alex.From.Ohio.Java@[EMAI  2008-05-01 12:22:59 
Re: Verify java version when running jar file
Andrew Thompson <andre  2008-05-01 17:09:01 
Re: Verify java version when running jar file
Alex.From.Ohio.Java@[EMAI  2008-05-02 13:28:16 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Wed Dec 3 14:52:02 CST 2008.