My Oracle Support Banner

JRockit 7.0, 8.1- Classloading problem: NoSuchMethodError (Doc ID 774065.1)

Last updated on NOVEMBER 05, 2016

Applies to:

Oracle JRockit / JRockit / 7.0, 8.1
Information in this document applies to any platform


JRockit throws the following exception on a particular scenario whereas other JDKs work fine.

java.lang.reflect.InvocationTargetException: java.lang.NoSuchMethodError: callable

The code which causes the problem is something like this:
public void someMethod(String[] args){
	   int licenseAdded = AddLicenseSet.callable(args);


'AddLicenseSet' is the class which is in 'Security.jar' file. This .jar file is added to the search classpath only at
method run time.


To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.