# Unable to create tarball for crate db on ubunutu

**URL:** <https://community.cratedb.com/t/unable-to-create-tarball-for-crate-db-on-ubunutu/1940>\
**Category:** CrateDB\
**Created:** [December 29, 2024, 8:29pm UTC](https://community.cratedb.com/t/unable-to-create-tarball-for-crate-db-on-ubunutu/1940 "2024-12-29T20:29:30Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rhythm\_Narula](https://sea2.discourse-cdn.com/flex020/user_avatar/community.cratedb.com/rhythm_narula/32/1340_2.png) [@Rhythm\_Narula](https://community.cratedb.com/u/Rhythm_Narula)\
**Post date:** [December 29, 2024, 8:29pm UTC](https://community.cratedb.com/t/unable-to-create-tarball-for-crate-db-on-ubunutu/1940/1 "2024-12-29T20:29:30Z")

</div>

I am facing this issue when trying to run →   
./mvnw package -DskipTests=true

Artifact: io.crate:jlink-jdk:jlink:5.10.0 (included by module) does not have an artifact with a file. Please ensure the package phase is run before the assembly is generated.

Log line - [Build Error - Pastebin.com](https://pastebin.com/K7iVDxTC)

Has anyone faced this before and knows how to resolve this?  
I hope its the right platform to raise this query, if not, please redirect me to the correct one.

---

<div class="post-metadata">

**Author:** ![hernanc](https://sea2.discourse-cdn.com/flex020/user_avatar/community.cratedb.com/hernanc/32/676_2.png) [@hernanc](https://community.cratedb.com/u/hernanc)\
**Post date:** [December 30, 2024, 12:44pm UTC](https://community.cratedb.com/t/unable-to-create-tarball-for-crate-db-on-ubunutu/1940/2 "2024-12-30T12:44:35Z")

</div>

Hi, this may be related with the JDK version in your environment and/or an incorrectly set `JAVA_HOME` , see also [Add `information_schema` roles related tables · Issue #15268 · crate/crate · GitHub](https://github.com/crate/crate/issues/15268#issuecomment-2403418944)

---

<div class="post-metadata">

**Author:** ![Rhythm\_Narula](https://sea2.discourse-cdn.com/flex020/user_avatar/community.cratedb.com/rhythm_narula/32/1340_2.png) [@Rhythm\_Narula](https://community.cratedb.com/u/Rhythm_Narula)\
**Post date:** [January 1, 2025, 4:38pm UTC](https://community.cratedb.com/t/unable-to-create-tarball-for-crate-db-on-ubunutu/1940/3 "2025-01-01T16:38:53Z")

</div>

Thanks @hernanc . Updating JAVA\_HOME and pulling the the latest main worked.
