title: Installing Jenkins on Ubuntu
body: <p>I am trying to install Jenkins on ubuntu 11.04</p>
  
  <p>I have installed Oracle Java</p>
  
  <pre><code>$:~$ java -version
  java version "1.8.0_05"
  Java(TM) SE Runtime Environment (build 1.8.0_05-b13)
  Java HotSpot(TM) Server VM (build 25.5-b02, mixed mode)
  $:~$ javac -version
  javac 1.8.0_05
  $:~$
  
  $ echo $PATH
  /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/lib/jvm/jdk1.8.0_05/bin:/usr/lib/hadoop/hadoop-1.2.0/bin/:/usr/lib/pig/pig-0.12.0/bin:/usr/lib/hive/hive-0.11.0/bin:/usr/lib/hbase/hbase-0.94.8/bin
  $:~$ echo $JAVA_HOME
  /usr/lib/jvm/jdk1.8.0_05
  </code></pre>
  
  <p>When I try to install, I have some dependency issues..</p>
  
  <pre><code>$ sudo apt-get install jenkins
  Reading package lists... Done
  Building dependency tree       
  Reading state information... Done
  Some packages could not be installed. This may mean that you have
  requested an impossible situation or if you are using the unstable
  distribution that some required packages have not yet been created
  or been moved out of Incoming.
  The following information may help to resolve the situation:
  
  The following packages have unmet dependencies:
   jenkins : Depends: daemon but it is not installable
             Depends: default-jre-headless but it is not installable or
                      java-runtime-headless but it is not installable
  E: Broken packages
  </code></pre>