Installing Jenkins on Ubuntu
java, jenkins
Solution
to work install Jenkins they request Java versions greater than 1.8.0_1. I got hte same error and I updated java to below version
java -version
java version "1.8.0_121"
Now jenkins installing without errors Below link worked for 14.04 (hope it works for 11.04 too) Install Java version in ubuntu
Problem
I am trying to install Jenkins on ubuntu 11.04 I have installed Oracle Java ``` $:~$ 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 ``` When I try to install, I have some dependency issues.. ``` $ 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 ```