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
文件夹但我无法找到解决方案。帮助将受到高度赞赏。
问候
Adrin
答案 0 :(得分:0)
对不起伙计们。我发现了这个问题。有一个版本未命中匹配。我使用的.dll文件是旧版本,并且一些功能已被弃用。这导致了崩溃。如果有人使用雅各布,请参考this获取最新版本。 谢谢