Posted in Java

How to set up Java Application Development Environment on Windows 7


More than 6.5 million software as well as web professionals around the world is using Java Application Development platform to develop scalable and robust enterprise-level applications. It has been widely used by the software companies for developing different applications.

Apart from professionals, Java has created buzz in many newbie developers or students, the write an essay on programming due to its flexible, compatible and productive nature. Today, there are many developers getting into the Java Application development to leverage from its rising popularity and demand in various industry domains. However, most of the newbie developers don’t know how to set up a Java development environment, specifically in windows 7.

Continue reading “How to set up Java Application Development Environment on Windows 7”

Advertisements
Posted in Java

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”

Posted in Java

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”

Posted in Ant, Cloud Computing, DevOps, Java, JBoss, JEE, Jenkins

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”

Posted in Java, JEE

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
Posted in Java, JEE, JEE / J2EE / JSP / Servlets

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
Posted in Java, JEE, JEE / J2EE / JSP / Servlets

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!