[Tips]Windows7和Rational Rose 2003 Enterprise Edition兼容性问题

晚上装Rose2003,安装过程提示了JVM有点问题,没管它,一切正常也都安装好了!运行Rose发现,启动时会报:java.lang.ClassNotFoundException,退出时还会报:java.lang.NullPointerException,而且搞得Rose没办法正常退出了,只能通过任务管理器强制结束程序。

解决办法:

http://www-01.ibm.com/support/docview.wss?uid=swg21119282

The java.lang.ClassNotFoundException / java.lang.NullPoinerException appear when starting / closing IBM® Rational Rose® 2003

Problem(Abstract)
Installing Rose 2003 as a part of Rational Suite 2003 may cause the following
errors to be reported:
- when starting application - Rose: java.lang.ClassNotFoundException
- when closing application - Rose: java.lang.NullPoinerException
  
Cause
The Rational Rose installer has an issue with the installation of the Microsoft
Java Virtual Machine component.
This issue is being investigated and will be addressed in the subsequent
releases.
 
Resolving the problem
Check if the following registry information is present on the machine:

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Java VM]
"Classpath"=hex(2):25,73,79,73,74,65,6d,72,6f,6f,74,25,5c,6a,61,76,61,5c,63,6c,6
1,73,73,65,73,3b,2e,00
"TrustedClasspath"="C:\\WINNT\\java\\trustlib"

If so, this means that the Microsoft Java VM was installed correctly on the
machine but
the TrustedClasspath was not completely set up during installation.

In this case, make sure that the following applicable entries (according to the
correct path on the machine)
appear in the TrustedClasspath entry of the Microsoft Java VM registry key:

"TrustedClasspath"=c:\winnt\java\trustlib;c:\winnt\java\trustlib\rosedatamodeler
.zip;c:\winnt\java\trustlib\comwrappers.zip;c:\winnt\java\trustlib\xerces.jar;c:
\programfiles\rational\rose\web modeler\xerces.jar

If the Microsoft Java VM registry key is not present on the machine, it appears
that the MSJVM may not be installed correctly. 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~``

解决办法:

1.regedit
2.在[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Java VM]下修改

"TrustedClasspath"="c:\windows\java\trustlib\rosedatamodeler.zip;c:\windows\java\trustlib\comwrappers.zip;c:\windows\java\trustlib\xerces.jar"


本文转自Justin博客园博客,原文链接:http://www.cnblogs.com/justinw/archive/2009/11/26/1611659.html,如需转载请自行联系原作者

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值