• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Tim Cooke
  • Junilu Lacar
Sheriffs:
  • Rob Spoor
  • Devaka Cooray
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
  • Tim Holloway
Bartenders:
  • Jj Roberts
  • Al Hobbs
  • Piet Souris

Question about distributing your program which uses third-party apis

 
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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!
 
Ranch Hand
Posts: 637
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Ok..nevermind. i finally figured it out!
 
You showed up just in time for the waffles! And this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic