Premium Only Content
CSC 6710_ Exercise 01_ Brindha Duraisamy
Exercise 01: Step by Step to setup working environment
1) Download and install Java JDK
a. Download and install JDK: https://www.oracle.com/java/technologies/javase-downloads.html
b. Set Environmental variable
i. PATH = C:\Program Files\Java\jdk-16.0.2\bin
ii. JAVA_HOME = C:\Program Files\Java\jdk-16.0.2
c. Check java installation in command prompt
i. > javac
ii. > java
iii. > java -version
2) Download and install Eclipse IDE for Enterprise Java Developers
a. Download:
https://www.eclipse.org/downloads/packages/release/2018-12/r/eclipse-ide-enterprise-java-developers
b. Extract the zip file: C:\Program Files
c. Create Shortcut for eclipse in desktop
3) Download and install Apache Tomcat 9.0
a. https://tomcat.apache.org/download-90.cgi
b. Extract the zip file under the user folder: C:\Users\msi
c. Go to the tomcat bin folder: C:\Users\msi\apache-tomcat-9.0.52\bin
i. Run startup.bat to start the server
d. Open browser and check “localhost:8080” to see if tomcat local home page is loading
e. Create shortcut for startup.bat file in desktop
f. Open eclipse
i. Open menu: window -> show view -> others -> servers
ii. From Server window in eclipse click “create new server” link
1. Select Tomcat 9.0 and click okay
2. Test the server by right and start or double click to start server
4) Download Database exercise from GitHub and import into Eclipse IDE
a. Open GitHub :
i. https://github.com/shiyonglu/database
ii. Click Code -> Download Zip
b. Extract the downloaded zip file into eclipse workspace folder
c. Open eclipse
i. File -> import -> general -> Projects from folder or Archive
ii. Select Database folder extracted from GitHub
iii. Fix the check mark issues (Compilation issues)
1. Right on project Database -> select Properties
2. Go-to Java Compiler and select Java 16 from the dropdown menu
3. Go-to Project Facet and select Java 16 from the dropdown menu
5) In command prompt of src folder:
Compile the test1.java by using the command on Windows
javac -cp .;mysql-connector-java-5.1.32-bin.jar test1.java
6) Open VPN Global Protect and connect to WSU VPN network
7) Run the test1 program,
java -cp .;mysql-connector-java-5.1.32-bin.jar test1
-
30:18
Annamalai
3 years agoExercise 1
29 -
17:03
Annamalai
3 years agoExercise 2
19 -
20:09
effat
3 years agoexercise 2
12 -
8:36
effat
3 years agoexercise 1
16 -
14:36
The StoneZONE with Roger Stone
1 day agoRoger Stone Delivers Riveting Speech at Turning Point’s AMFEST 2024 | FULL SPEECH
94.4K24 -
18:59
Fit'n Fire
13 hours ago $5.89 earnedZenith ZF5 The Best MP5 Clone available
50.8K1 -
58:34
Rethinking the Dollar
22 hours agoTrump Faces 'Big Mess' Ahead | RTD News Update
40.8K5 -
5:35
Dermatologist Dr. Dustin Portela
22 hours ago $1.95 earnedUnboxing Neutrogena PR Box: Skincare Products and Surprises!
40.5K5 -
11:20
China Uncensored
21 hours agoCan the US Exploit a Rift Between China and Russia?
64.2K21 -
2:08:48
TheSaltyCracker
16 hours agoLefty Grifters Go MAGA ReeEEeE Stream 12-22-24
262K706