0

I import SWT to my project in Java (I work with Eclipse), but I did a mistake and import a version of 64 bit and my JVM is 32-bit. So I tried to import the version of 32-bit but I got an error

"Some projects cannot be imported because they already exist in the workspace"

In eclipse I select

Import -> Existing Projects into Workspace -> Select archive file

and choose the correct file of 32-bit.

Then i did a big mistake and erased the folder "org.eclipse.swt" from my workspace, because I thought I will be able to import the 32-bit version.

But now I don't have also the 64-bit (I get errors like "org.eclipse.swt does not exist" etc)

Does anyone know what I should do???

greg-449
  • 109,219
  • 232
  • 102
  • 145
user1994587
  • 69
  • 2
  • 2
  • 7

1 Answers1

11

Try this

Uncheck the "copy projects into workspace" checkbox, and then click "refresh" button.

Vivek Vermani
  • 1,934
  • 18
  • 45
  • 1
    This was the only approach that worked with Eclipse Kepler. The other dupes should point to here. Thanks. – Josef.B May 28 '15 at 00:10