Search This Blog

Saturday, 16 August 2014

Install Oracle Java JDK on Ubuntu 14.04

  1. Download the JDK from Oracle.
  2. Extract the file to /user/lib/jvm.
  3. Change the owner to root:
    chown -R root:root jdk1.8.0_11*
  4. Install java, javac, etc..:
    update-alternatives --install /usr/bin/java java /usr/lib/jvm/jdk1.8.0_11/bin/java 1065
  5. Setting the system's java version:
    update-alternatives --cofig java
  6. Testing the java installation:
    java -version

Thursday, 14 August 2014

Upgrade Ubuntu 12.04 LTS to 14.04 LTS (emacs problems)

I did a direct upgrade from Ubuntu 12.04 LTS (Precise Pangolin) to 14.04 LTS (Trusty Tahr) using the "Update Mangager". As usual a few things went not so nicely ...

During the upgrade the  following error message was shown:

 I closed this message and continued the upgrade. After all packages were updated the system needed a reboot. At the first boot the system was complaining that my video card (nvidia) could not be configured properly. I chose the "configure now" option, however the screen froze finally. A reboot by pressing the on/off button made disappear this problem magically.

The classic Gnome desktop is now called "GNOME Flashback" session. It seems to work fine right out of the box.

When I checked the update manager, I have seen that the upgrade could not be completed due to the previous emacs problem. It seems to be a bug similar or equal to this one. I could finish the upgrade when I deleted the scripts in  /usr/lib/emacsen-common/packages/install .

As usual one needs to reactivate the third party software sources in "System Tools" -> "Administration" -> "Software Sources" -> Other.


Unfortunately some messages "System program problem detected." persists:
These can be removed with:
sudo rm /var/crash/*