SWT study notes (1) - Add SWT.jar in the project

zhaozj2021-02-16  68

Original source: http://www.cs.umanitoba.ca/~eclipse/1-install.pdf

1 .swt.jar location Win32: installdir / eclipse / plugins / org.eclipse.swt.win32_3.0.0 / ws / win32 / gtk: installdir / eclipse / plugins / org.eclipse.swt.gtk_3.0.0 / ws / GTK / Motif: InstallDir / Eclipse.swt.Motif_3.0.0 / WS / Motif / Photon: InstallDir / Eclipse / PLUGINS / Org.eclipse.swt.Photon_3.0.0 / WS / Photon / MacOSx: InstallDir / Eclipse.Swt.carbon_3.0.0 / ws / carbon / 2. Swt Run-Time DLL (Otherwise) java.lang.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 Join: 1. Path of the DLL file as a SWT program running Java Virtual Machine Variables - 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 to copy the DLL file to the Windows / System32 folder under Windows / System32 folder

4. Copy the DLL file to the root directory of the project folder

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

New Post(0)