Tag: 13.04

  • Java on Ubuntu 13.04 (Raring Ringtail)

    Installing Oracle Java on Ubuntu can be a pretty daunting task. After reading the Ubuntu documentation here:

    Java

    I came across this nice github project:

    oab-java6

    Simply run

    git clone https://github.com/flexiondotorg/oab-java6.git

    Then cd into oab-java6 and run

    sudo ./oab-java.sh

    This will set up a local apt repository for Sun Java 6 and Oracle Java 7. Now run

    sudo apt-get update

    to add the packages from the repository. As the documentation states, you can now run

    sudo apt-get install sun-java6-jre

    To install Java 6 runtime environment.

    One small thing to note:

    I had to run

    sudo update-alternatives --config java

    and select the Sun JRE since the system defaulted to IcedTea.

    Now do

    java -version

    to see what you have!

  • Install vmware tools on Ubuntu 13.04 (Raring Ringtail)

    I am doing this on server edition.
    First do an apt-get update, then apt-get upgrade to bring the entire system current. Then install build tools and kernel headers with the following command:

    sudo apt-get install build-essential linux-headers`uname -r`
    

    Now click on the Install VMWare Tools option on your Guest. On your VM, run the following command:

    sudo mount /dev/sr0 /mnt
    

    Then copy the tools image to the Guest:

    cp /mnt/VMwareTools-8.6.10-913593.tar.gz /tmp
    

    You may have a different version of VMwareTools. Now ruun the following commands:

    cd /tmp
    tar -xzvf VMwareTools-8.6.10-913593.tar.gz
    cd vmware-tools-distrib
    

    Now start the install:

    sudo ./vmware-install.pl
    

    I chose all the default values. I did not install any options marked [EXPERIMENTAL]. When the installer is searching for valid headers, I received an error that they could not be found in “”. So, a little searching and I found that some of the headers moved so:

    sudo ln -s /usr/src/linux-headers-$(uname -r)/include/generated/uapi/linux/version.h /usr/src/linux-headers-$(uname -r)/include/linux/version.h