Date created: December 2, 2023
University of California, Santa Barbara
CMPSC 174A - FUND DATABASE SYS
Fall 2023
- install Java Development Kit (JDK) 21
- clone the project
git clone https://github.com/ru1nw/starsrus.git
- extract the wallet for Oracle DB to the root of the project
- fill in environment properties
- make a copy of
src/main/Util/TEMPLATE-AppProperties.javain the same folder, name itAppProperties.java - under
class AppPropertiesin , fill inPATH_TO_WALLETandDB_PASSWORD
- make a copy of
- make our lives easier by utilizing these shell scripts
- at the root of the project, run
chmod u+x compile run
- at the root of the project, run
- compile and test connection: at the root of the project, run
./compile src/main/Util/TestConnection.java./run Util.App- if success, it would print out the
Accountstable with columnsaid,balance, anduname - if failed, there might be somthing wrong with the environment properties in
AppProperties.java, or the database was shut down
- compile and execute: at the root of the project, run
./compile src/main/App.java./run App