Commit 61cc70be authored by Grzegorz Pietrusza's avatar Grzegorz Pietrusza

Merge branch 'master' of gitlab.telemabk.pl:jifwin/CTF

parents 2f67d389 30d6adb0
# Created by .ignore support plugin (hsz.mobi) # Created by .ignore support plugin (hsz.mobi)
service/target
# Ponizej instrukcja
# Instalujemy mvn i jave 8
# sudo aptitude install mvn openjdk-8-jdk czy cos w ten desen
# jak mamy zainstalowane to ustawiamy jave na 1.8:
sudo update-java-alternatives --list
# example output
## java-1.7.0-openjdk-amd64 1071 /usr/lib/jvm/java-1.7.0-openjdk-amd64
## java-1.8.0-openjdk-amd64 1069 /usr/lib/jvm/java-1.8.0-openjdk-amd64
## java-gcj-5 /usr/lib/jvm/java-gcj-5
# ustawiamy jave ze sciezka na 1.8
sudo update-java-alternatives --set /usr/lib/jvm/java-1.8.0-openjdk-amd64
# Przechodzimy do folderu z projektem
cd service
# Kompilujemy
mvn compile
#Odpalamy i patrzymy co sie dzieje :)
mvn exec:java -Dexec.mainClass="CTFApplication" -Dexec.args="server configuration.yml"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment