【JVM参数】Java启动时,显示class是从哪个Jar中加载的
显示具体的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]
....
【JVM参数】Java启动时,显示class是从哪个Jar中加载的的更多相关文章
- 在命令提示符下,运行Java程序时,提示"找不到或无法加载主类"
小白:在命令提示符下,运行Java程序时,提示"找不到或无法加载主类". 大神:运行Java程序的作用是让Java解释器装载,检验并运行字节码文件(.class).因此,在运行Ja ...
- MyBatis Java不同方式加载文件时的路径格式问题、Mybatis中加载.properties文件
public class LoadPropTest { public static void main(String[] args) throws IOException { //一.Properti ...
- maven project中,在main方法上右键Run as Java Application时,提示错误:找不到或无法加载主类XXX.XXXX.XXX
新建了一个maven project项目,经过一大堆的修改操作之后,突然发现在main方法上右键运行时,竟然提示:错误:找不到或无法加载主类xxx.xxx.xxx可能原因1.eclipse出问题了,在 ...
- vue隐藏APP启动时显示的{{}}
vue隐藏APP启动时显示的{{}} vue组件在编译好之前会显示{{msg}},在官网上找到这个
- 关闭WPS启动时显示的在线模板
关闭WPS启动时显示的在线模板 以WPS2016为例,如下图: 操作步骤如下: ①点击在线模板页面右下方的"设置"选项 ②"设置"界面打开后,选择启动WPS默认 ...
- 从内存中加载并启动一个exe
windows似乎只提供了一种启动进程的方法:即必须从一个可执行文件中加载并启动.而下面这段代码就是提供一种可以直接从内存中启动一个exe的变通办法.用途嘛, 也许可以用来保护你的exe,你可以对要保 ...
- 三、js提交请求加载启动动画、请求完成成功回调、注销加载动画
1.通过Query post方式进行异步请求方法 jQuery.post(url, [data], [callback], [type]) 参数说明: url:发送请求地址 data:待发送 Key ...
- Linux内核启动代码分析二之开发板相关驱动程序加载分析
Linux内核启动代码分析二之开发板相关驱动程序加载分析 1 从linux开始启动的函数start_kernel开始分析,该函数位于linux-2.6.22/init/main.c start_ke ...
- [Java]类的生命周期(上)类的加载和连接[转]
本文来自:曹胜欢博客专栏.转载请注明出处:http://blog.csdn.net/csh624366188 类加载器,顾名思义,类加载器(class loader)用来加载 Java 类到 Java ...
随机推荐
- CodeMirror tab转空格
解决CodeMirror编辑器Tab转空格问题 editor.setOption("extraKeys", { Tab: newTab }); function newTab(cm ...
- HDU - 2892:area (圆与多边形交 求面积)
pro:飞行员去轰炸一个小岛,给出炸弹落地点的位置信息,以及轰炸半径:按顺时针或者逆时针给出小岛的边界点. 求被轰炸的小岛面积. sol:即是求圆和多边形的面积交. (只会套板子的我改头换面,先理解然 ...
- Vue.js学习使用心得(三)
一.计算属性 计算属性关键词: computed <body> <div id="app"> <p>原始字符串: {{ message }}&l ...
- day03用户交互、基本数据类型、运算符
用户交互 在实际应用中,我们经常需要用户输入相应信息,根据用户输入信息进行反馈,此时我们需要input/output信息 python中提供了便捷的输入方法input()和print() 在pytho ...
- 启动tomcat报错:Failed to start component [StandardEngine[Catalina].StandardHost[localhost]
1.右键点击需要启动的tomcat,选择Clean和Clean Tomcat Work Directory,清除即可!
- PS学习之合成特效:被风沙侵蚀的动物们
素材 大象 尘埃 裂纹 沙子 土地 正式操作: 打开PS 新建一个文件 选国际标准纸张 给分辨率为72(分辨率越大越占内存) 然后确定 将图片旋转90度(图像——旋转——(顺/逆)90度) 下面选 ...
- 【HDOJ1043】【康拓展开+BFS】
http://acm.hdu.edu.cn/showproblem.php?pid=1043 Eight Time Limit: 10000/5000 MS (Java/Others) Memo ...
- Python开发指南规范
分号 不要在行尾加分号, 也不要用分号将两条命令放在同一行. 行长度 每行不超过80个字符 例外: 长的导入模块语句 注释里的URL 不要使用反斜杠连接行. Python会将 圆括号, 中括号和花括号 ...
- 《DSP using MATLAB》Problem 5.32
代码: function [y] = ovrlpadd_v3(x, h, N) %% Overlap-Add method of block convolution %% -------------- ...
- HTTP与TCP的区别和联系--转载
相信不少初学手机联网开发的朋友都想知道Http与Socket连接究竟有什么区别,希望通过自己的浅显理解能对初学者有所帮助. 一.基本概念 1.TCP连接 手机能够使用联网功能是因为手机底层实现了TCP ...