static boolean isOnClasspath ( String className ) { boolean isOnClassPath = true ; try { Class . forName ( className ) ; } catch ( ClassNotFoundException exception ) { isOnClassPath = false ; } return isOnClassPath ; }
Checks if class is on class path