|
|
Re: Reporting Tutorial Issue [message #1836843 is a reply to message #1836842] |
Fri, 15 January 2021 12:54 |
Joshua Jimenez Messages: 9 Registered: January 2021 |
Junior Member |
|
|
error thrown is:
Exception in thread "main" java.lang.UnsatisfiedLinkError: Could not load SWT library. Reasons:
no swt-win32-4940r23 in java.library.path: C:\Users\joshu\.p2\pool\plugins\org.eclipse.justj.openjdk.hotspot.jre.full.win32.x86_64_15.0.1.v20201027-0507\jre\bin;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;V:/Software/eclipse-java-2020-12-R-win32-x86_64/eclipse//plugins/org.eclipse.justj.openjdk.hotspot.jre.full.win32.x86_64_15.0.1.v20201027-0507/jre/bin/server;V:/Software/eclipse-java-2020-12-R-win32-x86_64/eclipse//plugins/org.eclipse.justj.openjdk.hotspot.jre.full.win32.x86_64_15.0.1.v20201027-0507/jre/bin;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files (x86)\QuickTime\QTSystem\;C:\Users\joshu\AppData\Local\Microsoft\WindowsApps;V:\Software\eclipse-java-2020-12-R-win32-x86_64\eclipse;;.
no swt-win32 in java.library.path: C:\Users\joshu\.p2\pool\plugins\org.eclipse.justj.openjdk.hotspot.jre.full.win32.x86_64_15.0.1.v20201027-0507\jre\bin;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;V:/Software/eclipse-java-2020-12-R-win32-x86_64/eclipse//plugins/org.eclipse.justj.openjdk.hotspot.jre.full.win32.x86_64_15.0.1.v20201027-0507/jre/bin/server;V:/Software/eclipse-java-2020-12-R-win32-x86_64/eclipse//plugins/org.eclipse.justj.openjdk.hotspot.jre.full.win32.x86_64_15.0.1.v20201027-0507/jre/bin;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files (x86)\QuickTime\QTSystem\;C:\Users\joshu\AppData\Local\Microsoft\WindowsApps;V:\Software\eclipse-java-2020-12-R-win32-x86_64\eclipse;;.
Can't load library: C:\Users\joshu\.swt\lib\win32\x86_64\swt-win32-4940r23.dll
Can't load library: C:\Users\joshu\.swt\lib\win32\x86_64\swt-win32.dll
I am not new to coding, I have worked in debugging & testing about 10 years ago. I just need to refresh everything. So I know how to read an error message.
So, since you appear to not have checked out the linked post, I will reiterate what my problem is:
After installing eclipse all-new, I figured I would go through the SWT tutorial provided on first startup. So far, so good, nothing it told me was stuff I didn't know how to do by myself either but it was a nice refresher to make sure I did it right.
However, on the last step, when the tutorial is meant to compile the hello world application, it throws this error.
I checked the path and those folders exist, but they are empty. I tried uninstalling and re-installing eclipse several times with the different methods provided. (installer, package ect.) but the result is always the same.
and yes, I am quite sure that swt-win32.dll and swt-win32-4940r23.dll are 32bit files... and certainly not mine. My guess is that when you guys coded the Display class you referenced a 32bit library so you didn't have duplicate code since at the time, both 32 and 64 were available and it was easier to include a 32bit library that already existed... and then forgot about that when you stopped providing them.
Happens to Unix/Linux developers all the time.
I just want to know how to get those .DLLs, because without them, the Display class is never going to work and I need to find another library to display things.
[Updated on: Fri, 15 January 2021 12:57] Report message to a moderator
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03276 seconds