Question: Suppose you run the command java -classpath derby.jar;. TestDB database.properties as described in Section 24.3. Match the following five error messages to the error conditions
Suppose you run the command java -classpath derby.jar;. TestDB database.properties as described in Section 24.3. Match the following five error messages to the error conditions they correspond to.
![1. Error Message Usage: java [-options] class [args...] 2. Exception in thread](https://dsd5zvtm8ll6.cloudfront.net/images/question_images/1706/7/9/0/37565bb8de75e2011706790374311.jpg)
1. Error Message Usage: java [-options] class [args...] 2. Exception in thread "main" java.sql. SQLException: No suitable driver found for jdbc: derby: BigJavaDB; create=true 3. Exception in thread "main" java.lang. NoClass DefFoundError: TestDB 4. Exception in thread "main" java.io. FileNotFoundException: database.properties 5. Exception in thread "main" java.sql. SQLException: Database 'BigJavaDB' not found. a. Error Condition The suffix; create=true was missing from the jdbc.url entry in database.properties. b. The database.properties file was not present in the current directory. C. derby.jar and. should have been separated by a colon on this operating system. d. The TestDB. class file was not present in the current directory. e. The derby.jar file was not present in the current directory.
Step by Step Solution
3.35 Rating (167 Votes )
There are 3 Steps involved in it
Certainly Lets match the error messages to their corresponding error conditions 1 Error Message The ... View full answer
Get step-by-step solutions from verified subject matter experts
