java data mover using jdbc
Go to file
2022-11-30 14:26:37 -05:00
app update version 2022-10-27 07:17:13 -04:00
gradle/wrapper initial 2022-10-20 11:12:19 -04:00
.gitattributes initial 2022-10-20 11:12:19 -04:00
.gitignore initial 2022-10-20 11:12:19 -04:00
copy_to_apt.sh add instruction and copy script 2022-11-30 14:25:16 -05:00
gradlew initial 2022-10-20 11:12:19 -04:00
gradlew.bat initial 2022-10-20 11:12:19 -04:00
readme.md use blocks 2022-11-30 14:26:37 -05:00
settings.gradle initial 2022-10-20 11:12:19 -04:00

install java jdk.

find downloads page and get latest tarball. https://www.oracle.com/java/technologies/downloads/

wget https://download.oracle.com/java/19/latest/jdk-19_linux-x64_bin.tar.gz
tar -xvf downloaded_file

move the extracted folder to /opt put the extracted location in your path variable

export JAVA_HOME=/opt/jdk-19.0.1
export PATH=$PATH:$JAVA_HOME/bin

java --version to test

install gradle

https://docs.gradle.org/current/userguide/installation.html go to gradle.org and find the latest bin.zip file (burried in the direct link hyperlink)

wget https://services.gradle.org/distributions/gradle-7.6-bin.zip
unzip -d /opt/gradle gradle-7.6-bin.zip

point to the gradle install

export PATH=$PATH:/opt/gradle/gradle-7.6/bin
gradle -v` to validate

clone this repo

clone git clone https://gitea.hptrow.me/pt/jrunner.git

build gradle build`

copy to opt for use

sudo cp jrunner/app/build/distributions/app.zip /opt/
sudo rm -rf app/
sudo unzip app.zip
sudo rm app.zip
sudo chown ptrowbridge:ptrowbridge -R app/