<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Sybase数据库技术，数据库恢复专家 &#187; 解压</title>
	<atom:link href="http://www.dbainfo.net/tag/%e8%a7%a3%e5%8e%8b/feed" rel="self" type="application/rss+xml" />
	<link>https://www.dbainfo.net</link>
	<description>提供Sybase ASE及Sybase SQL Anywhere数据库修复服务，电话：13811580958(微信)，QQ：289965371！We have many years of experience in recovering data from damanged Sybase devices. Contact us by Phone: +86 13811580958 Wechat: 13811580958 Email: 289965371@qq.com</description>
	<lastBuildDate>Sat, 14 Jun 2025 16:28:02 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>配置tomcat时遇到的jdk没有解压完全的问题</title>
		<link>https://www.dbainfo.net/tomcat-jdk-files-extract-problem.htm</link>
		<comments>https://www.dbainfo.net/tomcat-jdk-files-extract-problem.htm#comments</comments>
		<pubDate>Mon, 28 Dec 2009 11:11:15 +0000</pubDate>
		<dc:creator>dbainfo</dc:creator>
				<category><![CDATA[Miscellaneous]]></category>
		<category><![CDATA[解压]]></category>

		<guid isPermaLink="false">http://www.dbainfo.net/?p=113</guid>
		<description><![CDATA[今天下午在RedHat linux enterprise5.4上安装tomcat。 最后执行/usr/tomcat/bin/startup.sh启动的时候报，Error occurred during initialization of VM java/lang/NoClassDefFoundError: java/lang/Object 在网上寻找到原因为: /usr/lib/jdk1.6.0_17/lib下面的tools.pack需要解压为tools.jar,/usr/lib/jdk1.6.0_17 /jre/下的rt.pack需要解压为rt.jar。不过还好在/usr/lib/jdk1.6.0_17/bin下有一个工具unpack200可以解压。不明白sun为什么搞成这么麻烦？   网上找的文章贴在下面。 ====================================================================== 安装完JDK ，设定环境变量后出现这个错误： [root@localhost lib]# javac Error occurred during initialization of VM java/lang/NoClassDefFoundError: java/lang/Object [root@localhost lib]# java Error occurred during initialization of VM java/lang/NoClassDefFoundError: java/lang/Object 解决办法：分别把  /opt/jdk1.6.0_15/lib/ tools.pack  转为  tools.jar     /opt/jdk1.6.0_15/jre/lib/rt.pack   转为  rt.jar [root@localhost lib]# pwd /opt/jdk1.6.0_15/lib [root@localhost [...]]]></description>
			<content:encoded><![CDATA[<div>今天下午在RedHat linux enterprise5.4上安装tomcat。</div>
<div>最后执行/usr/tomcat/bin/startup.sh启动的时候报，Error occurred during initialization of VM<br />
java/lang/NoClassDefFoundError: java/lang/Object</div>
<div>
在网上寻找到原因为: /usr/lib/jdk1.6.0_17/lib下面的tools.pack需要解压为tools.jar,/usr/lib/jdk1.6.0_17 /jre/下的rt.pack需要解压为rt.jar。不过还好在/usr/lib/jdk1.6.0_17/bin下有一个工具unpack200可以解压。不明白sun为什么搞成这么麻烦？</div>
<div> </div>
<div>网上找的文章贴在下面。</div>
<div>======================================================================</div>
<div>安装完JDK ，设定环境变量后出现这个错误：</div>
<div>[root@localhost lib]# javac<br />
Error occurred during initialization of VM<br />
java/lang/NoClassDefFoundError: java/lang/Object<br />
[root@localhost lib]# java<br />
Error occurred during initialization of VM<br />
java/lang/NoClassDefFoundError: java/lang/Object</div>
<div>解决办法：分别把 </div>
<div>/opt/jdk1.6.0_15/lib/ tools.pack  转为  tools.jar  </div>
<div> </div>
<div>/opt/jdk1.6.0_15/jre/lib/rt.pack   转为  rt.jar</div>
<div>[root@localhost lib]# pwd<br />
/opt/jdk1.6.0_15/lib<br />
[root@localhost lib]# unpack200 tools.pack tools.jar<br />
[root@localhost lib]# ls<br />
ct.sym  htmlconverter.jar  jconsole.jar  orb.idl     tools.jar   tools.pack.bak<br />
dt.jar  ir.idl             jexec         sa-jdi.jar  tools.pack  visualvm</div>
<div>[root@localhost lib]# pwd<br />
/opt/jdk1.6.0_15/jre/lib<br />
[root@localhost lib]# unpack200 rt.pack rt.jar</div>
<div style="clear: both; margin: 10px 0pt; border: 1px dashed rgb(153, 153, 153); font-size: 12px; padding: 5px 10px;">
<li>本文链接地址：<a href="https://www.dbainfo.net/tomcat-jdk-files-extract-problem.htm">https://www.dbainfo.net/tomcat-jdk-files-extract-problem.htm</a>；</li>
<li>本文为dbainfo个人原创，请在尊重作者劳动成果的前提下进行转载；</li>
<li>转载务必注明原始出处 : <a href="https://www.dbainfo.net/">Sybase数据库技术，数据库恢复专家</a>；</li>
<li>对《<a href="https://www.dbainfo.net/tomcat-jdk-files-extract-problem.htm">配置tomcat时遇到的jdk没有解压完全的问题</a>》有何疑问或见解，请在本文下方发表；</li>
<li>对网站还有其他问题或建议，请提交在<a href="https://www.dbainfo.net/messages" target="_blank">留言板</a>，谢谢！</li>
</div>
<h2  class="related_post_title">随机日志</h2><ul class="related_post"><li>2010-08-06 -- <a href="https://www.dbainfo.net/sqlserver2005-sys-sysdatabases-status-bits.htm" title="sys.sysdatabases的status列的值">sys.sysdatabases的status列的值</a> (0)</li><li>2011-11-17 -- <a href="https://www.dbainfo.net/get-oracle_home-by-reg-query.htm" title="使用bat批处理读取注册表来提取Oracle环境变量的方法">使用bat批处理读取注册表来提取Oracle环境变量的方法</a> (0)</li><li>2009-04-05 -- <a href="https://www.dbainfo.net/sybase-telephone-interview-experience.htm" title="Sybase电话面试经验">Sybase电话面试经验</a> (0)</li><li>2010-04-07 -- <a href="https://www.dbainfo.net/sybase-table-add-drop-column-physical-storage-processing.htm" title="sybase中给表增加和删除字段时内部处理过程分析">sybase中给表增加和删除字段时内部处理过程分析</a> (0)</li><li>2009-12-10 -- <a href="https://www.dbainfo.net/sybase-ase15-shutdown-suspended.htm" title="遇到Sybase ASE15 shutdown无法进行的问题">遇到Sybase ASE15 shutdown无法进行的问题</a> (0)</li><li>2015-03-08 -- <a href="https://www.dbainfo.net/sap-pb-cr-number-6.htm" title="SAP PB Enterprise的所有已知BUG列表（6）">SAP PB Enterprise的所有已知BUG列表（6）</a> (0)</li><li>2010-06-12 -- <a href="https://www.dbainfo.net/ase-replace-space-character-with-null-by-str_replace-function.htm" title="ASE15.0.3中替换字符串函数str_replace的奇怪的用法">ASE15.0.3中替换字符串函数str_replace的奇怪的用法</a> (0)</li><li>2009-12-10 -- <a href="https://www.dbainfo.net/ase-migrate-from-windows-to-linux.htm" title="Sybase从Windows到Linux的迁移指南（使用资源文件来快速新建sybase服务器）">Sybase从Windows到Linux的迁移指南（使用资源文件来快速新建sybase服务器）</a> (6)</li><li>2010-03-10 -- <a href="https://www.dbainfo.net/unix-edit-file-by-hex-style.htm" title="unix下以十六进制形式修改文件内容[转]">unix下以十六进制形式修改文件内容[转]</a> (0)</li><li>2011-09-24 -- <a href="https://www.dbainfo.net/why-you-ll-want-to-upgrade-to-sybase-ase157.htm" title="Why You’ll Want to Upgrade to Sybase ASE 15.7 ?">Why You’ll Want to Upgrade to Sybase ASE 15.7 ?</a> (0)</li></ul>]]></content:encoded>
			<wfw:commentRss>https://www.dbainfo.net/tomcat-jdk-files-extract-problem.htm/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
