views:

682

answers:

3

I am trying to follow instructions in Eclipse to create my first Hello World SWT application. I have problems on the first step. In the instructions the following is written:

Open your Web browser to http://eclipse.org/downloads/, navigate to the Eclipse Platform project section, select the latest release build, and find the SWT Binary and Source download.

Well I am smart enough to "open my Web browser to http://eclipse.org/downloads/". This I can do. But I am not smart enough to "navigate to the Eclipse Platform project section, select the latest release build, and find the SWT Binary and Source download".

Can anybody help me to find this "Eclipse Platform project section"? Should I click on "Projects"? If it is the case, what should I click next?

Thank you in advance.

+1  A: 

Go here, http://archive.eclipse.org/eclipse/downloads/drops/R-2.1-200303272130/index.php and scroll all the way to the bottom to see SWT Binary and Source

Which may be a bit outdated, so go to http://www.eclipse.org/swt/ and under Development section, select your operating system.

Anthony Forloney
Thank you. I visited the page you gave and clicked "Linux". Then I have selected a mirror and downloaded a swt-3.5.1-gtk-linux-x86.zip file. But now I do not know what to do because in the eclipse instructions it is written that "Save the file to your disk; you do not need to extract the archive". And I have an archive. Should I not to extract the archive?
Roman
Can eclipse read from archive? How eclipse know where the archive is located and what is the name of the file.
Roman
If the instructions are telling you not to, then don't and continue on. Where are you getting these instructions from?
Anthony Forloney
In the "start page" of eclipse I clicked "Create a Hello World SWT application" and then I got the instructions (in the eclipse) how to do it.
Roman
Well, if the instructions are telling you not to extract it, then don't, continue on with the instructions and all should be well.
Anthony Forloney
+1  A: 

From http://help.eclipse.org/help32/index.jsp?topic=/org.eclipse.platform.doc.isv/samples/org.eclipse.swt.examples/doc-html/swt_manual_setup.html :

Adding SWT to your workspace

  1. Download SWT for standalone applications. A standalone version of SWT is available on the same download page as the Eclipse SDK. Look for the section titled SWT Binary and Source. Do not extract the archive file, just save it to disk.
  2. Select Import... from the File menu.
  3. Select Existing Projects into Workspace and click on the Next button.
  4. Select Select archive file: and use the Browse button to locate the SWT standalone archive you have previously downloaded.
  5. Click on the Finish button.

This worked for me under Ubuntu on my netbook; I've been fighting for a few days to configure Eclipse and I'm getting closer to done.

arclight
A: 

Hi,

I am doing the same as Roman and I got stucked in the next step as he was. I'm following exactly the same procedure as him, I download the zip file called "swt-3.6-win32-win32-x86.zip", I go to File->Import->Existing Proyects into Workspace and then select the zip file I just downloaded as the eclipse wizard tells you. Then eclipse should find a poryect there or something before you click "Finish" but in my case it doesn't do anything so I can't click on "Finish".

Any idea of what I am doing wrong?

Thanks!!

Ramon