0 votes

I wanted to try out Android development in Godot. I followed the guide to word, yet the part when it says

"The jarsigner executable (from JDK 6 or 8) - On Windows, OpenJDK installs to a dir like %PROGRAMFILES%\ojdkbuild\java-1.8.0-openjdk-1.8.0.232-2\bin. On Linux, it typically installs to a dir like /usr/bin/jarsigner."

I am on Linux, and so I went to the file path "/usr/bin/jarsigner", and there was the jarsigner, but as strange as it sounds it's the only file I cannot open. I could set the path for any other binary in that folder except for that.

I tried inputting the path (/usr/bin/jarsigner), but to no avail. Can somebody give a helping hand in this? What am I doing wrong?

asked Jun 2 in Engine by Zedespook (30 points)

Does it work if you enter /usr/bin in the FileDialog then manually select the jarsigner binary?

1 Answer

0 votes

What Java version are you using? My path in the jarsigner setting field is this:

/usr/lib/jvm/java-13-openjdk/bin/jarsigner

My /usr/bin/jarsigner is a link:

/usr/bin/jarsigner -> /usr/lib/jvm/default/bin/jarsigner

You can check this with this command:

$ ls -l /usr/bin/jarsigner

The target does not exist. I have not cared to investigate why. I can build Android apps fine. If your situation is the same, try to find where the real jarsigner file is.

I am on Manjaro, an Arch Linux variant. So the situation might be different from yours.

answered Jun 2 by Becbunzen (156 points)

I use the same distro, and did the same relink, issue persists.

Do not use the link, use the path to the real file that you check exists.

What is the full path to your jarsigner file?

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.