File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
JavaRanch » Java Forums » Java » Java in General
Bookmark "Jaring with external packages" Watch "Jaring with external packages" New topic

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,
I agree. Here's the link:
subject: Jaring with external packages
It's not a secret anymore!