UPDATE: How to Install OptiFine on Chromebook
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, 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 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.

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:

As of the time of writing this, OptiFine is not out yet for the latest version (1.16.1), but you can download a preview build. If you go up to the top and click “Preview Versions”, you should see the latest version of 1.16.1 or whatever version of Minecraft you are looking for. Then, press “(mirror)” to go to the Download page. I recommend pressing “(mirror)” because otherwise, it will take you through a sneaky adfly site, which can a lot of the times contain viruses.

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:

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
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. Next, just press “Install”, and then “OK” when it’s 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!

Have fun!
- How To Mount a Directory to Another Location – Linux/BSD - January 12, 2021
- My Top Critiques of Linux - December 29, 2020
- My Tech Brand Loyalties - December 17, 2020
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
Please join the Discord server for support. I’ll take a look and see what I can do.
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.”
Hello. Please join our Discord and I can help you more: Discord Invite