zoukankan      html  css  js  c++  java
  • 【JVM参数】Java启动时,显示class是从哪个Jar中加载的

    显示具体的Class是从哪个Jar文件加载

    JVM参数:

    -verbose:class
    

    启动后输出如下:

    [Opened D:Program FilesJavajdk1.8.0_131jrelib
    t.jar]
    [Loaded java.lang.Object from D:Program FilesJavajdk1.8.0_131jrelib
    t.jar]
    [Loaded java.io.Serializable from D:Program FilesJavajdk1.8.0_131jrelib
    t.jar]
    [Loaded java.lang.Comparable from D:Program FilesJavajdk1.8.0_131jrelib
    t.jar]
    [Loaded java.lang.CharSequence from D:Program FilesJavajdk1.8.0_131jrelib
    t.jar]
    [Loaded java.lang.String from D:Program FilesJavajdk1.8.0_131jrelib
    t.jar]
    [Loaded java.lang.reflect.AnnotatedElement from D:Program FilesJavajdk1.8.0_131jrelib
    t.jar]
    [Loaded java.lang.reflect.GenericDeclaration from D:Program FilesJavajdk1.8.0_131jrelib
    t.jar]
    [Loaded java.lang.reflect.Type from D:Program FilesJavajdk1.8.0_131jrelib
    t.jar]
    [Loaded java.lang.Class from D:Program FilesJavajdk1.8.0_131jrelib
    t.jar]
    [Loaded java.lang.Cloneable from D:Program FilesJavajdk1.8.0_131jrelib
    t.jar]
    [Loaded java.lang.ClassLoader from D:Program FilesJavajdk1.8.0_131jrelib
    t.jar]
    [Loaded java.lang.System from D:Program FilesJavajdk1.8.0_131jrelib
    t.jar]
    [Loaded java.lang.Throwable from D:Program FilesJavajdk1.8.0_131jrelib
    t.jar]
    [Loaded java.lang.Error from D:Program FilesJavajdk1.8.0_131jrelib
    t.jar]
    [Loaded java.lang.ThreadDeath from D:Program FilesJavajdk1.8.0_131jrelib
    t.jar]
    [Loaded java.lang.Exception from D:Program FilesJavajdk1.8.0_131jrelib
    t.jar]
    [Loaded java.lang.RuntimeException from D:Program FilesJavajdk1.8.0_131jrelib
    t.jar]
    [Loaded java.lang.SecurityManager from D:Program FilesJavajdk1.8.0_131jrelib
    t.jar]
    [Loaded java.security.ProtectionDomain from D:Program FilesJavajdk1.8.0_131jrelib
    t.jar]
    [Loaded java.security.AccessControlContext from D:Program FilesJavajdk1.8.0_131jrelib
    t.jar]
    [Loaded java.security.SecureClassLoader from D:Program FilesJavajdk1.8.0_131jrelib
    t.jar]
    [Loaded java.lang.ReflectiveOperationException from D:Program FilesJavajdk1.8.0_131jrelib
    t.jar]
    [Loaded java.lang.ClassNotFoundException from D:Program FilesJavajdk1.8.0_131jrelib
    t.jar]
    [Loaded java.lang.LinkageError from D:Program FilesJavajdk1.8.0_131jrelib
    t.jar]
    [Loaded java.lang.NoClassDefFoundError from D:Program FilesJavajdk1.8.0_131jrelib
    t.jar]
    [Loaded java.lang.ClassCastException from D:Program FilesJavajdk1.8.0_131jrelib
    t.jar]
    [Loaded java.lang.ArrayStoreException from D:Program FilesJavajdk1.8.0_131jrelib
    t.jar]
    [Loaded java.lang.VirtualMachineError from D:Program FilesJavajdk1.8.0_131jrelib
    t.jar]
    [Loaded java.lang.OutOfMemoryError from D:Program FilesJavajdk1.8.0_131jrelib
    t.jar]
    [Loaded java.lang.StackOverflowError from D:Program FilesJavajdk1.8.0_131jrelib
    t.jar]
    [Loaded java.lang.IllegalMonitorStateException from D:Program FilesJavajdk1.8.0_131jrelib
    t.jar]
    [Loaded java.lang.ref.Reference from D:Program FilesJavajdk1.8.0_131jrelib
    t.jar]
    [Loaded java.lang.ref.SoftReference from D:Program FilesJavajdk1.8.0_131jrelib
    t.jar]
    [Loaded java.lang.ref.WeakReference from D:Program FilesJavajdk1.8.0_131jrelib
    t.jar]
    [Loaded java.lang.ref.FinalReference from D:Program FilesJavajdk1.8.0_131jrelib
    t.jar]
    [Loaded java.lang.ref.PhantomReference from D:Program FilesJavajdk1.8.0_131jrelib
    t.jar]
    [Loaded sun.misc.Cleaner from D:Program FilesJavajdk1.8.0_131jrelib
    t.jar]
    [Loaded java.lang.ref.Finalizer from D:Program FilesJavajdk1.8.0_131jrelib
    t.jar]
    [Loaded java.lang.Runnable from D:Program FilesJavajdk1.8.0_131jrelib
    t.jar]
    [Loaded java.lang.Thread from D:Program FilesJavajdk1.8.0_131jrelib
    t.jar]
    [Loaded java.lang.Thread$UncaughtExceptionHandler from D:Program FilesJavajdk1.8.0_131jrelib
    t.jar]
    [Loaded java.lang.ThreadGroup from D:Program FilesJavajdk1.8.0_131jrelib
    t.jar]
    [Loaded java.util.Map from D:Program FilesJavajdk1.8.0_131jrelib
    t.jar]
    [Loaded java.util.Dictionary from D:Program FilesJavajdk1.8.0_131jrelib
    t.jar]
    [Loaded java.util.Hashtable from D:Program FilesJavajdk1.8.0_131jrelib
    t.jar]
    [Loaded java.util.Properties from D:Program FilesJavajdk1.8.0_131jrelib
    t.jar]
    [Loaded java.lang.reflect.AccessibleObject from D:Program FilesJavajdk1.8.0_131jrelib
    t.jar]
    [Loaded java.lang.reflect.Member from D:Program FilesJavajdk1.8.0_131jrelib
    t.jar]
    [Loaded java.lang.reflect.Field from D:Program FilesJavajdk1.8.0_131jrelib
    t.jar]
    [Loaded java.lang.reflect.Parameter from D:Program FilesJavajdk1.8.0_131jrelib
    t.jar]
    [Loaded java.lang.reflect.Executable from D:Program FilesJavajdk1.8.0_131jrelib
    t.jar]
    [Loaded java.lang.reflect.Method from D:Program FilesJavajdk1.8.0_131jrelib
    t.jar]
    [Loaded java.lang.reflect.Constructor from D:Program FilesJavajdk1.8.0_131jrelib
    t.jar]
    [Loaded sun.reflect.MagicAccessorImpl from D:Program FilesJavajdk1.8.0_131jrelib
    t.jar]
    [Loaded sun.reflect.MethodAccessor from D:Program FilesJavajdk1.8.0_131jrelib
    t.jar]
    [Loaded sun.reflect.MethodAccessorImpl from D:Program FilesJavajdk1.8.0_131jrelib
    t.jar]
    [Loaded sun.reflect.ConstructorAccessor from D:Program FilesJavajdk1.8.0_131jrelib
    t.jar]
    [Loaded sun.reflect.ConstructorAccessorImpl from D:Program FilesJavajdk1.8.0_131jrelib
    t.jar]
    [Loaded sun.reflect.DelegatingClassLoader from D:Program FilesJavajdk1.8.0_131jrelib
    t.jar]
    [Loaded sun.reflect.ConstantPool from D:Program FilesJavajdk1.8.0_131jrelib
    t.jar]
    [Loaded sun.reflect.FieldAccessor from D:Program FilesJavajdk1.8.0_131jrelib
    t.jar]
    [Loaded sun.reflect.FieldAccessorImpl from D:Program FilesJavajdk1.8.0_131jrelib
    t.jar]
    [Loaded sun.reflect.UnsafeFieldAccessorImpl from D:Program FilesJavajdk1.8.0_131jrelib
    t.jar]
    [Loaded sun.reflect.UnsafeStaticFieldAccessorImpl from D:Program FilesJavajdk1.8.0_131jrelib
    t.jar]
    [Loaded java.lang.annotation.Annotation from D:Program FilesJavajdk1.8.0_131jrelib
    t.jar]
    [Loaded sun.reflect.CallerSensitive from D:Program FilesJavajdk1.8.0_131jrelib
    t.jar]
    [Loaded java.lang.invoke.MethodHandle from D:Program FilesJavajdk1.8.0_131jrelib
    t.jar]
    [Loaded java.lang.invoke.DirectMethodHandle from D:Program FilesJavajdk1.8.0_131jrelib
    t.jar]
    [Loaded java.lang.invoke.MemberName from D:Program FilesJavajdk1.8.0_131jrelib
    t.jar]
    [Loaded java.lang.invoke.MethodHandleNatives from D:Program FilesJavajdk1.8.0_131jrelib
    t.jar]
    [Loaded java.lang.invoke.LambdaForm from D:Program FilesJavajdk1.8.0_131jrelib
    t.jar]
    [Loaded java.lang.invoke.MethodType from D:Program FilesJavajdk1.8.0_131jrelib
    t.jar]
    [Loaded java.lang.BootstrapMethodError from D:Program FilesJavajdk1.8.0_131jrelib
    t.jar]
    [Loaded java.lang.invoke.CallSite from D:Program FilesJavajdk1.8.0_131jrelib
    t.jar]
    [Loaded java.lang.invoke.ConstantCallSite from D:Program FilesJavajdk1.8.0_131jrelib
    t.jar]
    [Loaded java.lang.invoke.MutableCallSite from D:Program FilesJavajdk1.8.0_131jrelib
    t.jar]
    [Loaded java.lang.invoke.VolatileCallSite from D:Program FilesJavajdk1.8.0_131jrelib
    t.jar]
    [Loaded java.lang.Appendable from D:Program FilesJavajdk1.8.0_131jrelib
    t.jar]
    [Loaded java.lang.AbstractStringBuilder from D:Program FilesJavajdk1.8.0_131jrelib
    t.jar]
    [Loaded java.lang.StringBuffer from D:Program FilesJavajdk1.8.0_131jrelib
    t.jar]
    [Loaded java.lang.StringBuilder from D:Program FilesJavajdk1.8.0_131jrelib
    t.jar]
    [Loaded sun.misc.Unsafe from D:Program FilesJavajdk1.8.0_131jrelib
    t.jar]
    [Loaded java.lang.AutoCloseable from D:Program FilesJavajdk1.8.0_131jrelib
    t.jar]
    [Loaded java.io.Closeable from D:Program FilesJavajdk1.8.0_131jrelib
    t.jar]
    [Loaded java.io.InputStream from D:Program FilesJavajdk1.8.0_131jrelib
    t.jar]
    [Loaded java.io.ByteArrayInputStream from D:Program FilesJavajdk1.8.0_131jrelib
    t.jar]
    [Loaded java.io.File from D:Program FilesJavajdk1.8.0_131jrelib
    t.jar]
    ....
    
  • 相关阅读:
    给目录下所有文件与文件夹加权限
    应用程序无法正常启动0xc000007b解决方法
    文件关联修复方法
    xz压缩文件方法
    sharding-jdbc实现水平分库 + 水平分表
    Sharding-jdbc实现水平分表
    批量删除Maven本地仓库中未下载完成的jar包(不完整的jar包)
    分库分表
    尚硅谷 ShardingSphere
    SpringBoot 整合ActiveMQ
  • 原文地址:https://www.cnblogs.com/ssslinppp/p/8341765.html
Copyright © 2011-2022 走看看