Quantcast
Channel: Active questions tagged ubuntu - Stack Overflow
Viewing all articles
Browse latest Browse all 6025

How do I set up java-home variable correctly for Godot?

$
0
0

When exporting for android using Gradle build I get this errorI have no other java alternativesI installed openjdk-17 through $ sudo apt install openjdk-17-jdk openjdk-17-jre commandmy Path is /usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/games:/usr/local/games:/snap/bin:/home/gordey/.dotnet/tools:/home/gordey/.dotnet:/usr/lib/jvm/java-17-openjdk-amd64

This is my ~/.bashrc (not sure I set this up correctly)I'm opening project through terminal using this command: $ godot4 /home/gordey/projects/godot-test -e

[There is no java.sh in my profile.d folder so I couldn't try this method text](https://i.sstatic.net/82YzUQUT.png)

I tried adding /bin to the end of JAVA_HOME but it changes nothingI tried setting JAVA_HOME in .profile and open godot though the same terminal window and it didn't work too


Viewing all articles
Browse latest Browse all 6025

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>