Eclipse RCP - 使用 JACOB 打开 wordfile - 错误"无法写入核心转储。默认情况下,在 Windows 的客户端版本上不启用小型转储"



我对Eclipse RCP Java和JACOB(Java/COM桥)非常陌生。我试图从RCP程序中打开一个word文件(已经创建了"test.docx")。我使用了jacob.jar(CLASSPATH)和jacob.ddl

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:...Eclipseeclipse-j2Development-4.5-win32eclipsehs_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

抱歉各位。我发现了问题。有一个版本未匹配。我使用的.dll文件是较旧的版本,其中一些功能已被弃用。这就造成了崩溃。如果有人使用Jacob,请参阅此获取最新版本。感谢

最新更新