Very often, users have many questions about how to run jbart on ubuntu/linux. Here I will describe everything that needs to be done in the system to successfully launch jbart.
All of the data are valid for versions of Ubuntu 14.04 and above (tested on Ubuntu 15.04 amd64).
Install Oracle Java 8
Check if you have installed java
If you have installed openjdk, you should remove it first:
sudo apt-get remove openjdk*
PPA repository webupd8 contains packages for Oracle Java SE: JDK, JRE and Java browser plugin.
First, we need to add this repository to the system. Open terminal and issue:
sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
To install Oracle Java 8 issue in terminal:
sudo apt-get install oracle-java8-installer
Make sure that you’ve installed Oracle Java 8:
You should see something like this:
java version "1.8.0_60" Java(TM) SE Runtime Environment (build 1.8.0_60-b27) Java HotSpot(TM) 64-Bit Server VM (build 25.60-b23, mixed mode)
Also check the java compiler version (javaс):
You should see:
Settings JAVA_HOME system variable
Optional you can set JAVA_HOME system variable:
Open .bashrc file from the root of your home directory in your favorite text editor, and append to the end of this file:
Done! Now JAVA_HOME variable is in PATH.
After you have java installed, go to the jbart’s directory, right click on jbart3h.jar file, select Properties and on the Permissions tab set Allow to run (x permission). Then, click Open with and choose Oracle Java 8 Runtime and click Set as default.
Now you can launch jbart by double-clicking on jbart3h.jar file.
If your system is x64 Ububntu/Linux, you have to install 32-bit libraries for aapt.
sudo apt-get install lib32stdc++6 lib32z1