"[EMAIL PROTECTED]" schrieb:

> public static void main (String[] args)
> {
>         // stuff...
> 
>         // check java version
>         if (!javaversion14orabovedetected)
>         {
>                 
> System.out.println(ELABORATE_USER_HELP_REGARDING_UPGRADE_TO_JAVA_VERSION_1_4);
>                 System.exit(1);
>         }

IMHO better idea than checking the version number is checking features
(e.g. if loading of NIO classes creates ClassNotFoundExceptions...).


mihi

_______________________________________________
devl mailing list
[EMAIL PROTECTED]
http://hawk.freenetproject.org:8080/cgi-bin/mailman/listinfo/devl

Reply via email to