Upload
dhiraj-singh
View
219
Download
0
Embed Size (px)
Citation preview
8/4/2019 Instructions to Run the Project
1/3
Instructions to run the project
1) The project contains files/folders as follows:
Source Code Files: - ServerOnline.java, ConnectDatabase1.java, and
ClientOnline.java
Database File: - Online Exams.mdb (Microsoft Access Database)
Question and Answers Folder: - It contains images of the questions whosepath is located in the database.
Other Images and MP3 files
2) Go to the websitehttp://java.sun.com/javase/downloads/index.jsp
Download Java SE Development Kit (JDK) 6 from the above mentioned
website. Check your machine configuration and download the software
accordingly.
3) Install JDK on machine in C:\program files\. After installation find files like
javac, java and appletviewer under c:\program files\java\jdk1.6.0\bin. Thisensures complete installation of your product as these files will help you in
executing the Project.
4) Now you need to set the Data Source i.e. to load the driver for accessing
MSAccess database from Java.
Open Administrative tools from Control Panel.
Now open Data Sources (ODBC) from there.
Click on Add from the new window opened.
Locate driver named Microsoft Access Driver (*.mdb) and then click
Finish.
Type Data Source Name as OnlineExams. Notice case senstitvity.
Now locate the database stored in D:\varun\ from Select button in thesame window. And when database is selected you will see the path of your
database under Database: of the same window.
Click Ok everywhere to confirm the actions made.
http://java.sun.com/javase/downloads/index.jsphttp://java.sun.com/javase/downloads/index.jsp8/4/2019 Instructions to Run the Project
2/3
8/4/2019 Instructions to Run the Project
3/3
Java ClientOnline
You see a window that opens up which shows the subjects and class. You
can select any class and subject and click on Connect to Database to
start the test. Right now only class 10th
and Biology/Mathematics can beselected because the database contains question on these only.
Questions are stored in folder \Question And Answers. You can find theimages of the questions of subject Biology and Mathematics of class 10th
and the path of these images are stored in the database. You need chapters
and questions exactly same as the Biology/Mathematics subjects. Andupdate the database accordingly.