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.

Web Browser Plugin

I installed Open JDK 7 and the Web Browser Plugin:

Installing the Open JDK

WebEx

WebEx worked fine after installing the Java plugin.  I was able to share my desktop with no problem.  The only thing that didn’t work was using my audio:

No Audio in WebEx

I was pointed to another article that suggested installing the pango library.  I checked, and I already have that library installed:


skp@pecan:~$ locate libpango
/usr/lib/i386-linux-gnu/libpango-1.0.so.0

Furthermore, it looks like that is more for displaying the desktop than fixing the audio device issue.

Eclipse

I downloaded the latest 4.2.2 version (3.8 is version in the Software Center) from the Eclipse Website.  I just downloaded the Java EE, 64-bit version.

I had downloaded it in the download folder.  So, I just extracted it there:

cd ~/Downloads
tar -xzvf eclipse*.tar.gz

Then, I copied it to /usr/share:

sudo cp -r eclipse /usr/share/

Rather than put the eclipse binary on the path, I did a symbolic link to put it in the /usr/bin directory:

sudo ln -s /usr/share/eclipse/eclipse /usr/bin/eclipse

Next, I created the icon so that I could create the Menu shortcut.  I had to convert the xpm:

cd /usr/share/eclipse/
sudo convert icon.xpm -resize 48x48 /usr/share/icons/eclipse.png

Then, I opened the Main Menu program and added a new Item in the Programming section:

Eclipse Launcher

After that, Eclipse launched fine.  I am getting a little lazy, and rather than, documenting installing the plugins, let me just point you to my old post for screenshots.  The short end is that I just added this site:

http://download.eclipse.org/releases/juno/

And, I added these plugins:

  • Collaboration > Eclipse EGit
  • Collaboration > Eclipse EGit Mylyn GitHub Feature
  • Collaboration > Eclipse EGit Mylyn
  • Collaboration > Mylyn Context Connector: Eclipse IDE
  • Collaboration > Mylyn Context Connector: Java Development
  • Collaboration > Mylyn Context Connector: Plug-in Development
  • Collaboration > Mylyn Task List
  • Collaboration > Mylyn Task-Focused Interface
  • Collaboration > Mylyn Versions Connector: Git
  • General Purpose Tools > Swing Designer
  • Web, XML, Java EE and OSGi Enterprise Development > Eclipse Web Developer Tools
  • Web, XML, Java EE and OSGi Enterprise Development > Eclipse Java Web Developer Tools
  • Web, XML, Java EE and OSGi Enterprise Development > Eclipse XML Editors and Tools
  • Web, XML, Java EE and OSGi Enterprise Development > Javascript Development Tools
  • Web, XML, Java EE and OSGi Enterprise Development > PHP Development Tools

Java FX

I installed Java 7 with Web Upd8′s method.

sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java8-installer

I installed the Scene building by downloading the DEB package from Oracle’s website.

Downloading the JavaFX Scene Builder

When it installed, it complained about the “quality” of the package, but otherwise, it gave me no trouble:

Ubuntu Software Center_076

Finally, to make developing with Java FX easier, I installed the e(fx)clipse plugin for Eclipse.  Their install page is pretty good and detailed.  I just added the Site URL to Window > Preferences under Install/Update > Available Software: http://downloads.efxclipse.org/p2-repos/releases/latest/

Adding efxclipse site url

Next, under Help > Install New Software, I selected the new Site URL.  This time, I just selected to install these 3 options:

  • e(fx)clipse – Composite – FX Tooling
  • e(fx)clipse – Single – Indigo & Juno PDE Support
  • e(fx)clipse – Single – PDE support for e4

Installing efxclipse

Android SDK

I downloaded the SDK from Google’s Website.  I simply extracted the compressed file and placed it in my App directory.

Installing SDK folder

Then, in Eclipse, I added the URL Site: https://dl-ssl.google.com/android/eclipse/  After that, I could install the Plugin for Eclipse:

Eclipse Plugin Installation for Android SDK

Finally, under Window > Preferences and the Android section, I was able to set the Android Home directory to the SDK folder where I extracted the SDK.

Setting the Android Home Directory

Leave a Comment

Your email address will not be published. Required fields are marked *