You just need to reference it using a -classpath
option, in a folder which is not included in an eclipse workspace, i.e. which does not depend on eclipse at all.
Warning, you cannoy execute your other project with java -jar
if you reference your external jar with -cp
option (see this question)