Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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:

Eclipse error

like image 990
Umar Gafia Avatar asked Oct 21 '25 13:10

Umar Gafia


1 Answers

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 A-F) so it fails.

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

like image 57
ElectronWill Avatar answered Oct 23 '25 02:10

ElectronWill