private static boolean hasJavaWebstartLibrary ( ) { boolean hasWebStartLibrary = true ; try { Class . forName ( "com.sun.jnlp.JNLPClassLoaderIf" ) ; } catch ( final ClassNotFoundException e ) { hasWebStartLibrary = false ; } return hasWebStartLibrary ; }
Check that javaws . jar is accessible .