Problems executing code inside jar file.

Hi everybody!!

I have some code thats works fine in eclipse running like a java class.
Well,after tested it ,i´m trying to insert all java tamino api jars inside a unique jar file with that main class.

Appears that i can not initialize ConnectionFactory
if its helps show my code:
connection = TConnectionFactory.getInstance().newConnection(DATABASE_URI);

Give me a NullPointer exception in a connection var.

Sorry for my bad english.

Thanks a lot.

I´ve just resolved,thanks