utopia-rise / godot-kotlin-jvm

Godot Kotlin JVM Module
MIT License
586 stars 39 forks source link

Editor crashes when opening a project if JAVA_HOME is not defined #361

Closed unicornlox closed 1 year ago

unicornlox commented 1 year ago

this issue has been reported before but the issue still persists. debian linux- buster java path : /home/deepin/.sdkman/candidates/java/current/bin/java java version : openjdk 17.0.4.1 godot : 3.5.1- 0.5.0 godot-JVM intellijidea addons :0.5.0

I added it to bashrc like this: export JAVA_HOME="/home/deepin/.sdkman/candidates/java/current/bin"

unicornlox commented 1 year ago

java yolunu bir üst dizini(java path : /home/deepin/.sdkman/candidates/java/current (one directory above the bin folder) ) belirttim ve projemin içerisinde jre-amd64 klasörü oluşturdum.daha sonra bu jre-amd64 klasörünün içerisine java'nın yüklü olduğu klasördeki lib klasörünü kopyaladım.and problem solved.

unicornlox commented 1 year ago

also godot editor needs to be run from terminal and in intellijidea godot must be set to run from console.