The source code for the Community Edition of the Thingsboard IoT Platform is published on Github at: https://github.com/thingsboard/thingsboard
We have compiled the Source Code of Thingsboard IoT Platform Community Edition on Ubuntu 22.04.

The operations are listed below:
- sudo apt update && sudo apt install openjdk-17-jdk
- sudo update-alternatives –config java
- java -version
- openjdk version “17.x.xx” OpenJDK Runtime Environment (…) OpenJDK 64-Bit Server VM (…)
- sudo apt-get install maven
- git clone -b release-4.0 https://github.com/thingsboard/thingsboard.git –depth 1
- cd thingsboard
- mvn clean install -DskipTests
- If the compilation process is completed successfully, files will appear under the application/target folder.
If you receive an error, follow these steps before starting again:
- mvn clean install
- rm -rf ~/.m2/repository
- rm -rf ~/.gradle/caches/
- rm -rf ui-ngx/node_modules
- mvn -T 0.8C license:format clean install -DskipTests -Ddockerfile.skip=false
The pictures show our progress.
Good luck. If you have any questions, please contact us. Good work.







