Skip to content

Compiling

Steven Weiss edited this page Jan 21, 2018 · 6 revisions

Windows

The easy way

From an admin Command Prompt, run:

# Install chocolatey
@"%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command "iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))" && SET "PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin"
choco feature enable -n=allowGlobalConfirmation

# Install Maven, Git, and Inno Installer
choco install maven git InnoSetup

# Clone utsu and compile
git clone https://github.com/titinko/utsu.git
cd utsu
mvn package

# The installer will be in target/jfx/native/

Mac OS

The easy way

From a terminal, run the following:

# Install brew
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

# Install maven and git
brew install maven git

# Clone utsu and compile
git clone https://github.com/titinko/utsu.git
cd utsu
mvn package

# The dmg will be in target/jfx/native/

Linux

# Install maven and git using your package manager

# Clone utsu and compile
git clone https://github.com/titinko/utsu.git
cd utsu
mvn package

# An installable package can be found in target/jfx/native/
# Alternatively, you can just unzip the zip file in target, and run with:
java -jar utsu.jar

Clone this wiki locally