Jump to content
Excelsior Forums
Sign in to follow this  
JMcGuigan

Need help, at my wits end on this

Recommended Posts

My IDE uses jre 1.3.1_08.

In the jre/lib/ext directory I have jmf.jar, xerces.jar and jdom.jar.

Movie player works finr when I run my app in the IDE.

1. Run JETSetup and point to that same jre

2. Open JET3.5 and add my application jar

3 Compile

4. Package

5. I select include the jre

6. Upon running the trial run the movie player throws the error, " Could not find a player for " yadayada file "

What am I missing?

Share this post


Link to post
Share on other sites

OK, I've made some progress on this.

In JetPackII if i add all the .dll files from JMF2.1.1e\lib to may application directory it works( I get the video player ).

I tried creating a directory in my app and addad the dll files to the directory, but it would not work, I also tried jaring all the files and add it as a resource, but also did not work.

Having all the dll's in the main directory with the app.exe appears untidy and sloppy, how can I package the dll files into a directory or a jar and still have it work.

Thanks in advance for any help.

Share this post


Link to post
Share on other sites

DLLs are not resources, so they can not be jared and bound to the executable. You have 2 options how to force your executable to find these DLLs

1) As you have done, copy the DLLs to the application directory

2) Leave them in any directory and add that directory to %PATH% variable - either in run.bat file or globally to the system during the installation (using custom callback DLLs in case of Excelsior Installer).

Share this post


Link to post
Share on other sites
Sign in to follow this  

×