This site is currently in read-only mode during migration to a new platform.
You cannot post questions, answers or comments, as they would be lost during the migration otherwise.
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-\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?

in Engine by (64 points)

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

2 Answers

0 votes

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


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.

by (160 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?

0 votes

I was stack with the same problem. I double check the java installation and everything was ok, other software was working like cordova, so I decided to try compiling Godot following this guide ( and it was very easy.

Now the Godot's file explorer shows all files inside /use/lib, and it looks has no problem with symbolic link files.

by (14 points)
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 Frequently asked questions and How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to [email protected] with your username.