Hello! I am using eclipse and i made a project which uses some external jars as an api. when i run the program in eclipse it works just fine. how do i export it as a jar and still be able to use the apis that im using?
When you run the jar you exported, make sure those other jars are in the classpath at the time.
If you made the exported jar an executable jar, then the way to do that is to list them in the Class-Path entry of the jar's manifest, and make sure they are in the right place when you go to execute the jar.
look! it's a bird! it's a plane! It's .... a teeny tiny ad