I am trying to build code by using the './bin/build' command but it is getting error.
Hi @sajeethpasha
You are providing extremely little information to be able to help you. At least write which error you are getting.
Post the output of the following:
# OS and version
sed -nE 's/^PRETTY_NAME="([^"]+)"$/\1/p' /etc/os-release
# Git branch and commit
echo `git status | head -1 && git log -1 --format="commit %H"`
# Java version and architecture
java -version
# Java variable configuration
echo $JAVA_HOME
# Java path configuration
echo $PATH | grep --color=never -oe "/usr/lib/jvm/[^:]*"
# Lein version
lein --version
# NodeJS version
node --version
# Yarn version
yarn --version
# Clojure version
clojure --help | grep Version
OS and version
Ubuntu 20.04.1 LTS
Git branch and commit
On branch master commit 81910508279b1ca7560961695bd1d11deba157f9
Java version and architecture
java version "1.8.0_271"
Java(TM) SE Runtime Environment (build 1.8.0_271-b09)
Java HotSpot(TM) 64-Bit Server VM (build 25.271-b09, mixed mode)
Java variable configuration
/home/sajeeth/myFiles/BigData/java/jdk1.8.0_271
Java path configuration
Nothing
Lein version
Leiningen 2.9.6 on Java 1.8.0_271 Java HotSpot(TM) 64-Bit Server VM
NodeJS version
v10.19.0
Yarn version
1.22.5
Clojure version
Version: 1.10.2.774
@sajeethpasha Since you are still not posting the error, then it's completely impossible to know what problem you are seeing.
Try following the documentation again and update Java to JDK 11:
https://www.metabase.com/docs/latest/developers-guide.html