Version Checking

hey!

I am confused right now at Java. There is 1.4.2, 1.5.0 and than there is 1.1 and 2.0. Than there is this thing called Mustang.

Can someone explain to me or provide me a link to the site that explains all these version numbers.

Mustang comes with the ability to create tray icons. I want to write into my code a tray icon but I want to write in the option to do nothing if the user doesn't have mustang installed.

Is there a way to check the version, or should I just do a

try

{

Commands

}

catch (SomeExceptionThatIamNotFamiliarWith e)

{

System.out.println("Tray icons are not supported and therefore has not be created.");

};

Thanks for your help,

David

[750 byte] By [Davida] at [2007-10-2 6:03:21]
# 1
http://weblogs.java.net/blog/kgh/archive/2005/06/goodbye_j2se_he_1.html http://java.sun.com/developer/technicalArticles/JavaOne2005/naming.htmlProgramatically, System property "java.version" can be used to determine version.
sundararajan.aa at 2007-7-16 13:03:49 > top of Java-index,Java HotSpot Virtual Machine,Specifications...
# 2
Ok,funny question. I recieved Java 1.4.2 with my OS (suse 9.3) this release was put together in the last 6 months. Why is it that the old version was included?Any thoughts,Thanks,David
Davida at 2007-7-16 13:03:49 > top of Java-index,Java HotSpot Virtual Machine,Specifications...