Embedded SQL in Java

Steps to your first Embedded Java program:

  1. Start BlueJ
  2. Create a new project
  3. On the "Tools" menu choose "Preferences"
  4. On the "Libraries" tab click "Add"
  5. Open "S:\Oracle10g\Client\jdbc\lib\classes12.jar"
  6. Create a new class called "Hotel"
  7. Replace the contents of the file with Hotel.java
  8. Compile and run the Project