I have java code which connects to a MS-SQL database and procures some data.
Before running the code I set the class path in the Unix Server and it used to work fine
Right button on project-> Properties - > Java built Path -> Order and Export -> And check checkBox with you jar.
If you connect on Android project to Use 1.2.7 version.