Export jar from eclipse project
I have a simple project that uses com.mysql.jdbc.Driver and org.apache.http.HttpServerConnection.
When I run a project within an Eclipse everything works fine. When I export the project to *.jar file and tried to run I got an exception.
As I understand this problem happens because I didn't specify a classpath for that libraries. But I don't have any idea where is it located in Kubuntu Linux?
Is it any way to create jar file that solve any dependances? I am going to run that jar in a different environment.