标签:occurred error during java linux
因工作需要,这两天一直在RedHat Linux下配置Tomcat6。在手动安装JDK并配置完环境变量后,报出很奇怪的问题:
Error occurred during initialization of VM
java/lang/NoClassDefFounction...
出现此问题先检查环境变量配置是否正确
如果没问题就看一下lib和jre/lib中的rt.pack、tools.pack如果发现这两个文件的话,就是因为他们没有解压我们只需要把他们解压成rt.jar和tools.jar就一切OK了
如:
Java代码
unpack200 rt.pack rt.jar
unpack200 rt.pack rt.jar Java代码
unpack200 tools.pack tools.jar
Error occurred during initialization of VM java/lang/NoClassDefFoundError
标签:occurred error during java linux
原文地址:http://352244.blog.51cto.com/342244/1740211