ApplicationWindow类必需的jar包

1 jar包

org.eclipse.core.commands_xxx.jar

org.eclipse.core.runtime_xxx.jar

org.eclipse.equinox.common_xxx.jar

org.eclipse.jface_xxx.jar

org.eclipse.swt.win32.win32.x86_xxx.jar

org.eclipse.swt_xxx.jar

org.eclipse.ui.workbench_xxx.jar

 

2 dll文件

swt-win32-xxx.dll

 

错误:

Exception in thread "main" java.lang.UnsatisfiedLinkError: no swt-win32-3139 in java.library.path

java.lang.NoClassDefFoundError: org/eclipse/core/runtime/IProgressMonitor

Exception in thread "main" java.lang.NoClassDefFoundError: org/eclipse/core/commands/common/EventManager


SWT使用了JNI调用C,把相对应版本的dll文件(swt-win32-xxxx.dll)copy到C:/windows/system32下面,

找org.eclipse.equinox.common.x.x.x.jar,导入到project ,

导入org.eclipse.core.commandsx.x.x.jar到project中。

你可能感兴趣的:(thread,c,exception,jni,jar,dll)