How to port Virtual Labs to Linux

If you are an Indian university student, which recommends Virtual Labs for Computer Organization lab and are unable to port the software to 64-bit machine, try the following steps in sequence:
( Note: This is specifically for Linux environment )
sudo apt-get install openjdk-6-jre:i386
sudo update-alternatives --config java
( change the above to i368 version )
sudo apt-get install libgtk2.0-0:i386
I tried this on ubuntu ( 18.04 LTS ). See if this helps.