|
|
|
|
Re: Eclipse installation issues [message #1836806 is a reply to message #1836803] |
Thu, 14 January 2021 11:00 |
Joshua Jimenez Messages: 9 Registered: January 2021 |
Junior Member |
|
|
"Create a Hello World SWT application" is the exact title of the tutorial.
These steps have been followed:
Introduction
Open the Java perspective
Import the SWT project from target platform using Plug-In Development Environment
(skiped because it told me to) - Import the SWT project from downloaded SWT archive
Verify the SWT Project in workspace
Create a Java project
Configure the Java project
Create a class
Write the Java Code
-current point- Run your Java application
To me it appears like something in the SWT library that is used in the code uses a 32 bit .DLL which isn't included in the instalation anymore.
When I dive into the error tree, it's this method that throws the exception:
static {
lpStartupInfo = new STARTUPINFO ();
lpStartupInfo.cb = STARTUPINFO.sizeof;
OS.GetStartupInfo (lpStartupInfo);
}
Found in the (public) Display class (extends Device) from org.eclipse.swt.widgets.
Do you know what that code exactly does? (or do you have a different way to create an application window?)
Edit: Actually, it's loadLibrary(String, boolean) : void in Library from org.eclipse.swt.internal that throws the exception, but it does mark the above as error code... and two other methods in this class.
[Updated on: Thu, 14 January 2021 11:03] Report message to a moderator
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.08352 seconds