Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Eclipse Mars: ANT Task references missing SWT library

Tags:

java

eclipse

ant

I just upgraded to Eclipse Mars and suddenly my ANT task working fine with Lunar complains:

The archive: C:/Program%20Files/eclipse_lunar/plugins/org.eclipse.swt.win32.win32.x86_64_3.104.0.v20150528-0211.jar which is referenced by the classpath, does not exist.

Which is weird, because

  • I'm sure none .classpath file does reference to this jar
  • the jar actually exists under that path

After some research it seems it is related to https://bugs.eclipse.org/bugs/show_bug.cgi?id=470390

Anyone has a solution to run my ANT (besides from using lunar again) ?

like image 545
terix2k11 Avatar asked Jun 30 '15 13:06

terix2k11


1 Answers

This worked for me:

mklink /D D:\Program%20Files "D:\Program Files"
like image 82
Colin Avatar answered Oct 12 '22 02:10

Colin