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 10 of 10 Topic 16041 of 16477
Post > Topic >>

Re: Verify java version when running jar file

by Alex.From.Ohio.Java@[EMAIL PROTECTED] May 2, 2008 at 01:28 PM

On May 1, 8:09 pm, Andrew Thompson <andrewtho...@[EMAIL PROTECTED]
> wrote:
> On May 2, 5:22 am, Alex.From.Ohio.J...@[EMAIL PROTECTED]
 wrote:
> ...
>
> > System.getProperties().getProperty("java.vm.version") will do the
> > trick.
>
> Not in a 1.3 VM, that is trying to run
> code compiled for a 1.4+ VM, it won't.
>
> --
> Andrew T.
> PhySci.org

Good. This is good reason to compile one particular class in the Java
1.0.

Please, don't flame with ClassLoaders ;)

Alex.
http://www.myjavaserver.com/~alexfromohio/
 




 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 Sat Oct 11 12:09:14 CDT 2008.