I believe that is the issue as well Keith I was not sure how to connect? I also had an error message that I ignored because I am not using Git that said that my Home variable was not set. Would that effect this in anyway?
At the moment you are losing all the information about what exception has been thrown and from where, and why.
In some of these case (especially the stuff around the start up), until you have something for presenting a nice failure screen to the user you may as well crash out completely, as you need the connection to actually do anything useful.
It's in the connection url, depending on whether you using service name or SID. Assuming both is "xe"
Also if you using JDBC 4 technically the Class.forName is not needed. By the way, even this line is wrong
Class.forName("oracle.jdbc.OracleDriver") or Class.forName("oracle.jdbc.OracleDriver").newInstance()
New errors the url I tried but the driver error is still present I was told to build a path and add a class12.jar but that jar class does not support java 1.8 do you know another jar file to add that will work instead?
I don't know where you got that advice; my web search keywords were oracle 11g jdbc driver, which led me directly to this official Oracle page. I'm not an Oracle expert and you're the one with the Oracle database so I will leave you to choose (and download, if necessary) the driver suitable for your needs.
Thanks Paul it was part of the original instructions I received, apparently it was for an older version I tried the suggested jars under the link you provided initially and decide to go with what was originally requested when I still had errors. Thanks though
Ah, okay, I didn't realize you had instructions about which driver to use. But if that was the case you should just have gone back to the person instructing you with your problem. Would have been more straightforward, no?