aspose file tools
The moose likes Java in General and the fly likes Jaring with external packages Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA Java SE 8 Programmer I Study Guide 1Z0-808 this week in the OCAJP forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Jaring with external packages" Watch "Jaring with external packages" New topic
Author

Jaring with external packages

Murat Balkan
Ranch Hand

Joined: Sep 10, 2002
Posts: 127
Hi all,
I packed my classes in a jar file and when I try to run this jar I get classnotfound exceptions about external apis such as javamail,jdbc apis so on. The problem is that I have lots of these in my project.
My question is
is there a way that my own classes in my jar file see these external apis.
(they are all in classpath and when executing from standart class files they all work fine)
I do not want to add these external packages to the jar cause they are installed on the client machine and their classpath entries are correctly set.
Thank you,
Murat
 
wood burning stoves
 
subject: Jaring with external packages