MCreator issue tracker has been migrated to GitHub.
Existing tickets have been migrated to GitHub. Please open new tickets on the GitHub tracker instead. If you do not have a GitHub account, all feature requests and bug reports from forums are still considered and checked by the maintainers.
You need to have Java 8 JDK installed and JAVA_HOME pointing to the root of JDK installation. Check these instructions on how to install MCreator: https://mcreator.net/install/linux
If you need more help on how to achieve this on your specific OS, I suggest you to do some googling.