Ubuntu 14.04: Programming Environments

This is a continuation of my Ubuntu 14.04 Install.  In the previous post, I covered all of my notes on installing network/Internet-related configuration.  In this post, I’ll cover setting up my programming environments and applications.  If you would like to see the list of posts in this series, you can look at the Ubuntu 14.04 Install page.


Ubuntu 13.04 Java

These are just some quick notes on the various Java programs that I install.  I’m sorry the notes are not very complete.  I’ll do better next time, but I thought these notes might still have some value.


Java FX + Eclipse + Ubuntu

I have wanted to play with using Java FX for some of my programs, but it hasn’t been easy to work with in either Eclipse or Linux.  This time though, with the help of some other articles across the Internet, I was able to get a small sample  Java FX program running from Eclipse.  Here’s my notes from my explore:


Posted in Eclipse. 3 Comments »

Building an Eclipse Plug-in Project Wizard

I found this really great article at Hidden Clause called Writing an Eclipse Plug-in (Part 2): Creating a custom project in Eclipse – Adding to the New Project Wizard.  My only problem with it is that I am using a newer version of Eclipse, and I really needed screenshots to understand what it was talking about.  So, here’s my experience at walking through that tutorial… (more…)

Posted in Eclipse. No Comments »

Installing Eclipse on Ubuntu 12.10

I use Eclipse for my Java Development.  So, here’s what I went through to install it


Ubuntu 12.04: Installing Java from Runtime to Complete Development Environment

Installing Java was pretty straightforward and easy this go-around.  Since the runtime was so easy, we’ll let this post go through installing all the different pieces for a complete development environment: Eclipse, Android SDK, JavaFX SDK, etc.

So, here’s what I did…


Fixing Issues with Android ADT Plugin

I have been having trouble using my Android Development Tools ever since I upgraded my Eclipse.  Here is what I went through:

Some possibilities:

First, I tried to uninstall the plugin, and that was quite challenging.  I finally found this article that explains how to do it.

  • Go to the Help > About Eclipse dialog
  • Click the “Installation Details” button
  • Click on the plugin in the list on the first tab.  (You have to do each Android plugin individually)
  • Click the Uninstall button at the bottom of the screen
  • Click finish in the next dialog
  • Once uninstalled, I clicked “Not Now” to repeat the process without rebooting.  After uninstalling all the Android plugins, I clicked the “Restart Now” button.

Next, I opened the Error Log view with Window > Show View > Error Log.  I clicked on the Clear Log Viewer so that I could see only the new messages.  Then, I installed just the first Android plugin from the Update Site.

When the plugin install opened the restart dialog, I still didn’t see any messages in my Error Log view.  So, I just clicked “Restart Now”.  Even after the restart, I didn’t see any messages relating to the install.  Doesn’t make sense!

So, let’s try the permission thing.  I am copying the security over to make the eclipse directory accessible to everyone:

sudo chmod g=u -R /usr/lib/eclipse
sudo chmod o=u -R /usr/lib/eclipse

Note, I found the chmod command option to copy the permissions from a PDF that Google turned up.

After that, it worked!  So, I guess it really was a security issue.  I can see the DDMS option in the Preferences and the DDMS Perspective can be opened from the Window menu.

Upgrading Eclipse to 3.6

I just realized while trying to install Visual Editor, that Eclipse has a new version.  I am using 3.5, but 3.6 is available.

I could just download eclipse from their website, but that would be too easy!  I guess I was hoping that if I use the repository, the packaging team would keep it up to date.

I found this thread discussing upgrading.  They say it doesn’t work, but I thought I would give it a try myself.  Worst cast, I could download it manually like #11 describes.

So, I went to Synaptic and opened the Settings > Repositories.  Then, I added the repository:

deb https://launchpad.net/~eclipse-team/+archive/debian-package lucid main

When I clicked Reload on Synaptic, I got this error message:

Failed to fetch https://launchpad.net/~eclipse-team/+archive/debian-package/dists/lucid/main/binary-amd64/Packages.gz  The requested URL returned error: 404
Some index files failed to download, they have been ignored, or old ones used instead.
Failed to fetch https://launchpad.net/~eclipse-team/+archive/debian-package/dists/lucid/main/binary-amd64/Packages.gz  The requested URL returned error: 404Some index files failed to download, they have been ignored, or old ones used instead.

I wonder if it is because I am running the 64bit version of Ubuntu.

Anyway, since it didn’t work, I downloaded eclipse from the Eclipse website.  Then, I extracted the tar ball into my Downloads directory.  From the command line, I changed directory into the newly created eclipse directory.  Then, I ran this command to copy it to /usr/lib —

sudo cp -r * /usr/lib/eclipse/

One thing to keep in mind is that you probably want to write down what extensions you have installed and the sites so that you can reinstall them.


Ubuntu Forums: Update Eclipse 3.5 to 3.6

Posted in Eclipse, Java. No Comments »

Google Code and Mylyn

Since I am using Eclipse with my Google Code projects(Project Shaphan & Project Sarah), I did some research to see if I could connect Mylyn and found this project: GoogleCode Mylyn Connector.

To install it, I had to add this URL to the install sites:


Then, it installs through the Eclipse installation tool.

Next, I added a repository with the “New Task” menu on the right side of the Tasks view.  This walks through the wizard.

  • Step 1: Select repository type: Google Code
  • Step 2: Repository Settings
    • Project URL: http://code.google.com/p/project-shaphan/
    • Label: Project Shaphan (I believe this is the label you will see on the category)
    • Unchecked “Anonymous” (since I am the owner of the project)
    • entered user name and password
    • clicked “Validate Settings”
    • Clicked Finish
  • Yes to create a new query
  • Use a predefined query — All open issues

For some reason, I get the following error: “could not execute query”.  Then, I found this Issue.  The solution is to use the regular Google Account user name and password that you would use to login to GMail as opposed to one you would use to connect via SVN.

Eclipse Labs

I ran across this InfoWorld article announcing a place for new Eclipse projects:

InfoWorld: Eclipse partners with Google on projects portal

So, you can check out the new portal here:

Eclipse Labs

While we are at it, I also ran across this new tool for Eclipse from Google itself:

Workspace Mechanic