How to Download and Use Java on Chromebook?

As we all know, Chromebooks are the next advancement in the field of technology like smartphones, PCs, TabletsChromebooks are designed in order to just fill the basic tech needs. It just differs in terms of OS compared with PCs. The former is of Chrome OS, the latter is of Windows or macOS. Java is the helping hand programming language in the field of app developing and building. If you have Chromebook and wanna adds Java? Then, follow this article on How to Install and Use Java on Chromebook.

Also, Read out: Take Screenshot on Asus Chromebook

What is Java? 

Java on Chromebook

Java is a programming language. It is class-based and object-oriented. It runs on write-once, runs anywhere (WORA). Using Java helps you run the compiled Java code easily rather than recompiling it on all the platforms you run( provided the platform should support Java). It was introduced in the year 1995 by James Gosling at Sun Microsystems (a subsidiary of Oracle).

Java is compatible with Nokia, Motorola, Sony Erickson, Samsung, Windows, Linux, macOS, Solaris.

What are the features of Java?

Java is more useful and compatible because of its features. Some of the noteworthy features of Java are:

  • Object-oriented
  • Distributive design
  • Dynamic compared to C and C++
  • Performance is high
  • Interpreted
  • Architecture-neutral object file format
  • Portability
  • Eliminates error-prone
  • Multithreaded
  • Robust
  • Secured
  • Independent Platform
  • Simple

And many more to ponder upon.

What are the uses of Java?

Java is very much useful for developing and building applications. Via Java apps can be built for various devices such as PCs, Blu-ray players, monitoring devices, smartphones, terminals at the lottery, parking meters, etc. It is also helpful in the field of Web-based data. With Java, we can create miniature programs as well.

Where is Java applies in real life?

  • Application Servers
  •  Big Data Technologies
  • Cloud-based Applications
  • Desktop GUI Applications
  • Distributed Applications
  • Embedded Systems
  • Enterprise Applications
  • Gaming Applications
  • Mobile Applications
  • Scientific Applications
  • Software Tools
  • Web Servers

You can also read out: Zoom on Chromebook

How to Download Java on Chromebook?

Java on Chromebook

Step1: Turn your Chromebook to the developer mode.

Step2: Login to your device.

Step3: You will be taken to the open the command shell.

Step4: Now, Press Ctrl+Alt+T keys, it will open the Crosh shell.

Step5: To open the full Bash shell, type ‘shell’.

Step6: You can now run commands as “roots” with Sudo via your ordinary account.

Step7: Now, enter “sudo su” and click Enter on your Chromebook’s keyboard.

Step8: You’ll be asked for the password.

According to your Chrome OS, the password may be:

  • Chrome
  • Face punch
  • Chronos
  • Password

The password may vary if you have set your own shell password. So, type the password you have set already.

Step9: To make the system file writable, enter “mount -o remount, exec, rw/” and tap the Enter button.

Step10: Now, type “cd /home” and click Enter button.

Step11: Java 8 starts to download from Oracles website.


  • For 32-bit device: Enter “wget…undleId=106238 -Ojre.tar.gz” and tap Enter.
  • For 64-bit device: Enter “wget…undleId=106240 -Ojre.tar.gz” and tap Enter.

Step13: To extract the Java 8 file that is downloaded, Enter “tar zxvf jre.tar.gz” and tap the Enter button.

Step14: Enter “mv jre1.8* /bin” and click Enter button.

Step15: Enter “cd/bin” and click the Enter button; this will open the executable folder on your Chromebook.

Step16: Enter “1n -s/bin/jre1.8.0_45/bin/java/bin/java” and tap Enter button.

You should replace the number “45” by the number of the Java version on the Java website.

Step17: Enter java-version in the shell as the name of the version of the Java that is installed newly.

How to enable Javascript on Chromebook?

Step1: Navigate to and click your Profile picture on your Chromebook.

Step2: By tapping the gear icon, you will reach to the Chromebook Settings.

java on chromebook

Step3: Navigate to Show Advanced Settings and tap it.

java on chromebook

Step4: Go to the Privacy Settings and tap on the Content Settings option.

java on chromebook

Step5: On the pop-up window, tap on the checkbox stating Allow all sites to run Javascript (recommended).

java on chromebook

Step6: Javascript has been enabled successfully.

Also, Checkout Netflix on Chromebook

The EndNote

To end, though Java is very much user-friendly, it is kind of unstable and is sometimes incompatible with Chromebook. This is because Chromebooks are only for basic use. Rather than installing Java, it is better to enable Javascript through Settings. This is easier and problem-free. Since Java is easy to learn and code, people prefer Java. The same applies here in getting Java on Chromebook. Hope this article is helpful.

Thank you for reading.