Delete comment from: Javarevisited
javin paul said...
@Bapan, did the "he Network Adapter could not establish the connection" goes away or it still there. What is the "orcle" in your connection URL. You should also check if any of following format work:
jdbc:oracle:thin:user/xxxx@server:port:SID
jdbc:oracle:thin:user/xxxx@:SID
jdbc:oracle:thin:user/xxxx@//server:port/XE
Feb 20, 2016, 1:37:31 AM
Posted to Java Program to connect Oracle Database with Example - JDBC Tutorial Sample Code