JMFCustomizer

When I try to customize the jmf.jar using the script:

"java -classpath customizer.jar JMFCustomizer"

I get this errors:

Working directory is C:\Archivos de programa\JMF2.1.1e\lib\cuswork

Found jmf.properties in jmf.properties

Registry Size = 172

javac path = C:\Archivos de programa\Java\jre1.6.0_01\bin

java.io.IOException: Cannot run program "C:\Archivos de programa\Java\jre1.6.0_01\bin\javac": CreateProcess error=2, El sistema no puede hallar el archivo especificado

at java.lang.ProcessBuilder.start(Unknown Source)

at java.lang.Runtime.exec(Unknown Source)

at java.lang.Runtime.exec(Unknown Source)

at com.sun.media.customizer.ProcessJAR.updateRegistry(ProcessJAR.java:650)

at com.sun.media.customizer.ProcessJAR.run(ProcessJAR.java:228)

Caused by: java.io.IOException: CreateProcess error=2, El sistema no puede hallar el archivo especificado

at java.lang.ProcessImpl.create(Native Method)

at java.lang.ProcessImpl.<init>(Unknown Source)

at java.lang.ProcessImpl.start(Unknown Source)

... 5 more

How I can fix that?

Thanks.

Best Regards,

Denial

[1192 byte] By [dark_deniala] at [2007-11-27 6:21:10]
# 1

...

> javac path = C:\Archivos de

> programa\Java\jre1.6.0_01\bin

> java.io.IOException: Cannot run program "C:\Archivos

> de programa\Java\jre1.6.0_01\bin\javac":

> CreateProcess error=2, El sistema no puede hallar el

> archivo especificado

"The system cannot find the specified file"?

I am not surprised! javac comes as part of

the JDK - the development kit. Separate to

the JDK is the JRE, which only includes things

an end user needs, like 'java' & 'javaws'.

AndrewThompson64a at 2007-7-12 17:37:25 > top of Java-index,Security,Cryptography...
# 2

Thanks

I copy the javac to JRE and all ok

But I hava another problem, maybe u can help me again

I uninstall the JMF and I made a copy the dlls that I need for my custom jmf.jar and all work fine when I run my application over netbeans.

But I have problems with JMF when I run my application over a command line

The application cannot find any sound device. because cannot use JMF.

I set the jar in the classpath, but I have the same result.

Any idea?

Thanks a lot

Regards

Denial

dark_deniala at 2007-7-12 17:37:25 > top of Java-index,Security,Cryptography...
# 3
Problem solved.The file jmf.properties must be in the same directory that the jar of my applicationregards Denial
dark_deniala at 2007-7-12 17:37:25 > top of Java-index,Security,Cryptography...