Deliverables (what each student / group must submit for this epoch)

  1. Short README (in the project repo) stating installed versions (JDK, NetBeans, Tomcat, Git) and machine OS version.

  2. Screenshots (or short screencast) of:
  3. A Git repository initialized (can be private) with a top-level env-check/ folder containing the README and screenshots.

  4. (Optional) mvn -v output if students install Maven CLI.

Evaluation: Pass/Fail for correct setup; small points (5–10%) for timeliness and completeness.

Installation & verification:

1) Install JDK 1.8_231 (Java SE 8)

  1. Download JDK 8 (1.8.0_231 or equivalent) from a trusted provider (Oracle/Adoptium/etc.).

  2. Run the installer and install to the default path or a path such as:

1
C:\Program Files\Java\jdk1.8.0_231
  1. Set environment variables (recommended GUI method):

Option 1:

Option 2: Set via an elevated Command Prompt (one-line):

setx PATH "C:\Program Files\Java\jdk1.8.0_231\bin" /M
  1. Open a new Command Prompt (must be new to pick up env changes) and run:
java -version
javac -version

> Expected output should include 1.8.0_231 (or the JDK 8 build you installed).

2) Install NetBeans 13

  1. Download Apache NetBeans 13 installer and run it.
  2. Start NetBeans.
  3. Register the JDK inside NetBeans:
  4. Quick build test:

3) Install Apache Tomcat 10.0.23

  1. Download Tomcat 10.0.23 ZIP distribution, extract to:
1
C:\apache-tomcat-10.0.23
  1. Edit conf/tomcat-users.xml to allow NetBeans (manager) deployment. Add users and roles, for example: ```xml
1
2
3
4
5
6
7
8
- Save the file.

3. Start Tomcat:
- Double-click C:\apache-tomcat-10.0.23\bin\startup.bat or run as admin:

```cmd
cd C:\apache-tomcat-10.0.23\bin
startup.bat
  • Check console for errors.
  1. Open a browser to:
1
http://localhost:8080

You should see the Tomcat welcome page.

Firewall note: If Tomcat page fails to appear, open Windows Firewall settings and allow inbound TCP port 8080 or allow Java/Tomcat process.

4) Register Tomcat in NetBeans

  1. In NetBeans: Services → Servers → Add Server.
  2. Choose Apache Tomcat or TomEE → Next.
  3. Browse to Tomcat installation folder C:\apache-tomcat-10.0.23. Use the username/password you added in tomcat-users.xml (e.g., tomcatadmin / ChangeMe123!) if NetBeans asks. Finish.
  4. Start/Stop Tomcat from NetBeans and test deployment.

Deliverable check: Screenshot of NetBeans Services showing Tomcat and “Started” status.

NetBeans includes Maven, but you may want Maven on PATH:

  • Download Maven binary, extract to e.g. C:\apache-maven-3.8.x.
  • Add C:\apache-maven-3.8.x\bin to PATH system variable (Environment Variables).
  • Verify:
mvn -v

Expected: Maven version output and Java home pointing to your JDK.