简体   繁体   中英

I tried creating a new project in eclipse in Ubuntu 20.04 but it gives me this error Errors occurred during the build

Errors occurred during the build. Errors running builder 'Java Builder' on project 'egg'. For input string: "H" under radix 16:

日食错误

It seems that old Eclipse versions have a bug where they incorrectly parse java version information. Java 16 is "G", java 17 is "H" and they try to parse this as an hexadecimal character (0-9 AF) so it fails.

Try launching eclipse with java 8 or, better, updating Eclipse to the last version (ie download Eclipse from their website directly).

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM