[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"
出处:http://justinw.cnblogs.com/
本文版权归作者和博客园共有,欢迎转载,但未经作者同意必须保留此段声明,且在文章页面明显位置给出原文连接,否则保留追究法律责任的权利。
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· 如何编写易于单元测试的代码
· 10年+ .NET Coder 心语,封装的思维:从隐藏、稳定开始理解其本质意义
· .NET Core 中如何实现缓存的预热?
· 从 HTTP 原因短语缺失研究 HTTP/2 和 HTTP/3 的设计差异
· AI与.NET技术实操系列:向量存储与相似性搜索在 .NET 中的实现
· 10年+ .NET Coder 心语 ── 封装的思维:从隐藏、稳定开始理解其本质意义
· 地球OL攻略 —— 某应届生求职总结
· 提示词工程——AI应用必不可少的技术
· Open-Sora 2.0 重磅开源!
· 周边上新:园子的第一款马克杯温暖上架