Vince,
I apologize for the late response. Thanks to your instructions, I've successfully connect to the remote Oracle server through SQL*Plus with the command: sqlplus <user name>/<password>@<Oracle Net service name>. Besides using Net Configuration Assistant utility, I figured out that my computer needs to be IN THE SAME NETWORK of that server (i.e. using vpn). That, however, leads to another problem to test the connection with ArcCatalog since I'm using a server license manager in a different network. Once I used vpn to connect to the Oracle server, I was unable to open ArcCatalog. Do you have any solution for this issue?
Again, my main goal is to use direct connection with Java. I'm not sure if that would help to stay away from the 2 different vpn problems.
PS: I already tried the Java code [SeConnection] but received the same error:
Exception in thread "Thread-0" java.lang.UnsatisfiedLinkError: com.esri.sde.sdk.client.JGsrvr.gsrvrGetErrorCode(J)I
at com.esri.sde.sdk.client.JGsrvr.gsrvrGetErrorCode(Native Method)
at com.esri.sde.sdk.client.JGsrvr.run(Unknown Source)