[英]can i remove JAXB-api.jar from lib folder, when we are using JDK1.6 or above
In our application in lib folder we have jaxb-api.jar which was there from so many years when we are using jdk1.5 and all. 在lib文件夹中的应用程序中,有jaxb-api.jar,这是我们使用jdk1.5这么多年以来得到的。 but now, we have upgraded to jdk1.8 and still I find the jaxb-api.jar in our lib path.
但是现在,我们已经升级到jdk1.8,但仍然可以在我们的lib路径中找到jaxb-api.jar。
I thought the jar will be included in jdk1.6 and above, so can I remove the jar from the lib? 我以为jar会包含在jdk1.6及更高版本中,所以我可以从lib中删除jar吗? or will the JVM takes the jar from the folder?
还是JVM从文件夹中获取jar? I am very much new to this topic so can please help me in this?
我对这个话题非常陌生,因此可以在这方面帮我吗?
Just move that jar from lib to another location for testing purposes and start app. 只需将jar从lib移动到另一个位置以进行测试,然后启动应用即可。 If everything start then yes you can remove it else check the error and try to read docs maybe you need to upgrade something to migrate to new version.
如果一切都开始了,那么可以将其删除,否则请检查错误并尝试阅读文档,也许您需要升级某些内容才能迁移到新版本。
JAXB is part of jdk since JDK1.6 . 自JDK1.6起, JAXB是jdk的一部分。
for more information take a look to Introduction to JAXB 有关更多信息,请参阅《 JAXB简介》。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.