#!/bin/sh

# Include the wrappers utility script
. /usr/lib/java-wrappers/java-wrappers.sh

# We need a java8 runtime
# as this is also provided by openjdk9, we hardcode openjdk8 here
find_java_runtime openjdk8

find_jars \
	jabref \
	bcprov \
	antlr3-runtime \
	antlr4-runtime \
	com.android.json \
	commons-cli \
	commons-codec \
	commons-lang3 \
	commons-logging \
	fontbox \
	glazedlists \
	guava \
	httpasyncclient \
	httpclient \
	httpcore \
	httpcore-nio \
	httpmime \
	java-string-similarity \
	jempbox \
	jgoodies-common \
	jgoodies-forms \
	jgoodies-looks \
	jhlabs-filters \
	jsoup \
	juh \
	jurt \
	log4j-api \
	log4j-core \
	log4j-jcl \
	microba \
	mysql-connector-java \
	pdfbox \
	postgresql \
	ridl \
	spin \
	swingx \
	swing-layout \
	unirest-java \
	unoil

run_java net.sf.jabref.JabRefMain "$@"
