I've been working on an assignment in java but when i try to write any Amharic characters they turn into boxes

for example, when I try to print this Amharic character (አማርኛ) on IntelliJ or net beans it shows it as little boxes

if anyone is familiar with this please take a look, thanks in advance.