![]() ![]() If you are using the 32-bit version, you'll type something like this: sudo cp -r /usr/local/java/). Also note that this is the 64-bit version. Make sure you are using the correct file. sudo cp -r jdk-8u20-linux-圆4.tar.gz /usr/local/java/ (note that the numbers of the file might be different than what I've typed. Step 5: Copy the files into your new directory. if you have a 64-bit system, download the 64-bit version). Make sure you download the correct one (i.e. Step 4: Download the Oracle Java JDK for Linux. You also need somewhere to put java when we install it. This command will completely remove OpenJDK/JRE from your system. If you have OpenJDK installed on your system, you have the wrong vendor version of Java installed. OpenJDK 64-Bit Server VM (build 19.0-b09, mixed mode) OpenJDK Runtime Environment (IcedTea6 1.10pre) (7b15~pre1-0lucid1) If you have OpenJDK installed on your system it may look like this: Step 2: Check if you have java already installed (which I don't think you do). All commands will be in terminal unless otherwise specified (the rest of the commands will be assuming you use a 64-bit system). You can do this by typing file /sbin/init in terminal. Step 1: check to see if your Ubuntu is 32-bit or 64-bit. Just a heads up because I had to do it for some weird reason. After entering your password, it should update your certificates and after running it again it should then work. If you get some weird bugs in your window, open the terminal again (Ctrl+Alt+T) and run this: sudo update-ca-certificates -freshĪnd press enter. Just make sure that executable checkbox is checked. If it still doesn't run, then reboot and try double-clicking again. ![]() Try double-clicking on the minecraft.jar file again. That should install the basic java runtime. Then type the following pressing enter after each line (enter your password if asked): sudo apt update An easy way to do that is to open a terminal window by pressing Ctrl+Alt+T. If you get any kind of error, you may need to install Java. If java is installed, it should start the launcher. Click on the Permissions tab and look down the list where it says Execute: Make sure the box is checked for "Allow executing file as a program." Close the properties window and now try double-clicking the Minecraft.jar file. Use your file manager to find the Minecraft.jar and right-click on it. ![]()
0 Comments
Leave a Reply. |