[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"

posted @   Justin  阅读(4079)  评论(0编辑  收藏  举报
编辑推荐:
· 如何编写易于单元测试的代码
· 10年+ .NET Coder 心语,封装的思维:从隐藏、稳定开始理解其本质意义
· .NET Core 中如何实现缓存的预热?
· 从 HTTP 原因短语缺失研究 HTTP/2 和 HTTP/3 的设计差异
· AI与.NET技术实操系列:向量存储与相似性搜索在 .NET 中的实现
阅读排行:
· 10年+ .NET Coder 心语 ── 封装的思维:从隐藏、稳定开始理解其本质意义
· 地球OL攻略 —— 某应届生求职总结
· 提示词工程——AI应用必不可少的技术
· Open-Sora 2.0 重磅开源!
· 周边上新:园子的第一款马克杯温暖上架
点击右上角即可分享
微信分享提示