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

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

1 Expert Approved Answer
Step: 1 Unlock

Certainly Lets match the error messages to their corresponding error conditions 1 Error Message The ... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Java Programming Questions!