Install the Eclipse with Spoofax Plugin Bundle¶
Install an Eclipse instance with the latest stable release of the Spoofax plugin pre-installed for your platform:
Eclipse bundle including the Spoofax plugin with embedded Java Runtime Environment (JRE) (recommended):
macOS Intel (64-bit)
Linux x64 (64-bit)
Windows x64 (64-bit)
Windows x86 (32-bit)
Eclipse bundle including the Spoofax plugin (no embedded JRE):
macOS Intel (64-bit)
Linux x64 (64-bit)
Windows x64 (64-bit)
Windows x86 (32-bit)
Troubleshooting¶
Unresolveable build extension: Plugin¶
When building a Spoofax project, if you get this error:
Could not download sources or javadoc
Could not read maven project
Some problems were encountered while processing the POMs:
[ERROR] Unresolveable build extension: Plugin
Could not find artifact com.sun:tools.jar:1.8.0 at specified path Spoofax.app/jre/Contents/Home/../lib/tools.jar
Then you have used the embedded JRE on an ARM macOS, which is not supported. See how to install Spoofax on macOS M1/M2 for details.
macOS: '"Eclipse" cannot be opened because the developer could not be verified' or '"spoofax.app" is damaged and can't be opened. You should move it to the Trash.'¶
macOS puts unverified binaries in 'quarantine' and disallows their execution. To remove the com.apple.quarantine
attribute, do:
xattr -rc Eclipse.app
Eclipse does not start, or complains about missing Java¶
Download the Eclipse bundle with embedded JRE. Otherwise, ensure you have a distribution of Java installed. Then in eclipse.ini
, add a -vm
line at the top of the file, followed by the path to the Java installation. For example, with SDKMan! on macOS, where <USERNAME>
is your username:
-vm
/Users/<USERNAME>/.sdkman/candidates/java/current/lib/jli/libjli.dylib
Created: October 17, 2024