Add a basic Java API.
Fixed the broken tests because data warehouse location is set twice
(once in JavaAPISuite, and once in SQLSuite).