I would like to know how to install java and minecraft (Download Linux Version Here)
2 Answers
You must installed java on your system to install .jar files.Syntax to install .jar files was,
java -jar packagename.jar
In this case,you have Minecraft.jar file,so type the below command in terminal
java -jar Minecraft.jar
- 80,446
Install .tgz file
first you need to extract the archive. Command is;
sudo tar xzvf Example.tgzor you can right click the file and give "Extract Here" option in Menu.
Then read and follow the README or INSTALL text file inside the extracted archive to install.
Most of the time, the steps to install are 1.
./configure2.make3.make install(You need to run them inside the folder directory of the extracted archive.)
Or you can open the file via Synaptic Package Manager and install through it.
Install .jar file
.jar files actually not needed to install. Just need open with java to run.
Right click the file and select "Open with java(-6/7/8)-openjdk" in menu. Or you need to select "Properties" and select to open with java.
If in command line, can open with xdg-open Example.jar or java -jar Example.jar