Java/J2EEDevelopment Environment
- Install JDK
- Setup & Configure Eclipse IDE
- Setup Apache Tomcat/JBoss Server
- Setup Apache Maven
- Setup JUnit
- Setup Hudson/Jenkins
- Create a GitHub account for the code repository.
1. Install a Java Development Kit (JDK)
- Browse to Oracle’s Java SE Development Kit downloads
- In the section titled Java SE Development Kit 9.0.1, read the license and, if you agree, click Accept License Agreement
- Click on jdk-9.0.1_windows-x64_bin.exe (or the right download for your OS)
- Run the downloaded JDK installer using Run As Administrator
- Add the Windows (or Linux) Environment Variable JAVA_HOME. Set it to the root folder of your newly-installed JDK, which for me is C:\Program Files\Java\jdk1.9.0.1
2. Install Eclipse Oxygen for Java EE
- Browse to Eclipse Downloads
- Click on the Download button under Get Eclipse.
- On the resulting page, click on the Download button. (Note: 32-bit or 64-bit must match your installed JDK. If you installed JDK-9.0.1_windows-x64 above, so download the 64-bit Eclipse.)
- Run the downloaded installer using Run as Administrator.
- Choose the version of Eclipse you wish to install. I prefer Eclipse IDE for Java EE developers for Java work.
3. Setup Apache Tomcat Server
- Download Apache Tomcat from this link. I’m using version 9.0.10.
- Extract it to a folder
- Open Eclipse Environment -> Click on Server Tab->
Click on No servers are available -> Click this link to create a new server...->Click Tomcat v9.0 Server and Next - Select the Apache Installation directory and Click Finish
- You should see the Tomcat v9.0 Server at localhost [Stopped, Republish] under the server tab. Double-click on it to verify HTTP port information. By default, the HTTP port is 8080.
- Now right-click on Server and click Start.
4. Setup Maven with Eclipse as an Embed Program (if Maven is not available with your Eclipse)
- From the Eclipse Help menu, select install new software
- In the pop-up dialog, enter Name: m2e, Location:
http://download.eclipse.org/technology/m2e/releases press OK - In the available Software dialog, press Select All-> press Next
- In Install Details, press Next
- Review and accept the Licenses -> Press Finish
5. Setup JUnit with Eclipse (if Junit is not available with your Eclipse)
- Download the latest version of the JUnit jar from https://junit.org/junit5/
- Open Eclipse > Right-click on the project and click on property > Build Path > Configure Build Path and add the junit-5.4.2.jar in the libraries using the button Add External Jar.
6. Configure Jenkins
- Go to Help | Install New Software
- Add a site for Mylyn Integrations and click on Next
- Review the items to be installed and click on Next.
- Accept the terms of the license agreement, click on Finish
- Once finished, restart Eclipse
- In the Windows menu, click on Views
- Select Mylyn and click on Builds, click Ok
- In the Builds section, click on the build server link
- Select Hudson (supports Jenkins) and click on Next
- Provide Jenkins Server, User, and Password; click Finish
- Find the list of jobs in the Build section
- Select any job and click on Run Build
2. Python Development Environment
- Download and install Anaconda for your OS from https://www.anaconda.com/distribution/
3. Android Development Environment
- Download and install the latest version of Android Studio for your OS
0 comments:
Post a Comment