This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes Beginning Java and the fly likes API sharing Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Beginning Java
Bookmark "API sharing" Watch "API sharing" New topic
Author

API sharing

Kevin Carr
Greenhorn

Joined: Jan 19, 2010
Posts: 19
If I create a jar of a program using the java media framework, will others be able to run it without needing the jmf?
Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 20078
    
  30

No. Any JAR file used by your classes must be used by the users of your classes too.


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6 - OCEJPAD 6
How To Ask Questions How To Answer Questions
Ulf Dittmer
Rancher

Joined: Mar 22, 2005
Posts: 42958
    
  73
Only if you distribute the JMF jar files with your application (assuming that the JMF license permits that).
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: API sharing
 
It's not a secret anymore!