5 Tips that You Must Follow Before Learning Java Game Development


The idea of engaging in something new and complicated is fun, but when things don’t turn on time then it can become a frustrating task. If you are planning to explore the enticing world of java game development, I would suggest you to first go through these tips that will definitely help you throughout your learning and execution process.

Continue reading “5 Tips that You Must Follow Before Learning Java Game Development”

Advertisements

Solved: -Dmaven.multiModuleProjectDirectory system property is not set


When we try to run Maven Project from Eclipse IDE, then we may encounter error such as -Dmaven.multiModuleProjectDirectory system propery is not set. Check $M2_HOME environment variable and mvn script match.

Interesting Books on Jenkins and DevOps… Have a look at it:

Solution:

1) Open Eclipse IDE
2) Go to Window-> Preference -> Java -> Installed JREs
Continue reading “Solved: -Dmaven.multiModuleProjectDirectory system property is not set”

Jenkins Essentials: Continuous Integration – setting up the stage for a DevOps culture


In agile development practices, developers need to integrate their work frequently to fix bugs or to create a new feature or functionality. To integrate all work efficiently and verify it is an error-prone and time-consuming manual task. Jenkins is used specifically for continuous integration, helping to enforce the principles of agile development. Continue reading “Jenkins Essentials: Continuous Integration – setting up the stage for a DevOps culture”

Location of Maven repository in Windows & Linux


Location of Maven repository

Maven repository is a folder located in system that stores all project’s dependencies  such as jars, pom.xml, and other files which are downloaded by Maven.

Wheb user execute and mvn target, all dependency files will be stored in your Maven repository in local system.

By default, Maven local repository’s name is .m2

In Windows, Location of Maven repository is C:Users<<login user name>>.m2

In Linux Location of Maven repository is /root/.m2 (Go to root, Press ctrl+h to display hidden files)

Cloud Computing – Download Free EBooks and Whitepapers
Java – Download Free EBooks and Whitepapers
Windows – Download Free EBooks and Whitepapers

Download Jenkins Plugins


Download Jenkins Plugins without compiling source code

I have recently started working on Jenkins and faced many difficulties to download source code from Git and compile them using Maven.

Due to Internet Connection restriction, It was difficult to download source code and run mvn package command that download many jar files from remote repository to your local repository to run source files and create .hpi file in target folder.

To download ready made .hpi file of Jenkins Plugin use https://updates.jenkins-ci.org/download/plugins/

Happy Downloading and Happy Jenkinsing!

Cloud Computing – Download Free EBooks and Whitepapers
Java – Download Free EBooks and Whitepapers
Windows – Download Free EBooks and Whitepapers

How to Install Jenkins on Windows 8 and Linux


To Install Jenkins on Windows 8 and Linux, CentOS, Ubuntu and Other Linux Distribution follow the below steps

Cloud Computing – Download Free EBooks and Whitepapers
Java – Download Free EBooks and Whitepapers
Windows – Download Free EBooks and Whitepapers

Download Jenkins from http://jenkins-ci.org/

Download Link is – http://mirrors.jenkins-ci.org/war/latest/jenkins.war

Install Java

Set JAVA_HOME in Environment Variable

Execute java –jar Jenkins.war

C:>java -jar jenkins.war
Running from: C:jenkins.war
webroot: $user.home/.jenkins
21 May, 2014 12:55:22 AM winstone.Logger logInternal
INFO: Beginning extraction from war file
21 May, 2014 12:55:27 AM org.eclipse.jetty.util.log.JavaUtilLog info
INFO: jetty-8.y.z-SNAPSHOT
21 May, 2014 12:55:39 AM org.eclipse.jetty.util.log.JavaUtilLog info
INFO: NO JSP Support for , did not find org.apache.jasper.servlet.JspServlet
Jenkins home directory: C:Usersmitesh.jenkins found at: $user.home/.jenkins
21 May, 2014 12:55:41 AM org.eclipse.jetty.util.log.JavaUtilLog info
INFO: Started SelectChannelConnector@0.0.0.0:8080
21 May, 2014 12:55:41 AM winstone.Logger logInternal
INFO: Winstone Servlet Engine v2.0 running: controlPort=disabled
21 May, 2014 12:55:41 AM jenkins.InitReactorRunner$1 onAttained
INFO: Started initialization
21 May, 2014 12:56:13 AM jenkins.InitReactorRunner$1 onAttained
INFO: Listed all plugins
21 May, 2014 12:56:13 AM jenkins.InitReactorRunner$1 onAttained
INFO: Prepared all plugins
21 May, 2014 12:56:13 AM jenkins.InitReactorRunner$1 onAttained
INFO: Started all plugins
21 May, 2014 12:56:13 AM jenkins.InitReactorRunner$1 onAttained
INFO: Augmented all extensions
21 May, 2014 12:56:13 AM jenkins.InitReactorRunner$1 onAttained
INFO: Loaded all jobs
21 May, 2014 12:56:19 AM org.jenkinsci.main.modules.sshd.SSHD start
INFO: Started SSHD at port 53167
21 May, 2014 12:56:19 AM jenkins.InitReactorRunner$1 onAttained
INFO: Completed initialization
21 May, 2014 12:56:19 AM hudson.TcpSlaveAgentListener <init>
INFO: JNLP slave agent listener started on TCP port 53168
21 May, 2014 12:56:19 AM hudson.WebAppMain$3 run
INFO: Jenkins is fully up and running
Effective SlaveRestarter on master: null

Visit http://localhost:8080/manage

jenkins Dashboard

Done!

Install Maven on Windows 8


Maven on Windows 8

Download Apache Maven from http://maven.apache.org/download.cgi. Different versions are available so user can select the version as per need.

Extract the files from the compressed file of apache-maven-3.2.1-bin.zip

Add Two Environment Variables, M2 and M2_HOME

Cloud Computing – Download Free EBooks and Whitepapers
Java – Download Free EBooks and Whitepapers
Windows – Download Free EBooks and Whitepapers

Right Click on My Computer and select Properties

My Computer Properties

Click on Advance System Settings

Advance System Settings

It will open System Properties Dialogue box; click on Environment Variables

System Properties

Click on New and set M2_HOME

M2_HOME

Set M2

M2

M2 and M2_HOME

Edit PATH by appending C:apache-maven-3.2.1bin

Path Variable

Open the Command Prompt again and execute mvn –version command

mvn version command

Done!