In this section, we will cover installing Jenkins on both Windows and CentOS operating systems.
Go to http://www.oracle.com/technetwork/java/javase/downloads/index-jsp-138363.html and download the Java installer for either the 32-bit or 64-bit operating system and follow the wizard to install it.
Execute the java
and javac
commands from the command window to verify the installation.
If Java is not already installed on the system, then you can install it as follows:
- Find Java-related packages in the CentOS repository and locate the appropriate package to install by using the following code:
[root@localhost ~]# yum search java Loaded plugins: fastestmirror, refresh-packagekit, security . . ant-javamail.x86_64 : Optional javamail tasks for ant eclipse-mylyn-java.x86_64 : Mylyn Bridge: Java Development . . ...