Installing Eclipse on a Chromebook
December 23, 2018
December 23, 2018
We’ve recently been experimenting with trying to do development work on Chromebooks. Because most of the work we do is in the cloud and we have the capability for elastic compute and unlimited disk, could we save a couple thousand dollars by using a Chromebook as a primary ‘work’machine? After playing with it for about a day, it seems to be working pretty well.
Our first task was to get an IDE installed. Although there are browser-based IDE’s out there like Repl.it, Codenvy, CodeAnywhere and Cloud9, we wanted something local that we could run when possibly there as no Internet connection. We’re big fans of Eclipse so step 1 was to get that installed. Here’s what we did.
- Open the Settings by clicking on the clock and then on the little gears icon.
- In the settings, look for the section called Linux (Beta) and click it
- You will be presented with a screen similar to the one below. Click the install button.
After a few minutes, you’ll have a nice container installed on your machine that runs Linux! To access it, in your Applications menu, find the Terminal app
- Open the Terminal app. The first thing we’ll do is install Java.
- Make sure Java is installed with a simple version check.
- Now we are ready to download and install Eclipse. The first part, download, is easy. Open Chrome and go to the eclipse.org site and download Eclipse to your Chromebook. The way Linux is setup on the Chromebook is that it is installed as a container. So the disk is separated from the disk of the actual machine. Once the download is complete, you’ll need to copy the Eclipse file to your Linux drive. Do this by opening the Files application, going to your Downloads directory and drag and drop the eclipse file to the ‘Linux Files’ area.
- Head back to your Terminal app and you should see the file in your home directory. From here, the install is just like any regular machine.
1234tar -xvzf eclipse-inst-linux64.tar.gzcd eclipse-installer/./eclipse-inst
- After you have completed the install, there is one caveat. Generally, when installing Linux apps, they appear in your Application list. Eclipse doesn’t do that. In this case, it is installed into your home directory and to open it up you need to run
After hitting enter, Eclipse will open right up. Enjoy!
Advanced Data Engineering Platform for Cleansing, Preprocessing and Analytics