-
Bug
-
Resolution: Not an Issue
-
P3
-
None
-
1.0
-
generic
-
generic
X-Lotus-Fromdomain: IBMHAIFA
From: "Dror Gill" <###@###.###>
To: ###@###.###
Date: Tue, 29 Dec 1998 10:19:06 +0200
Subject: JavaSound 0.8 does work
I found the problem!!! I had jmf.jar in the JDK1.2\jre\lib\ext directory,
and this probably collides with JavaSound. After removing this jmf.jar, I
got JavaSound to run. Too bad JavaSound and JMF can't work together...
Dror.
---------------------- Forwarded by Dror Gill/IBMHAIFA on 12/29/98 10:19 AM
---------------------------
To: ###@###.###
cc:
Subject: JavaSound 0.8 doesn't work
Kara hello,
I couldn't get JavaSound 0.8 to work on my PC. I'm using Windows95 with
JDK 1.2 final.
With Capture, I get:
Exception in thread "main" java.lang.VerifyError: (class: Capture, method:
transportUpdate signature: (Ljavax/media/transport/TransportEvent;)V)
Incompatible object argument for function call
With MIDIFileApp and ToySynth, I get:
Exception in thread "main" java.lang.IncompatibleClassChangeError: Class
javax/media/transport/TransportEvent has interface javax/media/MediaEvent
as super class
at com.sun.media.sound.JSChannel.sendResourceEvents(Compiled Code)
at com.sun.media.sound.JSChannel.acquire(JSChannel.java:160)
at MidiFileApp.<init>(Compiled Code)
at MidiFileApp.main(MidiFileApp.java:215)
With Juke, the Java VM just crashes.
I verified that I don't have JMF or another version of JavaSound in my
claspath. I ran the applications with the runapp batch file, after
modifying DEFAULT_JAVA_HOME.
Dror.
-----
From: "Marko Balabanovic" <###@###.###>
To: <Kara.Kytle@Eng>
Subject: Re: [javasound] Java Sound API available for public review
Date: Wed, 13 Jan 1999 14:28:48 -0800
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
Importance: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3
Actually since JMF installs itself into jdk1.2/lib/ext (on Windows), it is
necessary to actually remove the jmf.jar file, since as far as I can tell in
JDK1.2 you cannot override extension classes just with PATH/CLASSPATH
settings.
Marko Balabanovic
###@###.###
Ricoh Silicon Valley Inc.
2882 Sand Hill Road, Suite 115, Menlo Park CA 94025
-----
X-Lotus-Fromdomain: IBMHAIFA
From: "Dror Gill" <###@###.###>
To: Kara Kytle <Kara.Kytle@Eng>
Date: Tue, 5 Jan 1999 11:19:01 +0200
Subject: Re: [jmf] Re: [javasound] Java Sound API available for public review
Kara,
It might not be enough just to modify the classpath. I also experienced
this collision, which persisted even after modifying the batch file. The
problem was that I had jmf.jar in the JDK1.2\jre\lib\ext directory - it
was placed there by the JMF install program. Since this directory is
examined by JMF 1.2 before any directory in the classpath you define, you
must delete jmf.jar from this directory for JavaSound to work.
Dror.
From: "Dror Gill" <###@###.###>
To: ###@###.###
Date: Tue, 29 Dec 1998 10:19:06 +0200
Subject: JavaSound 0.8 does work
I found the problem!!! I had jmf.jar in the JDK1.2\jre\lib\ext directory,
and this probably collides with JavaSound. After removing this jmf.jar, I
got JavaSound to run. Too bad JavaSound and JMF can't work together...
Dror.
---------------------- Forwarded by Dror Gill/IBMHAIFA on 12/29/98 10:19 AM
---------------------------
To: ###@###.###
cc:
Subject: JavaSound 0.8 doesn't work
Kara hello,
I couldn't get JavaSound 0.8 to work on my PC. I'm using Windows95 with
JDK 1.2 final.
With Capture, I get:
Exception in thread "main" java.lang.VerifyError: (class: Capture, method:
transportUpdate signature: (Ljavax/media/transport/TransportEvent;)V)
Incompatible object argument for function call
With MIDIFileApp and ToySynth, I get:
Exception in thread "main" java.lang.IncompatibleClassChangeError: Class
javax/media/transport/TransportEvent has interface javax/media/MediaEvent
as super class
at com.sun.media.sound.JSChannel.sendResourceEvents(Compiled Code)
at com.sun.media.sound.JSChannel.acquire(JSChannel.java:160)
at MidiFileApp.<init>(Compiled Code)
at MidiFileApp.main(MidiFileApp.java:215)
With Juke, the Java VM just crashes.
I verified that I don't have JMF or another version of JavaSound in my
claspath. I ran the applications with the runapp batch file, after
modifying DEFAULT_JAVA_HOME.
Dror.
-----
From: "Marko Balabanovic" <###@###.###>
To: <Kara.Kytle@Eng>
Subject: Re: [javasound] Java Sound API available for public review
Date: Wed, 13 Jan 1999 14:28:48 -0800
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
Importance: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3
Actually since JMF installs itself into jdk1.2/lib/ext (on Windows), it is
necessary to actually remove the jmf.jar file, since as far as I can tell in
JDK1.2 you cannot override extension classes just with PATH/CLASSPATH
settings.
Marko Balabanovic
###@###.###
Ricoh Silicon Valley Inc.
2882 Sand Hill Road, Suite 115, Menlo Park CA 94025
-----
X-Lotus-Fromdomain: IBMHAIFA
From: "Dror Gill" <###@###.###>
To: Kara Kytle <Kara.Kytle@Eng>
Date: Tue, 5 Jan 1999 11:19:01 +0200
Subject: Re: [jmf] Re: [javasound] Java Sound API available for public review
Kara,
It might not be enough just to modify the classpath. I also experienced
this collision, which persisted even after modifying the batch file. The
problem was that I had jmf.jar in the JDK1.2\jre\lib\ext directory - it
was placed there by the JMF install program. Since this directory is
examined by JMF 1.2 before any directory in the classpath you define, you
must delete jmf.jar from this directory for JavaSound to work.
Dror.