Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Install JabRef 4.2 Ubuntu 18.04
#!/bin/bash
# Install java packages + javafx
sudo apt-get install default-jdk
sudo apt-get install openjfx
# Download Jabref
sudo wget -P /etc/jabref -O jabref.jar https://www.fosshub.com/JabRef.html/JabRef-4.2.jar
# Create startup script
sudo mkdir /etc/jabref
cat <<EOF > /etc/jabref/jabref.sh
#!/bin/bash
java -jar /etc/jabref/jabref.jar &
EOF
# Create symlink and make startup script executable
sudo chmod +x /etc/jabref/jabref.sh
sudo ln -s /etc/jabref/jabref.sh /usr/local/bin/jabref
# Start Jabref
jabref
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment