SWT study notes (1) - Configure the environment

xiaoxiao2021-03-06  73

Eclipse version: 3.0.1 Link: SWT learning note (1) - Add SWT.jarhttp: //dev.9cbs.net/develop/article/30/30711.shtm

1, swt.jar: {Eclipse installation path} /plugins/org.eclipse.swt.win32_3.0.1/ws/win32/swt.jar

2, SWT Run-Time DLL: (From 139129 Blog: SWT Learning Notes (1) - Add SWT.jar in the project to the SWT Run-Time DLL (otherwise report "java.lang required to add SWT.jar. UnsatisfiedLinkError: no swt-win32-2133 in java.library.path "error) DLL file location: Windows: INSTALLDIR / eclipse / plugins / org.eclipse.swt.win32_3.0.0 / os / win32 / x86 Linux GTK: INSTALLDIR / eclipse /plugins/org.eclipse.swt.gtk_3.0.0/OS/linux/x86 Linux motif: installdir / eclipse / plugins / org.eclipse.swt.motif_3.0.0 / os / linux / x86 joined Method: 1. Put DLL Path of the file as a Java virtual machine variable at the SWT program - Djava.library.path =

2. Add the path to the DLL file in the environment variable of the operating system. Under Linux / Unix Modify "LD_Library_Path" Windows to modify "Path" 3.Windows Copy the DLL file to the Windows / System32 folder 4. Copy the DLL file to the root of the project folder I use the fourth method

转载请注明原文地址:https://www.9cbs.com/read-108623.html

New Post(0)