【发布时间】:2016-04-15 09:16:30
【问题描述】:
我对 Eclipse RCP Java 和 JACOB(java/COM 桥)非常陌生。我试图从我的 RCP 程序中打开一个 word 文件(已经创建了“test.docx”)。我已使用 jacob.jar(CLASSPATH) 和 jacob.ddl(PATH) 打开文件 - 我已按照此 tutorial 中的说明进行操作。但是当我运行程序时,弹出word文件却突然被以下错误崩溃了。
A fatal error has been detected by the Java Runtime Environment:
EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x7762e005, pid=8552, tid=8136
JRE version: Java(TM) SE Runtime Environment (8.0_66-b18) (build 1.8.0_66-b18)
Java VM: Java HotSpot(TM) Client VM (25.66-b18 mixed mode windows-x86 )
# Problematic frame:
# C [ntdll.dll+0x2e005]
# Failed to write core dump. Minidumps are not enabled by default on client versions of Windows
An error report file with more information is saved as:
D:\...\Eclipse\eclipse-j2Development-4.5-win32\eclipse\hs_err_pid8552.log
If you would like to submit a bug report, please visit:
http://bugreport.java.com/bugreport/crash.jsp
The crash happened outside the Java Virtual Machine in native code.
See problematic frame for where to report the bug.
我尝试了几个选项,例如更改工作区、删除 .metadata 文件夹,但我找不到解决方案。非常感谢您的帮助。
问候
阿德林
【问题讨论】:
标签: java eclipse ms-word jacob minidump