Error when building with bob.jar (SOLVED)

Started to get this when building with bob.jar. Building and running in editor works fine. Also running with dmengine / dmengine_headless works fine. No Manifestfile is set (trying to build and bundle for ios but dont get as far as to bundling).

The build failed for the following reasons:
ERROR game.project:0 Unable to create ManifestFile, hashing algorithm is not supported!

Any suggestions? Tried with previous versions of bob as well.

Are you using pyfold? I think britzl encountered and resolved this issue recently, any input @britzl?

Nope, not a pyfold related issue (and Pyfold is internal to King). This is a Java version related issue. You need to update the JDK (I used the latest one) and update JAVA_HOME and your PATH.

1 Like

Doesn’t seem to be the case. I got 2 parallell projects with Editor 1. Using the same bob.jar with the same building script. One project is building, the other don’t and are giving me this message.
Weird is that I cloned the first one and have not made any bigger changes.
Additionally, I got latest Java already as I checked.

Just to make sure. You have jdk-8u121-macosx-x64 (build 1.8.0_121-b13)?

Seemed to solve it.
For some reason my build script were full of '-Djava.ext.dirs= ’ . Probably a fix from earlier that now broke everything. Removing that and making simple java -jar bob calls seemed to work. Sorry for confusion.

3 Likes

Great to hear :slight_smile:

Ah, yes, the ext.dirs thing was a fix to get rid of some issue with vec math if I recall correctly. And if you set ext.dirs to an empty string it meant that Java couldn’t find some things needed for cryptographic verification of the manifest.