public static boolean isClassAvailable(final String className){
  try {
    forName(className,new IllegalArgumentException(String.format("Class (%1$s) is not available!",className)));
    return true;
  }
 catch (  IllegalArgumentException ignore) {
    return false;
  }
}

public static boolean isClassAvailable ( final String className ) { try { forName ( className , new IllegalArgumentException ( String . format ( "Class (%1$s) is not available!" , className ) ) ) ; return true ; } catch ( IllegalArgumentException ignore ) { return false ; } }
determine whether the specified class is on the classpath . < < p / >
