google / google-java-format

Reformats Java source code to comply with Google Java Style.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cannot open Java sources if NetBeans 12.6 is run on JDK 1.8.0_271

jkovalsky opened this issue · comments

I tried to install 1.14.2 version of External Java Code Formatters plugin to my Apache NetBeans IDE 12.6 running on JDK 1.8.0 Update 271 but it resulted in unusable Editor. Opening any Java file resulted in empty editor due to attached UCVError.txt. Please see the attached file. Can you please compile the plugin with older JDK?

@jkovalsky This is not my repository, this is the repository of the Google Formatter. Are you sure you wanted to file this issue here? Maybe you were looking for this page
I stopped supporting Java 1.8.0 as a runtime Java version which is documented in the plugin. But this was quite some time ago. Is supporting Java 1.8.0 still mandatory?

Note however that Google Java Format itself requires JDK 11 since version 1.8: https://github.com/google/google-java-format/releases/tag/google-java-format-1.8

Oh, I apologize. I wanted to file an issue about missing JDK 8 support so went to Known Issues page where I saw a link to some issue so without much reading I got here.

However, as download page for NetBeans 12.6 says the IDE runs also on JDK 8 so I will file this bug in the other repository.