• Post Reply Bookmark Topic Watch Topic
  • New Topic

Question about distributing your program which uses third-party apis  RSS feed

 
Mark Herreras
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi! I was wondering if anybody could help me with this..

We are required to make a program and distribute it as a jar file. And my problem is the program i made uses an api i got from this site https://jdic.dev.java.net/ .I use it's system tray capabilities. My question is, when i do ditribut my program.. do i have to include the thir-party api's that i used with the distribution?

Thanks!
 
Stuart Ash
Ranch Hand
Posts: 637
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to JavaRanch!

Yesss, I got this before EFH did!!


You will have to include the third-party jar with your bundle.
And what does their license say?
 
Mark Herreras
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
their license is the lesser general public license...

So, how would this affect my manifest file?
If for example my main jar is in
MyProgram.jar
then jdic is in
/HelperClass/jdic.jar
How should the classpath look like? and if i don't use any third party api's
do i still need to set the classpath in the manifest?

Btw, could you look at jdic? it has some non-java files included (i.e exe files).. should i also include that?
tnx Stuart!
 
Mark Herreras
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ok..nevermind. i finally figured it out!
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!