Katalon Studio GUI (beta) for Linux

You should do it proper way:

Get Java 8 repository

sudo add-apt-repository ppa:openjdk-r/ppa

sudo apt-get update

Install jdk 8

sudo apt-get install openjdk-8-jdk

check which version is in your system

sudo update-java-alternatives --list

you should get

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

make Java 8 your default

sudo update-alternatives --config java

you should see

Selection    Path                                           Priority   Status
------------------------------------------------------------
* 0            /usr/lib/jvm/java-7-openjdk-amd64/jre/bin/java   1071      auto mode
  1            /usr/lib/jvm/java-7-openjdk-amd64/jre/bin/java   1071      manual mode
  2            /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/java   1069      manual mode

Press enter to keep the current choice[*], or type selection number:

Press number 2 to pick correct releas

double check config
sudo update-alternatives --config javac

now these 2 commands should point to smae version
java -version
javac -version
eventually you will get this output:
openjdk version “1.8.0_171”

now try run katalon again