connecting the data base

trying to get the database connected via java