Just Make sure OptiFine is Selected in the Dropdown and press "Play"!
| | | | |

How to Install OptiFine on Chromebook (Update)

How to install OptiFine to Increase Performance on Chromebook (Minecraft)

Chromebooks aren’t usually fitted with the best hardware available. Unless you have a Pixelbook, your Chromebook probably doesn’t have the best specs on the market. Now, I find it important to mention that it doesn’t really need great specs, if you use your Chromebook the way it’s meant to be used, as a browser with a few low-resource apps. However, I will show you how to install OptiFine on Chromebook to fix that.

However, here at Info Toast, we like to void warranties and use Chromebooks the way they definitely aren’t supposed to be used. One of our most popular ways of doing this is running Minecraft on Chromebook. So, you’re probably going to want to install OptiFine after installing Minecraft on Chromebook by reading this article: UPDATE: How to Install Minecraft: Java Edition on a Chromebook.

A Note Before Heading Onwards

There are a few prerequisites to this article. We have tutorials for all of them. First of all, you will want to install Linux (Beta) by reading this article here: How to Install Linux on a Chromebook. Once you are done with that, read our article on how to install Minecraft: Java Edition on Chromebook here: UPDATE: How to Install Minecraft: Java Edition on a Chromebook. Once you are done with that, we can get started. Also make sure you have started the version of Minecraft you want to install OptiFine on your Chromebook on top of at least once before starting this tutorial.

Installing Prerequisites for OptiFine

The OptiFine installer requires Java to be installed. In order to do that, start by finding “Terminal” in your apps, open it and it will take you to your Linux terminal.

The Icon for your Linux Terminal on Chromebook
The Icon for your Linux Terminal on Chromebook

Once you have that open, you will want to type in the following commands:

sudo apt update
sudo apt install default-jre

This will install Java.

Downloading OptiFine

Now that you are done installing Java, you’re going to want to get the OptiFine jar. To do that, go to this site: https://optifine.net/downloads. You should see a webpage that looks like this:

The OptiFine Downloads Page for installing OptiFine on Chromebook
The OptiFine Downloads Page

If the version you are looking for has been released so far, you can download it the same way by pressing “(mirror)” next to the latest version available.

It should take you to a page that looks a little like this:

Click there. Don't click on any of the ads. They can be sketchy.
Click there. Don’t click on any of the ads. They can be sketchy.

Just click on the link with the red circle around it in the image. It will download the OptiFine installer. Close the page immediately after downloading because it will take you to random sites.

Installing OptiFine on Chromebook

Now that you have downloaded the installer, you should see it in your Downloads folder. Click on the jar file, which has many names depending on the version, but we’ll just call it “OptiFine.jar”, and press CONTROL+C. Go over to “Linux Files”, and press CONTROL+V. That will paste your OptiFine.jar into your Linux files. Once you are done with that, open up the Linux Terminal from earlier, and enter in the following command, subbing in “OptiFine.jar” for whatever your version of OptiFine is called:

java -jar OptiFine.jar

That will start the OptiFine installer on Chromebook. Next, just press “Install”, and then “OK” when it’s done.

The installer for installing OptiFine on Chromebook
Just press “Install”, and you’re done!

Running OptiFine

Once you have it installed, all you need to do is run it. Just open up “Minecraft Launcher”, and log in if you need to. Once you are at the main launcher screen, there should be a dropdown menu to the left of the Play button. Make sure OptiFine is selected, and just press Play! And that was how to install OptiFine on Chromebook.

Just Make sure OptiFine is Selected in the Dropdown and press "Play"!
Just Make sure OptiFine is Selected in the Dropdown and press “Play”!

Have fun!

Discord Server

Search Site

Frank

Similar Posts

10 Comments

  1. i get the error
    No protocol specified
    Exception in thread “main” java.awt.AWTError: Can’t connect to X11 window server using ‘:0’ as the value of the DISPLAY variable.
    at java.desktop/sun.awt.X11GraphicsEnvironment.initDisplay(Native Method)
    at java.desktop/sun.awt.X11GraphicsEnvironment$1.run(X11GraphicsEnvironment.java:102)
    at java.base/java.security.AccessController.doPrivileged(Native Method)
    at java.desktop/sun.awt.X11GraphicsEnvironment.(X11GraphicsEnvironment.java:61)
    at java.base/java.lang.Class.forName0(Native Method)
    at java.base/java.lang.Class.forName(Class.java:315)
    at java.desktop/java.awt.GraphicsEnvironment$LocalGE.createGE(GraphicsEnvironment.java:101)
    at java.desktop/java.awt.GraphicsEnvironment$LocalGE.(GraphicsEnvironment.java:83)
    at java.desktop/java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:129)
    at java.desktop/sun.awt.X11.XToolkit.(XToolkit.java:231)
    at java.base/java.lang.Class.forName0(Native Method)
    at java.base/java.lang.Class.forName(Class.java:315)
    at java.desktop/java.awt.Toolkit$2.run(Toolkit.java:588)
    at java.desktop/java.awt.Toolkit$2.run(Toolkit.java:583)
    at java.base/java.security.AccessController.doPrivileged(Native Method)
    at java.desktop/java.awt.Toolkit.getDefaultToolkit(Toolkit.java:582)
    at java.desktop/javax.swing.UIManager.getSystemLookAndFeelClassName(UIManager.java:661)
    at optifine.InstallerFrame.main(InstallerFrame.java:113)
    when running the java -jar command

  2. Umm… I have the optifine installed and all, but when I press play for it, it says “Unable to start Minecraft, Please check your configuration.”

  3. Can’t get Optifine to download, keep getting this

    Exception in thread “main” java.awt.AWTError: Can’t connect to X11 window server using ‘:0’ as the value of the DISPLAY variable.
    at java.desktop/sun.awt.X11GraphicsEnvironment.initDisplay(Native Method)
    at java.desktop/sun.awt.X11GraphicsEnvironment$1.run(X11GraphicsEnvironment.java:102)
    at java.base/java.security.AccessController.doPrivileged(Native Method)
    at java.desktop/sun.awt.X11GraphicsEnvironment.(X11GraphicsEnvironment.java:61)
    at java.base/java.lang.Class.forName0(Native Method)
    at java.base/java.lang.Class.forName(Class.java:315)
    at java.desktop/java.awt.GraphicsEnvironment$LocalGE.createGE(GraphicsEnvironment.java:101)
    at java.desktop/java.awt.GraphicsEnvironment$LocalGE.(GraphicsEnvironment.java:83)
    at java.desktop/java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:129)
    at java.desktop/sun.awt.X11.XToolkit.(XToolkit.java:231)
    at java.base/java.lang.Class.forName0(Native Method)
    at java.base/java.lang.Class.forName(Class.java:315)
    at java.desktop/java.awt.Toolkit$2.run(Toolkit.java:588)
    at java.desktop/java.awt.Toolkit$2.run(Toolkit.java:583)
    at java.base/java.security.AccessController.doPrivileged(Native Method)
    at java.desktop/java.awt.Toolkit.getDefaultToolkit(Toolkit.java:582)
    at java.desktop/javax.swing.UIManager.getSystemLookAndFeelClassName(UIManager.java:661)
    at optifine.InstallerFrame.main(InstallerFrame.java:113)

    1. Join the Info Toast discord for support. I can tell you now it’s most likely you’re using crouton instead of the Linux (Beta) Terminal.

  4. When I try to move the OptiFine jar file from downloads to linux files, it doesn’t let me. I have tried both dragging and dropping, along with copying and pasting.

  5. the command for optifine does not work in the linux beta terminal. I keep getting a ‘file could not be found’ or a ‘could not create Java Virtual Machine’ error. either this is cap or I’m just doing something seriously wrong.

Leave a Reply

Your email address will not be published. Required fields are marked *