Note, there is a free and open-source alternative for both the console world and GUI one - radare2[1] + Cutter[2] combo. Both are native and highly portable, no Java inside. And they support various decompilers, including Ghidra'one[3] and Retdec[4].
[1] https://github.com/radareorg/radare2
[2] https://github.com/radareorg/cutter