|
Re: SWT Hello World fails [message #720661 is a reply to message #707841] |
Wed, 31 August 2011 02:57 |
Kevin Messages: 2 Registered: August 2011 |
Junior Member |
|
|
I don't understand why it is looking in my home directory either. I'm wondering if this is an Indigo bug since you said the same tutorial worked in Helios? My first install of Eclipse was this past weekend, and it happens to be Indigo.
It would be nice if any Eclipse experts who monitor this forum could help us understand what is going wrong.
In the meantime, have you seen the answer by Pete in another thread on this?
[Note. The forum won't let me use a link until I've posted more than 5 messages (not sure why there is such a rule?), so the only way I can include the link I was trying to post is to transpose http to make it not look like a link. Just take my link and transpose ptth back to http to make it valid]ptth://www.eclipse.org/forums/index.php/m/720657/#msg_720657
Pete's answer was very helpful to me. At least it got me past the error and made the application work.
Best of luck to you.
[Updated on: Wed, 31 August 2011 03:02] Report message to a moderator
|
|
|
Re: SWT Hello World fails [message #892437 is a reply to message #720661] |
Thu, 28 June 2012 08:35 |
Sébastien GUÉRIN Messages: 1 Registered: June 2012 |
Junior Member |
|
|
So best answer is (works for Eclipse Juno too) :
Pete wrote on Wed, 24 August 2011 07:03Had Same initial issue and finally sorted it by...
Right click on project and go to Properties
In Java Build Path under the Projects tab there is the associated Project, in my case org.eclipse.swt.win32.win32.x86
Expand this down with the little arrow to the left to display the options. Here I found Native Library Locations. This wasn't set so I selected it and clicked Edit.
In the Popup window that follows, I selected Workspace and then org.eclipse.swt.win32.win32.x86.
Next time I ran the class, it work fine.
I hope this helps someone!
[Updated on: Thu, 28 June 2012 08:37] Report message to a moderator
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03237 seconds