Chromebook

For anyone who has ventured into the realm of installing Crouton to your Chromebook to add some further functionality, the base install of Ubuntu is sadly lacking some vital functions for most users.

One of the most glaring omissions from a base install, is Java. In the defence of Linux, it’s a very basic installation as most Linux users have their own preference as to what version of most applications they want to install. It’s one of the beautiful things about Linux, much like Android; you can choose how your machine looks, feels and performs based on your needs and preferences.

How do I install Java on my Crouton Ubuntu machine?

Like the process to install Crouton, installing java is quite simple.

Inside the Crouton installation

  1. Open a Terminal window and run the following commands
  2. sudo apt-get install openjdk-7-jre
  3. sudo apt-get install openjdk-7-jdk
  4. sudo apt-get install icedtea-7-plugin
  5. Restart the XFCE instance

Restar
While not all users will want or need the Java runtime environment (jre) or the Java development kit (jdk) they do have some slight dependencies on each other which means that, as long as you have the space on your drive for all three and not just the browser plugin it’s worth the time to install them for stability.

Now that you have Java running nicely on your Chromebook, you can get into the important things in life.

Minecraft screen shot

Have you got any wants for your Chromebook that just aren’t there yet? Let us know in the comments below.

    14 Comments
    newest
    oldest most voted
    Inline Feedbacks
    View all comments
    moonetti úwù
    moonetti úwù
    1 year ago

    sooo…how do i restart XFCE..?

    moonetti úwù
    moonetti úwù
    Reply to  moonetti úwù
    1 year ago

    oh wait nvm lol

    Erika the Minecraftian
    Erika the Minecraftian
    4 years ago

    I am trying to use sudo apt-get install openjdk-7-jre

    This is what happens. Note that I tried doing it multiple times.

    Ethan
    Ethan
    Reply to  Erika the Minecraftian
    2 years ago

    Try sudo apt-get install openjdk-8-jre
    8 is the latest version

    Anon
    Anon
    4 years ago

    How do you go inside the crouton installation? Do you enter the shell? OR do you have to completely re-download crouton?

    courtney
    courtney
    4 years ago

    it does work for me…when it said open up a new terminal tab they ment the tab u get when u press ctrl+alt+t right cause thats what i did

    Britton Tree
    Britton Tree
    5 years ago

    I tried this in order to play minecraft. I tried opening the minecraft.jar file with OpenJDK 7 Policy Tool, which is the only program I could find, but it only opens up the policy tool program.

    Kaede
    Kaede
    5 years ago

    It didn’t work for me… Is this ONLY for XFCE? Because I’m using Unity on my C710

    Anon
    Anon
    6 years ago

    Thanks. Worked like a charm on my C720.

    Kevin
    Kevin
    6 years ago

    i want to have minecraft

    El3ktr0kill
    El3ktr0kill
    7 years ago

    i have the problem too with command not found help plaseeeee?!

    Arman
    Arman
    7 years ago

    how can I get the JDK 6 version of ubuntu. Is it the same command with a 6 instead of the 7?

    ryan
    ryan
    7 years ago

    how to get sony vegas for crouton

    Simon
    Simon
    7 years ago

    When I try to run the commands it says apt-get: command not found. Help please?