checking JVM version conveniently
Hello fellows,
I'd like to check the Java Version during the start of my program. So that I could say: "Oh Oh, you need to have the Java Version higher or equal to 1.5.0_06" and aborting the program.
If the user runs it with 1.5.0_03 for example.. it could be, that there are some bugs in it and my program crashes... this should be avoided!
I could get the java version, but then I have to check it in a cumbersome way, like.. get the string, format it well... casting to float, check major version, checking minor version...
so I'm searching now a convinient way for this, because actually everybody, who ships a program, should check this... so there must be a convinient java way... but I didnt found anything!
Do you have a suggestion?
Thanks.

