google-java-format icon indicating copy to clipboard operation
google-java-format copied to clipboard

Eclipse 2020.09 unable to load the plugin

Open etnoy opened this issue 5 years ago • 1 comments

I am unable to get the Eclipse plugin to work. I have reinstalled Eclipse, tried both plugin version 1.6 and 1.8.

Eclipse version 2020.09. OpenJDK 11 is the system JRE/JDK.

image

When I open the Eclipse formatter settings I get an error message in the Eclipse error log.

Unable to instantiate formatter extension 'com.google.googlejavaformat.java.GoogleJavaFormatter', returning built-in formatter.

An exception stack trace is not available.

eclipse.buildId=4.17.0.I20200902-1800 java.version=11.0.8 java.vendor=N/A BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_US Framework arguments: -product org.eclipse.epp.package.java.product Command-line arguments: -os win32 -ws win32 -arch x86_64 -product org.eclipse.epp.package.java.product

etnoy avatar Sep 24 '20 19:09 etnoy

Can you try with the latest version of the plugin, which is currently https://github.com/google/google-java-format/releases/tag/v1.11.0 ?

cushon avatar Aug 02 '21 17:08 cushon