Author |
Message |
riveryu
![](http://compsci.ca/v3/uploads/user_avatars/196991102647ae2debe0bf0.jpg)
|
Posted: Mon Aug 17, 2009 7:33 pm Post subject: How do I package my program? |
|
|
I made a program that uses Java Media Framework (JMF) which seems to be separate from JDK. I had to download JMF.
How do I make a package that could be ran from any computer? The program also uses a .avi video.
My program is a JApplet, I don't know if this matters. |
|
|
|
|
![](images/spacer.gif) |
Sponsor Sponsor
![Sponsor Sponsor](templates/subSilver/images/ranks/stars_rank5.gif)
|
|
![](images/spacer.gif) |
btiffin
![](http://compsci.ca/v3/uploads/user_avatars/189169540547b535e50e4a7.jpg)
|
|
|
|
![](images/spacer.gif) |
riveryu
![](http://compsci.ca/v3/uploads/user_avatars/196991102647ae2debe0bf0.jpg)
|
Posted: Thu Aug 20, 2009 11:21 am Post subject: RE:How do I package my program? |
|
|
I know about Jars. However, I am using JMF, and when I tried to run my app on another computer without JMF, it crashed.
I don't want people having to install JMF to run my app. I'm trying to find a solution to this problem( yes, i googled it ).
Thanks |
|
|
|
|
![](images/spacer.gif) |
Vermette
![](http://compsci.ca/v3/uploads/user_avatars/637825944810b5d4444c6.jpg)
|
Posted: Fri Aug 21, 2009 9:14 am Post subject: RE:How do I package my program? |
|
|
There are utilities out there to bundle any external dependencies along with your application into a single JAR.
jarjar:
http://code.google.com/p/jarjar/
One-JAR:
http://one-jar.sourceforge.net/
You should be fine in the case of the JMF, but if you need to do this in the future make sure you're not violating any licences with those external dependdencies.
Hope this helps. |
|
|
|
|
![](images/spacer.gif) |
riveryu
![](http://compsci.ca/v3/uploads/user_avatars/196991102647ae2debe0bf0.jpg)
|
Posted: Tue Aug 25, 2009 11:26 pm Post subject: RE:How do I package my program? |
|
|
Thanks guys, my problem is solved. Jared. |
|
|
|
|
![](images/spacer.gif) |
Vermette
![](http://compsci.ca/v3/uploads/user_avatars/637825944810b5d4444c6.jpg)
|
Posted: Wed Aug 26, 2009 2:13 pm Post subject: Re: RE:How do I package my program? |
|
|
Vermette @ August 21st 2009, 09:14 wrote: but if you need to do this in the future make sure you're violating any licences with those external dependdencies.
Oh man, that's a great typo I made there! Can't edit the post either... |
|
|
|
|
![](images/spacer.gif) |
btiffin
![](http://compsci.ca/v3/uploads/user_avatars/189169540547b535e50e4a7.jpg)
|
Posted: Wed Aug 26, 2009 8:28 pm Post subject: RE:How do I package my program? |
|
|
Sorry, but googlin' Jared didn't do it for me. And I don't feel like wading through the hits on jared java jar bundle
Do you simply mean the app has been Jar'ed? Is Jared a Jar builder?
Just for my own future reference.
Cheers |
|
|
|
|
![](images/spacer.gif) |
riveryu
![](http://compsci.ca/v3/uploads/user_avatars/196991102647ae2debe0bf0.jpg)
|
Posted: Fri Aug 28, 2009 10:19 am Post subject: RE:How do I package my program? |
|
|
By "Jared", I meant made into a jar.
Just on a side note for people out there, JMF is an api dealing with media files like audio/video. From my experience and another article i read, don't use JMF if your gonna have Java play the latest media file formats. JMF's file support is very outdated. The project seems to be knocked into a coma by Sun. |
|
|
|
|
![](images/spacer.gif) |
Sponsor Sponsor
![Sponsor Sponsor](templates/subSilver/images/ranks/stars_rank5.gif)
|
|
![](images/spacer.gif) |
btiffin
![](http://compsci.ca/v3/uploads/user_avatars/189169540547b535e50e4a7.jpg)
|
Posted: Sat Aug 29, 2009 8:21 am Post subject: RE:How do I package my program? |
|
|
Thanks riveryu.
Cheers |
|
|
|
|
![](images/spacer.gif) |
|