Unzip the folder and run setup.exe to install Oracle XE.
When asked where to install, chose a location for the folder.
When asked to create a password, use '123'. So it would be same as all others.
When finished installing, start the 'Get Started with Oracle ..." that appeared on the Desktop.
Within the browser, click on 'Application Express' and login as System with password 123.
Fill in the following information:
Database User: Create New
Database Username: sa
Application Express Username: batgen
Password: 123
Confirm Password: 123
Click on create Workspace.
You will get a message telling you that a workspace is successfully created, and click there to login.
You can also click on 'Application Express', and then click on 'Already have an account? Login here'.
Login with the information that was used to create the workspace.
Click on the 'SQL Workshop'.
OPTIONAL but recommended: click on 'Object Browser', select one of the
tables on the left, and the click on Drop on the right. Select
'Cascade Constraints' and click 'Finish'. Repeat this for all the tables
until the list is empty. Now do this for 'Sequences' and 'Functions' on the drop-down list.
Under 'SQL Workshop', click on 'SQL Commands'.
The SQL commands for creating the tables can be found in CreateTables.sql
under the sql folder of batGenTutorial project. Oracle XE does not take multiple
commands at once, so commands have to be entered one at a time.
(Or they can be all added to the SQL console, then highlight/select one
command and click 'run' at a time, till all commands had ran.)
And so on, till all of the commands on CreateTables.sql had ran.
Now the database is ready for use. On Eclipse, add the OracleDriver to
the build path. Right click on project, click 'Properties' and select
'Java Build Path'. Click on 'Libraries' and then click on 'Add External JARs..'.
The OracleDriver is located in the installed folder, app/oracle/product/11.2.0/server/jdbc/lib.
Select the ojdbc6 jar and click done.
To turn database on or off, click on the window start menu ->
All Programs -> Oracele Database xxg Express Edition -> Get Started.