Skip to content

Installation Ubuntu 16 17 18 19 20

Matthew Wright edited this page Sep 6, 2020 · 7 revisions

Start with the Begin section, move onto your specific Ubuntu version instructions, then finish with the End section at the bottom.

Begin (all versions)

  1. Download youtube-comment-suite-v#.#.#.zip from latest releases
  2. Right click youtube-comment-suite-v#.#.#.zip and extract
  3. Move application folder to desired location

Ubuntu 16, 17

Install OpenJDK 8 and JavaFX

sudo apt install openjdk-8-jre openjfx

Ubuntu 18

Install OpenJDK 8 and JavaFX 8 [ref]. Additional version specification is required here otherwise it will install incompatible JavaFX 11 and the app will not run. Holding those packages will prevent update/upgrade from accidentally upgrading to JavaFX 11.

sudo apt install openjdk-8-jre openjfx=8u161-b12-1ubuntu2 libopenjfx-jni=8u161-b12-1ubuntu2 libopenjfx-java=8u161-b12-1ubuntu2
sudo apt-mark hold openjfx libopenjfx-jni libopenjfx-java

Ubuntu 19, 20+

Install OpenJDK 8 and JavaFX 8 [ref-1] [ref-2]. In addition to the version specification we had to do in Ubuntu 18, now we have to first add the Ubuntu 18 source so that we can find those specific package versions. Otherwise you will get a message that the package version was not found. Remove the source when done so that it doesn't interfere with newer Ubuntu versions.

echo 'deb http://us.archive.ubuntu.com/ubuntu bionic main universe' | sudo tee -a /etc/apt/sources.list.d/ubuntu-bionic-temp.list
sudo apt update
sudo apt install openjdk-8-jre openjfx=8u161-b12-1ubuntu2 libopenjfx-jni=8u161-b12-1ubuntu2 libopenjfx-java=8u161-b12-1ubuntu2
sudo apt-mark hold openjfx libopenjfx-jni libopenjfx-java
sudo rm /etc/apt/sources.list.d/ubuntu-bionic-temp.list

End (all versions)

Next cd to the application folder and run the following to enable double-click running the jar file like in Windows.

sudo chmod +x youtube-comment-suite-1.4.2.jar

Alternatively you could just run java -jar youtube-comment-suite-1.4.2.jar in the terminal to run it each time.

While running it seems that generated programs folders and files from using the app are not created in the application folder like they should be but are instead put in the user home -- see issue #52.

Notes

When downloading and running certain older Ubuntu versions, I ran into an issue with update/upgrade where sources does not have a Release file. since they are no longer supported. This solution helped fix this issue.