Please post in-line, as I do below..
> > > I built a Java app ... but get the above
> > > exception when attempting to start my app.jar on Linux.
..
> > >..I know the
> > > problem is caused by the IBM JVM not finding jmf.jar but I don't have
> > > the solution.
> >
> > Is JMF installed on the Linux PC?
> Yes, JMF is installed on the Linux PC. I tried setting the CLASSPATH
> env variable, but to no avail.
Sun recommends you do not add jar's to an environment
variable, but at run-time (AFAIR - JMF breaks from that slightly).
Try adding the jmf.jar to the classpath at the moment you're
running your application from the command line.
Note that there are one or two more things we can check
here on c.l.j.p, but that JMF also has its own dedicated forum
here.. <http://forum.java.sun.com/forum.jspa?forumID=28>
Andrew T.
glchin@hotmail.com - 10 Jul 2006 17:04 GMT
I found the solution in a Sun developer forum; thanks to Andrew for
pointing it out.
Copy jar files from:
-rw-rw-rw- 1 root root 1814984 May 1 2003 /JMF-2.1.1e/lib/jmf.jar
-rw-rw-rw- 1 root root 35882 May 1 2003
/JMF-2.1.1e/lib/mediaplayer.jar
-rw-rw-rw- 1 root root 57246 May 1 2003
/JMF-2.1.1e/lib/multiplayer.jar
To:
-rw-r--r-- 1 root root 1814984 Jul 10 11:29
/opt/ibm/java2-i386-50/jre/lib/ext/jmf.jar
-rw-r--r-- 1 root root 35882 Jul 10 11:29
/opt/ibm/java2-i386-50/jre/lib/ext/mediaplayer.jar
-rw-r--r-- 1 root root 57246 Jul 10 11:29
/opt/ibm/java2-i386-50/jre/lib/ext/multiplayer.jar
> Please post in-line, as I do below..
>
[quoted text clipped - 21 lines]
>
> Andrew T.