|
WJView 错误:“无法找到主类”
本文适用于:
- 平台:
Windows 98, Windows ME, Windows 2000, Windows XP, Windows 2003
- Java 版本:
1.4.2_xx
问题
在启动计算机时,可能收到以下错误消息:
- WJView error: could not execute Main: System can not find the specified file
- WJView error: unable to locate system class:java/lang/object
- WJView error: java.lang.NoClassDefFoundError
- Java Virtual Machine Launcher could not find the main class: program will now exit.
- Could not execute Main: The system cannot find the file specified.
- Unable to locate system class:java/lang/object java.lang.NoClassDefFoundError
原因
WJView.exe 或 Javaw.exe 无法找到要运行的程序。
解决方法
如果在启动过程中发生此错误,很可能是由于丢失、破坏或部分删除了 Spyware 或 Adware 程序造成的。
- 删除 Spyware/Adware
使用自己喜爱的搜索引擎,搜索“spyware removal utility”词组。此搜索将帮助您找到许多免费的 Spyware 删除实用程序。
注:Spyware 删除实用程序可以帮助您部分消除此错误。以后,新的 Spyware 可以自行下载到您的系统中。要彻底解决此问题,请尝试下面给出的第二种选项。
- 从“启动”中删除 WJView 条目
Wjview 使您可以查看基于 Windows 的 Java 应用程序。当 Wjview 试图启动系统中已不存在的应用程序时,您可能会收到错误消息。
要完全消除此错误,可能需要修改系统配置设置。要修改系统配置设置,请执行以下步骤: - 单击“开始”>“运行”。
此时将显示“运行”对话框。 - 键入 msconfig.exe。
- 单击“确定”。
此时将显示“系统配置实用程序”对话框。 - 选择“启动”选项卡。
- 取消选中与此问题关联的“WJView.exe”和/或“javaw.exe”复选框。
- 单击“确定”。
系统将提示您重新启动计算机。重新启动系统以应用更改。
注:msconfig.exe 实用程序不适用于 Windows 2000。
Sun 提供的第三方联系信息可以帮助您获取技术支持。此联系信息如有更改,恕不另行通知。Sun 不保证此第三方联系信息的准确性。
|