显示具体的Class是从哪个Jar文件加载
JVM参数:
-verbose:class
启动后输出如下:
[Opened D:\Program Files\Java\jdk1.8.0_131\jre\lib\rt.jar]
[Loaded java.lang.Object from D:\Program Files\Java\jdk1.8.0_131\jre\lib\rt.jar]
[Loaded java.io.Serializable from D:\Program Files\Java\jdk1.8.0_131\jre\lib\rt.jar]
[Loaded java.lang.Comparable from D:\Program Files\Java\jdk1.8.0_131\jre\lib\rt.jar]
[Loaded java.lang.CharSequence from D:\Program Files\Java\jdk1.8.0_131\jre\lib\rt.jar]
[Loaded java.lang.String from D:\Program Files\Java\jdk1.8.0_131\jre\lib\rt.jar]
[Loaded java.lang.reflect.AnnotatedElement from D:\Program Files\Java\jdk1.8.0_131\jre\lib\rt.jar]
[Loaded java.lang.reflect.GenericDeclaration from D:\Program Files\Java\jdk1.8.0_131\jre\lib\rt.jar]
[Loaded java.lang.reflect.Type from D:\Program Files\Java\jdk1.8.0_131\jre\lib\rt.jar]
[Loaded java.lang.Class from D:\Program Files\Java\jdk1.8.0_131\jre\lib\rt.jar]
[Loaded java.lang.Cloneable from D:\Program Files\Java\jdk1.8.0_131\jre\lib\rt.jar]
[Loaded java.lang.ClassLoader from D:\Program Files\Java\jdk1.8.0_131\jre\lib\rt.jar]
[Loaded java.lang.System from D:\Program Files\Java\jdk1.8.0_131\jre\lib\rt.jar]
[Loaded java.lang.Throwable from D:\Program Files\Java\jdk1.8.0_131\jre\lib\rt.jar]
[Loaded java.lang.Error from D:\Program Files\Java\jdk1.8.0_131\jre\lib\rt.jar]
[Loaded java.lang.ThreadDeath from D:\Program Files\Java\jdk1.8.0_131\jre\lib\rt.jar]
[Loaded java.lang.Exception from D:\Program Files\Java\jdk1.8.0_131\jre\lib\rt.jar]
[Loaded java.lang.RuntimeException from D:\Program Files\Java\jdk1.8.0_131\jre\lib\rt.jar]
[Loaded java.lang.SecurityManager from D:\Program Files\Java\jdk1.8.0_131\jre\lib\rt.jar]
[Loaded java.security.ProtectionDomain from D:\Program Files\Java\jdk1.8.0_131\jre\lib\rt.jar]
[Loaded java.security.AccessControlContext from D:\Program Files\Java\jdk1.8.0_131\jre\lib\rt.jar]
[Loaded java.security.SecureClassLoader from D:\Program Files\Java\jdk1.8.0_131\jre\lib\rt.jar]
[Loaded java.lang.ReflectiveOperationException from D:\Program Files\Java\jdk1.8.0_131\jre\lib\rt.jar]
[Loaded java.lang.ClassNotFoundException from D:\Program Files\Java\jdk1.8.0_131\jre\lib\rt.jar]
[Loaded java.lang.LinkageError from D:\Program Files\Java\jdk1.8.0_131\jre\lib\rt.jar]
[Loaded java.lang.NoClassDefFoundError from D:\Program Files\Java\jdk1.8.0_131\jre\lib\rt.jar]
[Loaded java.lang.ClassCastException from D:\Program Files\Java\jdk1.8.0_131\jre\lib\rt.jar]
[Loaded java.lang.ArrayStoreException from D:\Program Files\Java\jdk1.8.0_131\jre\lib\rt.jar]
[Loaded java.lang.VirtualMachineError from D:\Program Files\Java\jdk1.8.0_131\jre\lib\rt.jar]
[Loaded java.lang.OutOfMemoryError from D:\Program Files\Java\jdk1.8.0_131\jre\lib\rt.jar]
[Loaded java.lang.StackOverflowError from D:\Program Files\Java\jdk1.8.0_131\jre\lib\rt.jar]
[Loaded java.lang.IllegalMonitorStateException from D:\Program Files\Java\jdk1.8.0_131\jre\lib\rt.jar]
[Loaded java.lang.ref.Reference from D:\Program Files\Java\jdk1.8.0_131\jre\lib\rt.jar]
[Loaded java.lang.ref.SoftReference from D:\Program Files\Java\jdk1.8.0_131\jre\lib\rt.jar]
[Loaded java.lang.ref.WeakReference from D:\Program Files\Java\jdk1.8.0_131\jre\lib\rt.jar]
[Loaded java.lang.ref.FinalReference from D:\Program Files\Java\jdk1.8.0_131\jre\lib\rt.jar]
[Loaded java.lang.ref.PhantomReference from D:\Program Files\Java\jdk1.8.0_131\jre\lib\rt.jar]
[Loaded sun.misc.Cleaner from D:\Program Files\Java\jdk1.8.0_131\jre\lib\rt.jar]
[Loaded java.lang.ref.Finalizer from D:\Program Files\Java\jdk1.8.0_131\jre\lib\rt.jar]
[Loaded java.lang.Runnable from D:\Program Files\Java\jdk1.8.0_131\jre\lib\rt.jar]
[Loaded java.lang.Thread from D:\Program Files\Java\jdk1.8.0_131\jre\lib\rt.jar]
[Loaded java.lang.Thread$UncaughtExceptionHandler from D:\Program Files\Java\jdk1.8.0_131\jre\lib\rt.jar]
[Loaded java.lang.ThreadGroup from D:\Program Files\Java\jdk1.8.0_131\jre\lib\rt.jar]
[Loaded java.util.Map from D:\Program Files\Java\jdk1.8.0_131\jre\lib\rt.jar]
[Loaded java.util.Dictionary from D:\Program Files\Java\jdk1.8.0_131\jre\lib\rt.jar]
[Loaded java.util.Hashtable from D:\Program Files\Java\jdk1.8.0_131\jre\lib\rt.jar]
[Loaded java.util.Properties from D:\Program Files\Java\jdk1.8.0_131\jre\lib\rt.jar]
[Loaded java.lang.reflect.AccessibleObject from D:\Program Files\Java\jdk1.8.0_131\jre\lib\rt.jar]
[Loaded java.lang.reflect.Member from D:\Program Files\Java\jdk1.8.0_131\jre\lib\rt.jar]
[Loaded java.lang.reflect.Field from D:\Program Files\Java\jdk1.8.0_131\jre\lib\rt.jar]
[Loaded java.lang.reflect.Parameter from D:\Program Files\Java\jdk1.8.0_131\jre\lib\rt.jar]
[Loaded java.lang.reflect.Executable from D:\Program Files\Java\jdk1.8.0_131\jre\lib\rt.jar]
[Loaded java.lang.reflect.Method from D:\Program Files\Java\jdk1.8.0_131\jre\lib\rt.jar]
[Loaded java.lang.reflect.Constructor from D:\Program Files\Java\jdk1.8.0_131\jre\lib\rt.jar]
[Loaded sun.reflect.MagicAccessorImpl from D:\Program Files\Java\jdk1.8.0_131\jre\lib\rt.jar]
[Loaded sun.reflect.MethodAccessor from D:\Program Files\Java\jdk1.8.0_131\jre\lib\rt.jar]
[Loaded sun.reflect.MethodAccessorImpl from D:\Program Files\Java\jdk1.8.0_131\jre\lib\rt.jar]
[Loaded sun.reflect.ConstructorAccessor from D:\Program Files\Java\jdk1.8.0_131\jre\lib\rt.jar]
[Loaded sun.reflect.ConstructorAccessorImpl from D:\Program Files\Java\jdk1.8.0_131\jre\lib\rt.jar]
[Loaded sun.reflect.DelegatingClassLoader from D:\Program Files\Java\jdk1.8.0_131\jre\lib\rt.jar]
[Loaded sun.reflect.ConstantPool from D:\Program Files\Java\jdk1.8.0_131\jre\lib\rt.jar]
[Loaded sun.reflect.FieldAccessor from D:\Program Files\Java\jdk1.8.0_131\jre\lib\rt.jar]
[Loaded sun.reflect.FieldAccessorImpl from D:\Program Files\Java\jdk1.8.0_131\jre\lib\rt.jar]
[Loaded sun.reflect.UnsafeFieldAccessorImpl from D:\Program Files\Java\jdk1.8.0_131\jre\lib\rt.jar]
[Loaded sun.reflect.UnsafeStaticFieldAccessorImpl from D:\Program Files\Java\jdk1.8.0_131\jre\lib\rt.jar]
[Loaded java.lang.annotation.Annotation from D:\Program Files\Java\jdk1.8.0_131\jre\lib\rt.jar]
[Loaded sun.reflect.CallerSensitive from D:\Program Files\Java\jdk1.8.0_131\jre\lib\rt.jar]
[Loaded java.lang.invoke.MethodHandle from D:\Program Files\Java\jdk1.8.0_131\jre\lib\rt.jar]
[Loaded java.lang.invoke.DirectMethodHandle from D:\Program Files\Java\jdk1.8.0_131\jre\lib\rt.jar]
[Loaded java.lang.invoke.MemberName from D:\Program Files\Java\jdk1.8.0_131\jre\lib\rt.jar]
[Loaded java.lang.invoke.MethodHandleNatives from D:\Program Files\Java\jdk1.8.0_131\jre\lib\rt.jar]
[Loaded java.lang.invoke.LambdaForm from D:\Program Files\Java\jdk1.8.0_131\jre\lib\rt.jar]
[Loaded java.lang.invoke.MethodType from D:\Program Files\Java\jdk1.8.0_131\jre\lib\rt.jar]
[Loaded java.lang.BootstrapMethodError from D:\Program Files\Java\jdk1.8.0_131\jre\lib\rt.jar]
[Loaded java.lang.invoke.CallSite from D:\Program Files\Java\jdk1.8.0_131\jre\lib\rt.jar]
[Loaded java.lang.invoke.ConstantCallSite from D:\Program Files\Java\jdk1.8.0_131\jre\lib\rt.jar]
[Loaded java.lang.invoke.MutableCallSite from D:\Program Files\Java\jdk1.8.0_131\jre\lib\rt.jar]
[Loaded java.lang.invoke.VolatileCallSite from D:\Program Files\Java\jdk1.8.0_131\jre\lib\rt.jar]
[Loaded java.lang.Appendable from D:\Program Files\Java\jdk1.8.0_131\jre\lib\rt.jar]
[Loaded java.lang.AbstractStringBuilder from D:\Program Files\Java\jdk1.8.0_131\jre\lib\rt.jar]
[Loaded java.lang.StringBuffer from D:\Program Files\Java\jdk1.8.0_131\jre\lib\rt.jar]
[Loaded java.lang.StringBuilder from D:\Program Files\Java\jdk1.8.0_131\jre\lib\rt.jar]
[Loaded sun.misc.Unsafe from D:\Program Files\Java\jdk1.8.0_131\jre\lib\rt.jar]
[Loaded java.lang.AutoCloseable from D:\Program Files\Java\jdk1.8.0_131\jre\lib\rt.jar]
[Loaded java.io.Closeable from D:\Program Files\Java\jdk1.8.0_131\jre\lib\rt.jar]
[Loaded java.io.InputStream from D:\Program Files\Java\jdk1.8.0_131\jre\lib\rt.jar]
[Loaded java.io.ByteArrayInputStream from D:\Program Files\Java\jdk1.8.0_131\jre\lib\rt.jar]
[Loaded java.io.File from D:\Program Files\Java\jdk1.8.0_131\jre\lib\rt.jar]
....
转载请标明出处:http://www.cnblogs.com/ssslinppp/