One useful note for people wanted to run Java based program on haiku: you have to install at least the Dejavu fonts and liberation-fonts to be able to use them correctly, otherwise they will present to you with just squares and squares but no characters at all!
BTW, from my own observation it seemed java based program doesn’t scale on haiku at all. They are very slow and it seemed the multithreading doesn’t work, they also used one cpu core and let other cores idle.
Also because of this multithreading issue, I can’t run the latest version of Netbeans (12.0 LTS) downloaded from Apache on haiku. The whole system become unresponsive and the only way to escape this is shutdown -r.