0

i am doing project bandwidth efficient video simulation in java.
I set class path in jdk set classpath=%classpath%;.\\lib\\gif4j_pro_trial_2.3.jar;

[Ljava.lang.String;@15151aa
Exception in thread "AWT-EventQueue-0" java.lang.Error: Unresolved compilation p
roblems:
The import javax.media cannot be resolved
The import javax.media cannot be resolved
The import javax.media cannot be resolved
The import javax.media cannot be resolved
The import javax.media cannot be resolved
The import javax.media cannot be resolved
The import javax.media cannot be resolved
The import javax.media cannot be resolved
The import javax.media cannot be resolved
The import javax.media cannot be resolved
The import javax.media cannot be resolved
The import javax.media cannot be resolved
The import javax.media cannot be resolved
The import javax.media cannot be resolved
The import javax.media cannot be resolved
The import javax.media cannot be resolved
The import javax.media cannot be resolved
The import javax.media cannot be resolved
The import javax.media cannot be resolved
The import javax.media cannot be resolved
The import javax.media cannot be resolved
The import javax.media cannot be resolved
The import javax.media cannot be resolved
The import javax.media cannot be resolved
The import javax.media cannot be resolved
The import javax.media cannot be resolved
The import javax.media cannot be resolved
The import javax.media cannot be resolved
The import javax.media cannot be resolved
MediaLocator cannot be resolved to a type
The method createMediaLocator(String) is undefined for the type Split
MediaLocator cannot be resolved to a type
Processor cannot be resolved to a type
Manager cannot be resolved
FileTypeDescriptor cannot be resolved
PushBufferDataSource cannot be resolved to a type
PushBufferDataSource cannot be resolved to a type
PushBufferStream cannot be resolved to a type
Processor cannot be resolved to a type
TrackControl cannot be resolved to a type
AudioFormat cannot be resolved to a type
VideoFormat cannot be resolved to a type
VideoFormat cannot be resolved to a type
VideoFormat cannot be resolved
AudioFormat cannot be resolved to a type
AudioFormat cannot be resolved to a type
AudioFormat cannot be resolved to a type
AudioFormat cannot be resolved
Player cannot be resolved to a type
Control cannot be resolved to a type
QualityControl cannot be resolved to a type
VideoFormat cannot be resolved to a type
VideoFormat cannot be resolved
ControllerListener cannot be resolved to a type
Processor cannot be resolved to a type
Processor cannot be resolved to a type
Processor cannot be resolved
ControllerEvent cannot be resolved to a type
Processor cannot be resolved to a type
ContentDescriptor cannot be resolved to a type
MediaLocator cannot be resolved to a type
MediaLocator cannot be resolved to a type
MediaLocator cannot be resolved to a type
MediaLocator cannot be resolved to a type
MediaLocator cannot be resolved to a type
PushBufferDataSource cannot be resolved to a type
Processor cannot be resolved to a type
PushBufferDataSource cannot be resolved to a type
PushBufferStream cannot be resolved to a type
Processor cannot be resolved to a type
PushBufferStream cannot be resolved to a type
Format cannot be resolved to a type
p cannot be resolved
Control cannot be resolved to a type
Time cannot be resolved to a type
ContentDescriptor cannot be resolved
MediaLocator cannot be resolved to a type
MediaLocator cannot be resolved to a type
PushBufferStream cannot be resolved to a type
BufferTransferHandler cannot be resolved to a type
PushBufferStream cannot be resolved to a type
BufferTransferHandler cannot be resolved to a type
Format cannot be resolved to a type
PushBufferStream cannot be resolved to a type
Buffer cannot be resolved to a type
ContentDescriptor cannot be resolved to a type
pbs cannot be resolved
LENGTH_UNKNOWN cannot be resolved
Format cannot be resolved to a type
BufferTransferHandler cannot be resolved to a type
Control cannot be resolved to a type
PushBufferStream cannot be resolved to a type
ControllerListener cannot be resolved to a type
DataSinkListener cannot be resolved to a type
Processor cannot be resolved to a type
DataSink cannot be resolved to a type
p cannot be resolved
ControllerEvent cannot be resolved to a type
DataSinkEvent cannot be resolved to a type
Processor cannot be resolved to a type

at sim.splitaudiovideo.src.Split.<init>(Split.java:10)
at sim.SenderHome$1.actionPerformed(SenderHome.java:103)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:18
49)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.jav
a:2169)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel
.java:420)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258
)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonL
istener.java:234)
at java.awt.Component.processMouseEvent(Component.java:5488)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3093)
at java.awt.Component.processEvent(Component.java:5253)
at java.awt.Container.processEvent(Container.java:1966)
at java.awt.Component.dispatchEventImpl(Component.java:3955)
at java.awt.Container.dispatchEventImpl(Container.java:2024)
at java.awt.Component.dispatchEvent(Component.java:3803)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212
)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3892)

at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)
at java.awt.Container.dispatchEventImpl(Container.java:2010)
at java.awt.Window.dispatchEventImpl(Window.java:1766)
at java.awt.Component.dispatchEvent(Component.java:3803)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchTh
read.java:234)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThre
ad.java:163)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)

at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)

at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)


Plz help me how to use javax.media.

2
Contributors
1
Reply
2
Views
6 Years
Discussion Span
Last Post by peter_budo
0

Your classpath is looking wrong, can you explain double slashes you used? set classpath=%classpath%;.[B]\\[/B]lib[B]\\[/B]gif4j_pro_trial_2.3.jar; Also why don't you add this library through IDE to your project so it is automatically included in your application release, instead of manually adding this library to any computer you wish to run it on?

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.