The core Java Application for CaDoodle
This is the source code for the Java Application of Cadoodle.
The installers for specific operating systems can be found here: https://github.com/CommonWealthRobotics/CaDoodle/releases
git clone https://github.com/CommonWealthRobotics/CaDoodle-Application.git
cd CaDoodle-Application
git submodule update --init --recursive
git submodule update --recursive
bash build.sh
-
Create the CadDoodle project directory (use a path without spaces), e.a.
D:\CaDoodle -
Inside the project directory create a directory for the Java JDK, e.a.
D:\CaDoodle\java -
Download the Windows Java JDK https://cdn.azul.com/zulu/bin/zulu17.50.19-ca-fx-jdk17.0.11-win_x64.zip
-
Extract the Zip-archive to the Java JDK directory, e.a.
D:\CaDoodle\java\zulu17.50.19-ca-fx-jdk17.0.11-win_x64\ -
Install MSYS2 from https://www.msys2.org to get a Linux bash shell.
-
Start the MSYS2 UCRT64 shell, all remaining commands will be executed in this shell.
-
Set the Java environment to point to the Java JDK, e.a.
export JAVA_HOME=/d/CadDoodle/java/zulu17.50.19-ca-fx-jdk17.0.11-win_x64
Verify the path with ls $JAVA_HOME
Optionally: Make JAVA_HOME persistent for the MSYS2 shell
echo 'export JAVA_HOME='$JAVA_HOME >> ~/.bash_profile
-
Navigate to the CaDoodle project directoryl, e.a.
cd /d/CaDoodle/ -
Install the required updates, packages and build the application (UCRT64 bash shell):
pacman -Syu --noconfirm
pacman -S git --noconfirm
git clone https://github.com/CommonWealthRobotics/CaDoodle-Application.git
cd CaDoodle-Application
git submodule update --init --recursive
git submodule update --recursive
./gradlew clean shadowJar
The build CaDoodle-Application.jar file will be located in build/libs
The Windows CaDoodle application is located in the Windows user directory: users\<username>\bin\CaDoodle-ApplicationInstall
Eclipse setup Instructions Here
Right click on this file and Debug as Java Application
