# Error message when building with bob

**URL:** <https://forum.defold.com/t/error-message-when-building-with-bob/9744>\
**Category:** Bugs\
**Created:** [July 10, 2017, 6:42pm UTC](https://forum.defold.com/t/error-message-when-building-with-bob/9744 "2017-07-10T18:42:42Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Johan](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/johan/32/127_2.png) [@Johan](https://forum.defold.com/u/Johan)\
**Post date:** [July 10, 2017, 6:42pm UTC](https://forum.defold.com/t/error-message-when-building-with-bob/9744/1 "2017-07-10T18:42:42Z")

</div>

When trying to build my project for web with bob (_bob.jar --archive --platform js-web build bundle_) I get the following error:

```
The build failed for the following reasons:
ERROR scenes/level_menu/level_menu.gui:0 javax.vecmath.Point3d.getX()D

```

The project builds fine in the editor. I am using Editor 2.

---

<div class="post-metadata">

**Author:** ![britzl](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/britzl/32/23_2.png) [@britzl](https://forum.defold.com/u/britzl)\
**Post date:** [July 10, 2017, 9:52pm UTC](https://forum.defold.com/t/error-message-when-building-with-bob/9744/2 "2017-07-10T21:52:52Z")

</div>

I’m not really sure of the proper solution for this. The vecmath issue is mentioned in older posts, such as [this one](https://forum.defold.com/t/build-and-bundle-for-multiple-platforms-from-the-command-line/2577/4). @Ragnar_Svensson, any idea?

---

<div class="post-metadata">

**Author:** ![Johan](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/johan/32/127_2.png) [@Johan](https://forum.defold.com/u/Johan)\
**Post date:** [July 11, 2017, 7:29am UTC](https://forum.defold.com/t/error-message-when-building-with-bob/9744/3 "2017-07-11T07:29:34Z")

</div>

The empty ext-dirs parameter mentioned in that thread helped, but got me “Unable to create ManifestFile, hashing algorithm not supported instead”.

I can’t find any vecmath.jar in the Defold 2 app bundle either

---

<div class="post-metadata">

**Author:** ![Johan](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/johan/32/127_2.png) [@Johan](https://forum.defold.com/u/Johan)\
**Post date:** [July 11, 2017, 8:58am UTC](https://forum.defold.com/t/error-message-when-building-with-bob/9744/4 "2017-07-11T08:58:40Z")

</div>

Ok, so I found [this](https://forum.defold.com/t/bob-jar-build-seem-to-not-let-me-load-collections-anymore/6394/5) thread, and using java from within the Defold app bundle instead of the standard one ran without issues if I removed the ext-dirs parameters.

---

<div class="post-metadata">

**Author:** ![britzl](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/britzl/32/23_2.png) [@britzl](https://forum.defold.com/u/britzl)\
**Post date:** [July 11, 2017, 11:50am UTC](https://forum.defold.com/t/error-message-when-building-with-bob/9744/5 "2017-07-11T11:50:40Z")

</div>

Ok, cool. Maybe if you update to the latest JDK (I use jdk1.8.0\_131)?

---

<div class="post-metadata">

**Author:** ![Johan](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/johan/32/127_2.png) [@Johan](https://forum.defold.com/u/Johan)\
**Post date:** [July 15, 2017, 3:39pm UTC](https://forum.defold.com/t/error-message-when-building-with-bob/9744/6 "2017-07-15T15:39:50Z")

</div>

I have 1.8.0\_65, but according to the linked thread it is the cryptography that is the culprit.

So - actually these are the steps I need to take to make it work if I delete the build directory:

- `java -Djava.ext.dirs= -jar /Applications/Defold/bob.jar --archive --platform js-web build`

This will give me the “Unable to create ManifestFile, hashing algorithm is not supported!” error (regardless of using the Defold or default Java), but most of the project will be built so after that running

- `java -jar /Applications/Defold/bob.jar --archive --platform js-web build`

Finishes successfully and I can then bundle.

---

<div class="post-metadata">

**Author:** ![dapetcu21](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/dapetcu21/32/25120_2.png) [@dapetcu21](https://forum.defold.com/u/dapetcu21)\
**Post date:** [August 13, 2017, 7:24pm UTC](https://forum.defold.com/t/error-message-when-building-with-bob/9744/7 "2017-08-13T19:24:30Z")

</div>

I have the same issue. Archiving fails with `ERROR level/level.collection:0 javax.vecmath.Vector3d.getX()D` on java 1.8.0\_144. Also tried with Defold’s java with no luck.
