Applet gets "invalid file parameter" [message #169614] |
Tue, 05 September 2006 16:37 |
Eclipse User |
|
|
|
Originally posted by: landolini.yahoo.it
The applet that works fine compiled with javac in command line...
get "invalid file parameter" if built under Eclipse (both if I run it
under Eclipse and If I open with Firefox its *.html file ).
Also appletviewer get that error msg ....
Many thanks.
Below the applet tag...but I think the problem is not here...
<applet code=TVApplet width=587 height=510>
<param name=file value="/home/lando/calcioMO.avi">
</applet>
|
|
|
|
|
|
Re: Applet gets "invalid file parameter" [message #169743 is a reply to message #169701] |
Wed, 06 September 2006 12:35 |
Eclipse User |
|
|
|
Originally posted by: landolini.yahoo.it
Olivier Thomann wrote:
> lando a écrit :
>> I do not understand...................
> In order to investigate what is going on, it would be useful to get a
> complete test case.
> So please provide us with a test case that we could debug.
> You can open a bug report against JDT/Core and attached the test case.
> Thanks,
> --
> Olivier
Too much to learn!!!
I don't use yava very much....
One thing that could be easy (for you) may be is the problem....
The applet is the Sun sample of JMF API (TVApplet.java).
I'm in a linux environment and to make it works I have copied
to /home/lando/j2sdk1.4.2_10/jre/lib/ext
jmf.jar
multiplayer.jar
mediaplayer.jar
and modules to
/home/lando/j2sdk1.4.2_10/jre/lib/i386
jmfjawt.so* libjmjpeg.so* libjmv4l.so*
libjmg723.so* libjmmpa.so* libjmxlib.so*
libjmgsm.so* libjmmpegv.so*
libjmcvid.so* libjmh261.so* libjmmpx.so*
libjmdaud.so* libjmh263enc.so* libjmutil.so*
Look with the explorer in this my project I see j2sdk1.4.2_10/jre/lib/ext
with the *.jar files
but not /home/lando/j2sdk1.4.2_10/jre/lib/i386
How can I do to have this entry in my project ?
Thanks.
|
|
|
|
|
Re: Applet gets "invalid file parameter" [message #169861 is a reply to message #169767] |
Wed, 06 September 2006 21:27 |
Eclipse User |
|
|
|
Originally posted by: landolini.yahoo.it
I'm trying to run it under eclipse...and it fails.
...with firefox is OK .
Firefox uses RJE updated with JMF (so as I wrote ).
Eclipse uses RJE partially updated....(at least I don't see
modules in //rje/lib/386/....in eclipse using Explorer... )
|
|
|
Re: Applet gets "invalid file parameter" [message #169960 is a reply to message #169861] |
Thu, 07 September 2006 16:23 |
Eclipse User |
|
|
|
Originally posted by: landolini.yahoo.it
lando wrote:
> I'm trying to run it under eclipse...and it fails.
> ...with firefox is OK .
> Firefox uses RJE updated with JMF (so as I wrote ).
> Eclipse uses RJE partially updated....(at least I don't see
> modules in //rje/lib/386/....in eclipse using Explorer... )
Disregard all about rje....it's ok.
My last attempt !
I have traced (System.out.println....) the code that get the URL >>>>>
URL codeBase = getDocumentBase();
System.out.println("codebase " + codeBase);
NOW , the trace when I use "appletviewer" (that works fine!) gets >>>
codebase file:/home/lando/Ecljmf/TVApplet.html
AND the applet run with Eclipse gets this URL !!!!! >>>>>
codebase file:/home/lando/Ecljmf/TVApplet1157644897107.html
Then the next test gives the error below because it doesn't find this file
!!!
FATAL ERROR: Invalid media file parameter
Any ideas ?
PS-the number in TVApplet1157644897107.html change at every run...
|
|
|
Powered by
FUDForum. Page generated in 0.06552 seconds