win7下解决RalationRose无法关闭并报错的问题

来源:互联网 发布:部落冲突女武神数据 编辑:程序博客网 时间:2024/04/29 06:43
win7下解决RalationRose无法关闭并报错的问题
晚上装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"
0 0
原创粉丝点击