JDK & JRE:
Jacob Jar:
Jacob dll:
Main.java
package org.csaarg.gui;
import com.jacob.activeX.ActiveXComponent;
import com.jacob.com.ComThread;
import com.jacob.com.Dispatch;
public class Main {
public static void main(String[] args) {
ComThread.InitSTA();
ActiveXComponent activeXComponent = new ActiveXComponent("dm.dmsoft");
Dispatch dispatch = (Dispatch) activeXComponent.getObject();
Dispatch.call(dispatch, "KeyPress", 91);
ComThread.Release();
}
}
大漠插件 dm.dll 已经注册到系统了,Call 的方法也是按照大漠接口文档来的,写法参考了博文:Java 之 Jacob 调用 COM 接口 DLL —— dm.dll
运行之后报错:
Execution protection violation
#
# A fatal error has been detected by the Java Runtime Environment:
#
# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x000003db, pid=7312, tid=0x00002428
#
# JRE version: Java(TM) SE Runtime Environment (8.0_152-b16) (build 1.8.0_152-b16)
# Java VM: Java HotSpot(TM) Client VM (25.152-b16 mixed mode windows-x86 )
# Problematic frame:
# C 0x000003db
#
# 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:
# E:\DuanLuan\Workspaces\Project\My\QuickMacro\hs_err_pid7312.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.
#
hs_err_pid7312.log:
#
# A fatal error has been detected by the Java Runtime Environment:
#
# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x000003db, pid=7312, tid=0x00002428
#
# JRE version: Java(TM) SE Runtime Environment (8.0_152-b16) (build 1.8.0_152-b16)
# Java VM: Java HotSpot(TM) Client VM (25.152-b16 mixed mode windows-x86 )
# Problematic frame:
# C 0x000003db
#
# Failed to write core dump. Minidumps are not enabled by default on client versions of Windows
#
# 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.
#
--------------- T H R E A D ---------------
Current thread (0x011e8c00): JavaThread "main" [_thread_in_native, id=9256, stack(0x01000000,0x01050000)]
siginfo: ExceptionCode=0xc0000005, ExceptionInformation=0x00000008 0x000003db
Registers:
EAX=0x000003db, EBX=0x17af58f0, ECX=0x00de43e8, EDX=0x0000005b
ESP=0x0104e950, EBP=0x0104e974, ESI=0x006efe30, EDI=0x15e78048
EIP=0x000003db, EFLAGS=0x00010212
Top of Stack: (sp=0x0104e950)
0x0104e950: 17b6184c 00de43e8 0000005b 15e78030
0x0104e960: 00000000 15e8f7a8 0104f108 17aedec8
0x0104e970: 00000000 0104e994 76d9cc68 006efe30
0x0104e980: 0000005b 0104e9d8 004e831c 04b52db0
0x0104e990: 0104e988 0104ea24 76d9cae2 006efe30
0x0104e9a0: 00000050 00000004 0000000a 00000002
0x0104e9b0: 004e838c 004e837c 15e78048 15b24090
0x0104e9c0: 011e8d40 0104ef40 011e8c00 15b42888
Instructions: (pc=0x000003db)
0x000003bb:
[error occurred during error reporting (printing registers, top of stack, instructions near pc), id 0xc0000005]
Register to memory mapping:
EAX=0x000003db is an unknown value
EBX=0x17af58f0 is an unknown value
ECX=0x00de43e8 is an unknown value
EDX=0x0000005b is an unknown value
ESP=0x0104e950 is pointing into the stack for thread: 0x011e8c00
EBP=0x0104e974 is pointing into the stack for thread: 0x011e8c00
ESI=0x006efe30 is an unknown value
EDI=0x15e78048 is an unknown value
Stack: [0x01000000,0x01050000], sp=0x0104e950, free space=314k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C 0x000003db
C [OLEAUT32.dll+0x1cc68]
C [OLEAUT32.dll+0x1cae2]
C [dm.dll+0xc8ee]
Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j com.jacob.com.Dispatch.invokev(Lcom/jacob/com/Dispatch;Ljava/lang/String;III[Lcom/jacob/com/Variant;[I)Lcom/jacob/com/Variant;+0
j com.jacob.com.Dispatch.invokev(Lcom/jacob/com/Dispatch;Ljava/lang/String;I[Lcom/jacob/com/Variant;[I)Lcom/jacob/com/Variant;+14
j com.jacob.com.Dispatch.callN(Lcom/jacob/com/Dispatch;Ljava/lang/String;[Ljava/lang/Object;)Lcom/jacob/com/Variant;+15
j com.jacob.com.Dispatch.call(Lcom/jacob/com/Dispatch;Ljava/lang/String;[Ljava/lang/Object;)Lcom/jacob/com/Variant;+7
j org.csaarg.gui.Main.main([Ljava/lang/String;)V+33
v ~StubRoutines::call_stub
j sun.reflect.NativeMethodAccessorImpl.invoke0(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+0
j sun.reflect.NativeMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+100
j sun.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+6
j java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+56
j com.sun.javafx.application.LauncherImpl.launchApplicationWithArgs(Ljava/lang/String;Ljava/lang/String;[Ljava/lang/String;)V+154
j com.sun.javafx.application.LauncherImpl.launchApplication(Ljava/lang/String;Ljava/lang/String;[Ljava/lang/String;)V+409
v ~StubRoutines::call_stub
j sun.reflect.NativeMethodAccessorImpl.invoke0(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+0
j sun.reflect.NativeMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+100
j sun.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+6
j java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+56
j sun.launcher.LauncherHelper$FXHelper.main([Ljava/lang/String;)V+52
v ~StubRoutines::call_stub
--------------- P R O C E S S ---------------
Java Threads: ( => current thread )
0x15b04000 JavaThread "Thread-2" daemon [_thread_in_native, id=9312, stack(0x178b0000,0x17900000)]
0x15afe400 JavaThread "JavaFX Application Thread" [_thread_in_native, id=9616, stack(0x16340000,0x16390000)]
0x15af8800 JavaThread "Thread-1" daemon [_thread_blocked, id=9448, stack(0x15750000,0x157a0000)]
0x15ac5000 JavaThread "QuantumRenderer-0" daemon [_thread_blocked, id=2644, stack(0x15980000,0x159d0000)]
0x151ca800 JavaThread "Service Thread" daemon [_thread_blocked, id=6240, stack(0x158d0000,0x15920000)]
0x15183000 JavaThread "C1 CompilerThread0" daemon [_thread_blocked, id=9868, stack(0x15800000,0x15850000)]
0x15182000 JavaThread "Monitor Ctrl-Break" daemon [_thread_in_native, id=6372, stack(0x15510000,0x15560000)]
0x150e9800 JavaThread "Attach Listener" daemon [_thread_blocked, id=7836, stack(0x15650000,0x156a0000)]
0x150f2800 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=8944, stack(0x153b0000,0x15400000)]
0x00f94c00 JavaThread "Finalizer" daemon [_thread_blocked, id=8232, stack(0x15440000,0x15490000)]
0x00f8f000 JavaThread "Reference Handler" daemon [_thread_blocked, id=5888, stack(0x02a20000,0x02a70000)]
=>0x011e8c00 JavaThread "main" [_thread_in_native, id=9256, stack(0x01000000,0x01050000)]
Other Threads:
0x00f86c00 VMThread [stack: 0x04b60000,0x04bb0000] [id=5764]
0x151d5000 WatcherThread [stack: 0x155c0000,0x15610000] [id=8072]
VM state:not at safepoint (normal execution)
VM Mutex/Monitor currently owned by a thread: None
Heap:
def new generation total 4928K, used 2710K [0x04c00000, 0x05150000, 0x0a150000)
eden space 4416K, 55% used [0x04c00000, 0x04e62748, 0x05050000)
from space 512K, 52% used [0x05050000, 0x050934b0, 0x050d0000)
to space 512K, 0% used [0x050d0000, 0x050d0000, 0x05150000)
tenured generation total 10944K, used 914K [0x0a150000, 0x0ac00000, 0x14c00000)
the space 10944K, 8% used [0x0a150000, 0x0a234a00, 0x0a234a00, 0x0ac00000)
Metaspace used 4307K, capacity 4578K, committed 4608K, reserved 5504K
Card table byte_map: [0x01150000,0x011e0000] byte_map_base: 0x0112a000
Polling page: 0x002c0000
CodeCache: size=32768Kb used=913Kb max_used=913Kb free=31854Kb
bounds [0x02b40000, 0x02c28000, 0x04b40000]
total_blobs=419 nmethods=177 adapters=173
compilation: enabled
Compilation events (10 events):
Event: 0.312 Thread 0x15183000 173 ! sun.misc.URLClassPath$JarLoader::getResource (85 bytes)
Event: 0.312 Thread 0x15183000 nmethod 173 0x02c220c8 code [0x02c22230, 0x02c225b4]
Event: 0.313 Thread 0x15183000 174 sun.misc.URLClassPath::getResource (83 bytes)
Event: 0.313 Thread 0x15183000 nmethod 174 0x02c22a08 code [0x02c22b30, 0x02c22c54]
Event: 0.314 Thread 0x15183000 175 java.util.Arrays::copyOf (19 bytes)
Event: 0.314 Thread 0x15183000 nmethod 175 0x02c22d48 code [0x02c22e50, 0x02c22fbc]
Event: 0.317 Thread 0x15183000 176 java.lang.System::getSecurityManager (4 bytes)
Event: 0.317 Thread 0x15183000 nmethod 176 0x02c23088 code [0x02c23180, 0x02c231f0]
Event: 0.400 Thread 0x15183000 177 java.lang.String::toCharArray (25 bytes)
Event: 0.400 Thread 0x15183000 nmethod 177 0x02c23248 code [0x02c23350, 0x02c234bc]
GC Heap History (4 events):
Event: 0.162 GC heap before
{Heap before GC invocations=0 (full 0):
def new generation total 4928K, used 4416K [0x04c00000, 0x05150000, 0x0a150000)
eden space 4416K, 100% used [0x04c00000, 0x05050000, 0x05050000)
from space 512K, 0% used [0x05050000, 0x05050000, 0x050d0000)
to space 512K, 0% used [0x050d0000, 0x050d0000, 0x05150000)
tenured generation total 10944K, used 0K [0x0a150000, 0x0ac00000, 0x14c00000)
the space 10944K, 0% used [0x0a150000, 0x0a150000, 0x0a150200, 0x0ac00000)
Metaspace used 2706K, capacity 2872K, committed 2880K, reserved 4480K
Event: 0.165 GC heap after
Heap after GC invocations=1 (full 0):
def new generation total 4928K, used 512K [0x04c00000, 0x05150000, 0x0a150000)
eden space 4416K, 0% used [0x04c00000, 0x04c00000, 0x05050000)
from space 512K, 100% used [0x050d0000, 0x05150000, 0x05150000)
to space 512K, 0% used [0x05050000, 0x05050000, 0x050d0000)
tenured generation total 10944K, used 408K [0x0a150000, 0x0ac00000, 0x14c00000)
the space 10944K, 3% used [0x0a150000, 0x0a1b6188, 0x0a1b6200, 0x0ac00000)
Metaspace used 2706K, capacity 2872K, committed 2880K, reserved 4480K
}
Event: 0.279 GC heap before
{Heap before GC invocations=1 (full 0):
def new generation total 4928K, used 4928K [0x04c00000, 0x05150000, 0x0a150000)
eden space 4416K, 100% used [0x04c00000, 0x05050000, 0x05050000)
from space 512K, 100% used [0x050d0000, 0x05150000, 0x05150000)
to space 512K, 0% used [0x05050000, 0x05050000, 0x050d0000)
tenured generation total 10944K, used 408K [0x0a150000, 0x0ac00000, 0x14c00000)
the space 10944K, 3% used [0x0a150000, 0x0a1b6188, 0x0a1b6200, 0x0ac00000)
Metaspace used 3795K, capacity 4033K, committed 4160K, reserved 4480K
Event: 0.281 GC heap after
Heap after GC invocations=2 (full 0):
def new generation total 4928K, used 269K [0x04c00000, 0x05150000, 0x0a150000)
eden space 4416K, 0% used [0x04c00000, 0x04c00000, 0x05050000)
from space 512K, 52% used [0x05050000, 0x050934b0, 0x050d0000)
to space 512K, 0% used [0x050d0000, 0x050d0000, 0x05150000)
tenured generation total 10944K, used 914K [0x0a150000, 0x0ac00000, 0x14c00000)
the space 10944K, 8% used [0x0a150000, 0x0a234a00, 0x0a234a00, 0x0ac00000)
Metaspace used 3795K, capacity 4033K, committed 4160K, reserved 4480K
}
Deoptimization events (0 events):
No events
Classes redefined (0 events):
No events
Internal exceptions (10 events):
Event: 0.030 Thread 0x011e8c00 Exception <a 'java/lang/NoSuchMethodError': Method sun.misc.Unsafe.prefetchRead(Ljava/lang/Object;J)V name or signature does not match> (0x04c07168) thrown at [C:\workspace\8-2-build-windows-i586-cygwin\jdk8u152\9742\hotspot\src\share\vm\prims\jni.cpp, li
Event: 0.102 Thread 0x011e8c00 Exception <a 'java/security/PrivilegedActionException'> (0x04da1138) thrown at [C:\workspace\8-2-build-windows-i586-cygwin\jdk8u152\9742\hotspot\src\share\vm\prims\jvm.cpp, line 1390]
Event: 0.102 Thread 0x011e8c00 Exception <a 'java/security/PrivilegedActionException'> (0x04da1338) thrown at [C:\workspace\8-2-build-windows-i586-cygwin\jdk8u152\9742\hotspot\src\share\vm\prims\jvm.cpp, line 1390]
Event: 0.153 Thread 0x011e8c00 Exception <a 'java/lang/NoSuchFieldError': method resolution failed> (0x04fd69c0) thrown at [C:\workspace\8-2-build-windows-i586-cygwin\jdk8u152\9742\hotspot\src\share\vm\prims\methodHandles.cpp, line 1167]
Event: 0.154 Thread 0x011e8c00 Exception <a 'java/lang/NoSuchFieldError': method resolution failed> (0x04fe33a8) thrown at [C:\workspace\8-2-build-windows-i586-cygwin\jdk8u152\9742\hotspot\src\share\vm\prims\methodHandles.cpp, line 1167]
Event: 0.171 Thread 0x011e8c00 Exception <a 'java/security/PrivilegedActionException'> (0x04c3ed90) thrown at [C:\workspace\8-2-build-windows-i586-cygwin\jdk8u152\9742\hotspot\src\share\vm\prims\jvm.cpp, line 1390]
Event: 0.171 Thread 0x011e8c00 Exception <a 'java/security/PrivilegedActionException'> (0x04c3ef90) thrown at [C:\workspace\8-2-build-windows-i586-cygwin\jdk8u152\9742\hotspot\src\share\vm\prims\jvm.cpp, line 1390]
Event: 0.171 Thread 0x011e8c00 Exception <a 'java/security/PrivilegedActionException'> (0x04c41c80) thrown at [C:\workspace\8-2-build-windows-i586-cygwin\jdk8u152\9742\hotspot\src\share\vm\prims\jvm.cpp, line 1390]
Event: 0.171 Thread 0x011e8c00 Exception <a 'java/security/PrivilegedActionException'> (0x04c41e80) thrown at [C:\workspace\8-2-build-windows-i586-cygwin\jdk8u152\9742\hotspot\src\share\vm\prims\jvm.cpp, line 1390]
Event: 0.172 Thread 0x011e8c00 Exception <a 'java/lang/NullPointerException'> (0x04c42800) thrown at [C:\workspace\8-2-build-windows-i586-cygwin\jdk8u152\9742\hotspot\src\share\vm\interpreter\linkResolver.cpp, line 1185]
Events (10 events):
Event: 0.321 loading class com/jacob/com/Variant done
Event: 0.324 Thread 0x15b04000 Thread added: 0x15b04000
Event: 0.400 loading class com/jacob/com/VariantUtilities
Event: 0.400 loading class com/jacob/com/VariantUtilities done
Event: 0.401 loading class java/math/BigDecimal
Event: 0.401 loading class java/math/BigDecimal done
Event: 0.402 loading class java/math/BigInteger
Event: 0.402 loading class java/math/BigInteger done
Event: 0.402 loading class java/math/BigDecimal$1
Event: 0.402 loading class java/math/BigDecimal$1 done
Dynamic libraries:
0x01210000 - 0x01243000 D:\ProgramFiles\Java\jdk1.8.0_152_x86\bin\java.exe
0x77590000 - 0x77710000 C:\Windows\SysWOW64\ntdll.dll
0x76e20000 - 0x76f30000 C:\Windows\syswow64\kernel32.dll
0x76b50000 - 0x76b97000 C:\Windows\syswow64\KERNELBASE.dll
0x768d0000 - 0x76971000 C:\Windows\syswow64\ADVAPI32.dll
0x76980000 - 0x76a2c000 C:\Windows\syswow64\msvcrt.dll
0x75950000 - 0x75969000 C:\Windows\SysWOW64\sechost.dll
0x75b10000 - 0x75c00000 C:\Windows\syswow64\RPCRT4.dll
0x74e30000 - 0x74e90000 C:\Windows\syswow64\SspiCli.dll
0x74e20000 - 0x74e2c000 C:\Windows\syswow64\CRYPTBASE.dll
0x75570000 - 0x75670000 C:\Windows\syswow64\USER32.dll
0x75a10000 - 0x75aa0000 C:\Windows\syswow64\GDI32.dll
0x75930000 - 0x7593a000 C:\Windows\syswow64\LPK.dll
0x76c30000 - 0x76ccd000 C:\Windows\syswow64\USP10.dll
0x6f610000 - 0x6f7ae000 C:\Windows\WinSxS\x86_microsoft.windows.common-controls_6595b64144ccf1df_6.0.7601.18837_none_41e855142bd5705d\COMCTL32.dll
0x759b0000 - 0x75a07000 C:\Windows\syswow64\SHLWAPI.dll
0x75360000 - 0x753c0000 C:\Windows\system32\IMM32.DLL
0x76a30000 - 0x76afd000 C:\Windows\syswow64\MSCTF.dll
0x746a0000 - 0x746c9000 C:\Windows\SysWOW64\nvinit.dll
0x74bf0000 - 0x74bf9000 C:\Windows\system32\VERSION.dll
0x6f240000 - 0x6f246000 C:\Program Files (x86)\NVIDIA Corporation\CoProcManager\detoured.dll
0x6f200000 - 0x6f231000 C:\Program Files (x86)\NVIDIA Corporation\CoProcManager\nvd3d9wrap.dll
0x753d0000 - 0x7556d000 C:\Windows\syswow64\SETUPAPI.dll
0x76cd0000 - 0x76cf7000 C:\Windows\syswow64\CFGMGR32.dll
0x76d80000 - 0x76e11000 C:\Windows\syswow64\OLEAUT32.dll
0x74f70000 - 0x750cd000 C:\Windows\syswow64\ole32.dll
0x77170000 - 0x77182000 C:\Windows\syswow64\DEVOBJ.dll
0x6f1e0000 - 0x6f200000 C:\Program Files (x86)\NVIDIA Corporation\CoProcManager\nvdxgiwrap.dll
0x74670000 - 0x74694000 D:\ProgramFiles\MacType\MacType.dll
0x74620000 - 0x74664000 D:\ProgramFiles\MacType\Easyhk32.dll
0x74540000 - 0x74619000 D:\ProgramFiles\MacType\MacType.Core.dll
0x6ed50000 - 0x6f097000 C:\Windows\system32\d2d1.dll
0x6eb70000 - 0x6eca6000 C:\Windows\system32\dwrite.dll
0x74dc0000 - 0x74e1f000 C:\Windows\syswow64\dtrampo.dll
0x74530000 - 0x74533000 C:\Windows\system32\api-ms-win-core-synch-l1-2-0.DLL
0x683c0000 - 0x6847f000 D:\ProgramFiles\Java\jdk1.8.0_152_x86\jre\bin\msvcr100.dll
0x55b60000 - 0x55f2f000 D:\ProgramFiles\Java\jdk1.8.0_152_x86\jre\bin\client\jvm.dll
0x6e010000 - 0x6e017000 C:\Windows\system32\WSOCK32.dll
0x74e90000 - 0x74ec5000 C:\Windows\syswow64\WS2_32.dll
0x75c00000 - 0x75c06000 C:\Windows\syswow64\NSI.dll
0x6fb20000 - 0x6fb52000 C:\Windows\system32\WINMM.dll
0x77560000 - 0x77565000 C:\Windows\syswow64\PSAPI.DLL
0x74970000 - 0x7497c000 D:\ProgramFiles\Java\jdk1.8.0_152_x86\jre\bin\verify.dll
0x73040000 - 0x73062000 D:\ProgramFiles\Java\jdk1.8.0_152_x86\jre\bin\java.dll
0x6d110000 - 0x6d130000 D:\ProgramFiles\Java\jdk1.8.0_152_x86\jre\bin\instrument.dll
0x6cad0000 - 0x6cae4000 D:\ProgramFiles\Java\jdk1.8.0_152_x86\jre\bin\zip.dll
0x75c80000 - 0x768cc000 C:\Windows\syswow64\SHELL32.dll
0x74ed0000 - 0x74edb000 C:\Windows\syswow64\profapi.dll
0x6ca00000 - 0x6ca16000 D:\ProgramFiles\JetBrains\IntelliJ IDEA 2017.1\bin\breakgen.dll
0x6c850000 - 0x6c865000 D:\ProgramFiles\Java\jdk1.8.0_152_x86\jre\bin\net.dll
0x6f7b0000 - 0x6f7ec000 C:\Windows\system32\mswsock.dll
0x72f10000 - 0x72f16000 C:\Windows\System32\wship6.dll
0x74b70000 - 0x74b73000 D:\ProgramFiles\Java\jdk1.8.0_152_x86\jre\bin\api-ms-win-core-console-l1-1-0.dll
0x74960000 - 0x74963000 D:\ProgramFiles\Java\jdk1.8.0_152_x86\jre\bin\api-ms-win-core-datetime-l1-1-0.dll
0x74140000 - 0x74143000 D:\ProgramFiles\Java\jdk1.8.0_152_x86\jre\bin\api-ms-win-core-debug-l1-1-0.dll
0x73c60000 - 0x73c63000 D:\ProgramFiles\Java\jdk1.8.0_152_x86\jre\bin\api-ms-win-core-errorhandling-l1-1-0.dll
0x72ff0000 - 0x72ff4000 D:\ProgramFiles\Java\jdk1.8.0_152_x86\jre\bin\api-ms-win-core-file-l1-1-0.dll
0x6cac0000 - 0x6cac3000 D:\ProgramFiles\Java\jdk1.8.0_152_x86\jre\bin\api-ms-win-core-file-l1-2-0.dll
0x6c840000 - 0x6c843000 D:\ProgramFiles\Java\jdk1.8.0_152_x86\jre\bin\api-ms-win-core-file-l2-1-0.dll
0x6c830000 - 0x6c833000 D:\ProgramFiles\Java\jdk1.8.0_152_x86\jre\bin\api-ms-win-core-handle-l1-1-0.dll
0x6c820000 - 0x6c823000 D:\ProgramFiles\Java\jdk1.8.0_152_x86\jre\bin\api-ms-win-core-heap-l1-1-0.dll
0x6c810000 - 0x6c813000 D:\ProgramFiles\Java\jdk1.8.0_152_x86\jre\bin\api-ms-win-core-interlocked-l1-1-0.dll
0x6c800000 - 0x6c803000 D:\ProgramFiles\Java\jdk1.8.0_152_x86\jre\bin\api-ms-win-core-libraryloader-l1-1-0.dll
0x6c7f0000 - 0x6c7f3000 D:\ProgramFiles\Java\jdk1.8.0_152_x86\jre\bin\api-ms-win-core-localization-l1-2-0.dll
0x6c7e0000 - 0x6c7e3000 D:\ProgramFiles\Java\jdk1.8.0_152_x86\jre\bin\api-ms-win-core-memory-l1-1-0.dll
0x6c7d0000 - 0x6c7d3000 D:\ProgramFiles\Java\jdk1.8.0_152_x86\jre\bin\api-ms-win-core-namedpipe-l1-1-0.dll
0x6c7c0000 - 0x6c7c3000 D:\ProgramFiles\Java\jdk1.8.0_152_x86\jre\bin\api-ms-win-core-processenvironment-l1-1-0.dll
0x6c7b0000 - 0x6c7b3000 D:\ProgramFiles\Java\jdk1.8.0_152_x86\jre\bin\api-ms-win-core-processthreads-l1-1-0.dll
0x6c7a0000 - 0x6c7a3000 D:\ProgramFiles\Java\jdk1.8.0_152_x86\jre\bin\api-ms-win-core-processthreads-l1-1-1.dll
0x6c790000 - 0x6c793000 D:\ProgramFiles\Java\jdk1.8.0_152_x86\jre\bin\api-ms-win-core-profile-l1-1-0.dll
0x6c750000 - 0x6c753000 D:\ProgramFiles\Java\jdk1.8.0_152_x86\jre\bin\api-ms-win-core-rtlsupport-l1-1-0.dll
0x6b360000 - 0x6b363000 D:\ProgramFiles\Java\jdk1.8.0_152_x86\jre\bin\api-ms-win-core-string-l1-1-0.dll
0x6b350000 - 0x6b353000 D:\ProgramFiles\Java\jdk1.8.0_152_x86\jre\bin\api-ms-win-core-synch-l1-1-0.dll
0x69f50000 - 0x69f53000 D:\ProgramFiles\Java\jdk1.8.0_152_x86\jre\bin\api-ms-win-core-synch-l1-2-0.dll
0x69f40000 - 0x69f43000 D:\ProgramFiles\Java\jdk1.8.0_152_x86\jre\bin\api-ms-win-core-sysinfo-l1-1-0.dll
0x69f30000 - 0x69f33000 D:\ProgramFiles\Java\jdk1.8.0_152_x86\jre\bin\api-ms-win-core-timezone-l1-1-0.dll
0x69f20000 - 0x69f23000 D:\ProgramFiles\Java\jdk1.8.0_152_x86\jre\bin\api-ms-win-core-util-l1-1-0.dll
0x69f10000 - 0x69f13000 D:\ProgramFiles\Java\jdk1.8.0_152_x86\jre\bin\api-ms-win-crt-conio-l1-1-0.dll
0x69ee0000 - 0x69ee4000 D:\ProgramFiles\Java\jdk1.8.0_152_x86\jre\bin\api-ms-win-crt-convert-l1-1-0.dll
0x69c90000 - 0x69c93000 D:\ProgramFiles\Java\jdk1.8.0_152_x86\jre\bin\api-ms-win-crt-environment-l1-1-0.dll
0x69c80000 - 0x69c83000 D:\ProgramFiles\Java\jdk1.8.0_152_x86\jre\bin\api-ms-win-crt-filesystem-l1-1-0.dll
0x69c70000 - 0x69c73000 D:\ProgramFiles\Java\jdk1.8.0_152_x86\jre\bin\api-ms-win-crt-heap-l1-1-0.dll
0x69c60000 - 0x69c63000 D:\ProgramFiles\Java\jdk1.8.0_152_x86\jre\bin\api-ms-win-crt-locale-l1-1-0.dll
0x69c50000 - 0x69c55000 D:\ProgramFiles\Java\jdk1.8.0_152_x86\jre\bin\api-ms-win-crt-math-l1-1-0.dll
0x69c40000 - 0x69c45000 D:\ProgramFiles\Java\jdk1.8.0_152_x86\jre\bin\api-ms-win-crt-multibyte-l1-1-0.dll
0x69c30000 - 0x69c40000 D:\ProgramFiles\Java\jdk1.8.0_152_x86\jre\bin\api-ms-win-crt-private-l1-1-0.dll
0x68a50000 - 0x68a53000 D:\ProgramFiles\Java\jdk1.8.0_152_x86\jre\bin\api-ms-win-crt-process-l1-1-0.dll
0x68a40000 - 0x68a44000 D:\ProgramFiles\Java\jdk1.8.0_152_x86\jre\bin\api-ms-win-crt-runtime-l1-1-0.dll
0x68510000 - 0x68514000 D:\ProgramFiles\Java\jdk1.8.0_152_x86\jre\bin\api-ms-win-crt-stdio-l1-1-0.dll
0x68500000 - 0x68504000 D:\ProgramFiles\Java\jdk1.8.0_152_x86\jre\bin\api-ms-win-crt-string-l1-1-0.dll
0x684f0000 - 0x684f3000 D:\ProgramFiles\Java\jdk1.8.0_152_x86\jre\bin\api-ms-win-crt-time-l1-1-0.dll
0x684e0000 - 0x684e3000 D:\ProgramFiles\Java\jdk1.8.0_152_x86\jre\bin\api-ms-win-crt-utility-l1-1-0.dll
0x67a10000 - 0x67b28000 D:\ProgramFiles\Java\jdk1.8.0_152_x86\jre\bin\ucrtbase.dll
0x681f0000 - 0x6822b000 D:\ProgramFiles\Java\jdk1.8.0_152_x86\jre\bin\concrt140.dll
0x69a70000 - 0x69adc000 C:\Windows\system32\MSVCP140.dll
0x6cfa0000 - 0x6cfb4000 C:\Windows\system32\VCRUNTIME140.dll
0x684c0000 - 0x684d4000 D:\ProgramFiles\Java\jdk1.8.0_152_x86\jre\bin\vcruntime140.dll
0x67f80000 - 0x67fec000 D:\ProgramFiles\Java\jdk1.8.0_152_x86\jre\bin\msvcp140.dll
0x683a0000 - 0x683be000 D:\ProgramFiles\Java\jdk1.8.0_152_x86\jre\bin\prism_d3d.dll
0x6b150000 - 0x6b313000 C:\Windows\system32\d3d9.dll
0x6b140000 - 0x6b146000 C:\Windows\system32\d3d8thk.dll
0x6ea70000 - 0x6ea83000 C:\Windows\system32\dwmapi.dll
0x75c30000 - 0x75c5f000 C:\Windows\syswow64\WINTRUST.dll
0x75220000 - 0x75341000 C:\Windows\syswow64\CRYPT32.dll
0x759a0000 - 0x759ac000 C:\Windows\syswow64\MSASN1.dll
0x6ead0000 - 0x6eb50000 C:\Windows\system32\uxtheme.dll
0x74090000 - 0x740fb000 C:\Windows\system32\nvumdshim.dll
0x57390000 - 0x58a86000 C:\Windows\system32\igdumdim32.dll
0x680f0000 - 0x68128000 D:\ProgramFiles\Java\jdk1.8.0_152_x86\jre\bin\glass.dll
0x76d00000 - 0x76d7b000 C:\Windows\syswow64\COMDLG32.dll
0x535d0000 - 0x53e76000 C:\Windows\system32\igdusc32.dll
0x680c0000 - 0x680ef000 D:\ProgramFiles\Java\jdk1.8.0_152_x86\bin\jacob-1.18-x86.dll
0x76ba0000 - 0x76c23000 C:\Windows\syswow64\CLBCatQ.DLL
0x17a00000 - 0x17cda000 C:\Users\Administrator\Desktop\6.1637\dm.dll
0x67e60000 - 0x67f7c000 C:\Windows\system32\MFC42.DLL
0x67980000 - 0x67a0c000 C:\Windows\system32\ODBC32.dll
0x62980000 - 0x629e6000 C:\Windows\system32\MSVCP60.dll
0x67c20000 - 0x67c58000 C:\Windows\system32\odbcint.dll
0x6a0f0000 - 0x6a14f000 C:\Windows\system32\SXS.DLL
0x746d0000 - 0x747bb000 C:\Windows\system32\dbghelp.dll
VM Arguments:
jvm_args: -javaagent:D:\ProgramFiles\JetBrains\IntelliJ IDEA 2017.1\lib\idea_rt.jar=65203:D:\ProgramFiles\JetBrains\IntelliJ IDEA 2017.1\bin -Dfile.encoding=UTF-8
java_command: org.csaarg.gui.Main
java_class_path (initial): D:\ProgramFiles\Java\jdk1.8.0_152_x86\jre\lib\charsets.jar;D:\ProgramFiles\Java\jdk1.8.0_152_x86\jre\lib\deploy.jar;D:\ProgramFiles\Java\jdk1.8.0_152_x86\jre\lib\ext\access-bridge-32.jar;D:\ProgramFiles\Java\jdk1.8.0_152_x86\jre\lib\ext\cldrdata.jar;D:\ProgramFiles\Java\jdk1.8.0_152_x86\jre\lib\ext\dnsns.jar;D:\ProgramFiles\Java\jdk1.8.0_152_x86\jre\lib\ext\jaccess.jar;D:\ProgramFiles\Java\jdk1.8.0_152_x86\jre\lib\ext\jfxrt.jar;D:\ProgramFiles\Java\jdk1.8.0_152_x86\jre\lib\ext\localedata.jar;D:\ProgramFiles\Java\jdk1.8.0_152_x86\jre\lib\ext\nashorn.jar;D:\ProgramFiles\Java\jdk1.8.0_152_x86\jre\lib\ext\sunec.jar;D:\ProgramFiles\Java\jdk1.8.0_152_x86\jre\lib\ext\sunjce_provider.jar;D:\ProgramFiles\Java\jdk1.8.0_152_x86\jre\lib\ext\sunmscapi.jar;D:\ProgramFiles\Java\jdk1.8.0_152_x86\jre\lib\ext\sunpkcs11.jar;D:\ProgramFiles\Java\jdk1.8.0_152_x86\jre\lib\ext\zipfs.jar;D:\ProgramFiles\Java\jdk1.8.0_152_x86\jre\lib\javaws.jar;D:\ProgramFiles\Java\jdk1.8.0_152_x86\jre\lib\jce.jar;D:\ProgramFiles\Java\jdk1.8.0_152_x86\jre\lib\jfr.jar;D:\ProgramFiles\Java\jdk1.8.0_152_x86\jre\lib\jfxswt.jar;D:\ProgramFiles\Java\jdk1.8.0_152_x86\jre\lib\jsse.jar;D:\ProgramFiles\Java\jdk1.8.0_152_x86\jre\lib\management-agent.jar;D:\ProgramFiles\Java\jdk1.8.0_152_x86\jre\lib\plugin.jar;D:\ProgramFiles\Java\jdk1.8.0_152_x86\jre\lib\resources.jar;D:\ProgramFiles\Java\jdk1.8.0_152_x86\jre\lib\rt.jar;E:\DuanLuan\Workspaces\Project\My\QuickMacro\target\classes;E:\DuanLuan\Workspaces\Project\My\QuickMacro\src\lib\org.eclipse.core.commands.jar;E:\DuanLuan\Workspaces\Project\My\QuickMacro\src\lib\org.eclipse.equinox.common.jar;E:\DuanLuan\Workspaces\Project\My\QuickMacro\src\lib\org.eclipse.jface.jar;E:\DuanLuan\Workspaces\Project\My\QuickMacro\src\lib\org.eclipse.swt.win32.jar;E:\DuanLuan\Workspaces\Project\My\QuickMacro\src\lib\org.eclipse.ui.forms.jar;E:\DuanLuan\Workspaces\Project\My\QuickMacro\src\lib\org.sf.feeling.swt.win32.extension.jar;E:\DuanLuan\Workspaces\Projec
Launcher Type: SUN_STANDARD
Environment Variables:
JAVA_HOME=D:\ProgramFiles\Java\jdk1.8.0_121
CLASSPATH=.;D:\ProgramFiles\Java\jdk1.8.0_121\lib;D:\ProgramFiles\Java\jdk1.8.0_121\lib\tools.jar
PATH=C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;D:\ProgramFiles\TortoiseSVN\bin;D:\ProgramFiles\TortoiseGit\bin;D:\ProgramFiles\Git\cmd;%GOROOT%\bin;D:\ProgramFiles\Calibre2\;D:\ProgramFiles\Apache\apache-maven-3.3.9\bin;D:\ProgramFiles\Java\jdk1.8.0_121\bin;D:\ProgramFiles\Java\jdk1.8.0_121\jre\bin;D:\ProgramFiles\nodejs\;D:\ProgramFiles\MacType;C:\Users\Administrator\AppData\Roaming\npm;D:\ProgramFiles\Microsoft VS Code\bin
USERNAME=Administrator
OS=Windows_NT
PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 60 Stepping 3, GenuineIntel
--------------- S Y S T E M ---------------
OS: Windows 7 , 64 bit Build 7601 (6.1.7601.23796)
CPU:total 8 (initial active 8) (4 cores per cpu, 2 threads per core) family 6 model 60 stepping 3, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3, sse4.1, sse4.2, popcnt, avx, avx2, aes, clmul, erms, lzcnt, ht, tsc, tscinvbit, bmi1, bmi2
Memory: 4k page, physical 16694968k(9576936k free), swap 33388076k(25691756k free)
vm_info: Java HotSpot(TM) Client VM (25.152-b16) for windows-x86 JRE (1.8.0_152-b16), built on Sep 14 2017 02:22:24 by "java_re" with MS VC++ 10.0 (VS2010)
time: Sat Dec 09 14:34:38 2017
elapsed time: 0 seconds (0d 0h 0m 0s)
尝试更换jacob64位版本的DLL
64就提示让我使用32位。老哥你问题解决了吗
没有,我想可能是JDK版本的问题,可以换成1.6、1.7试一下,我自己还没试。版权声明:本文内容由阿里云实名注册用户自发贡献,版权归原作者所有,阿里云开发者社区不拥有其著作权,亦不承担相应法律责任。具体规则请查看《阿里云开发者社区用户服务协议》和《阿里云开发者社区知识产权保护指引》。如果您发现本社区中有涉嫌抄袭的内容,填写侵权投诉表单进行举报,一经查实,本社区将立刻删除涉嫌侵权内容。