File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
REST with Spring (video course)
this week in the
Java in General
I need help with trying to play a mp3 file with java!
Joined: Mar 01, 2005
Apr 12, 2005 22:44:00
okay so heres the deal...i have this sample program, that plays a mp3 and i want to compile it to see how it works
unfortunately, i keep getting a error....
in the code i have this line:
and the error i get is "package javax.media does not exist."
and yes i downloaded the jmf-2.1.1 package which allows
to play audio and video files but that still doesnt work. Please i need help!
[ April 12, 2005: Message edited by: m brown ]
Joined: Mar 20, 2005
Apr 12, 2005 23:43:00
I think this is a classpath issue.
check if your package is there in the classpath.
Life called,so here I am.<br />Cheers<br />Niki.:-)
Joined: May 15, 2001
Apr 13, 2005 04:50:00
jmf.jar must be on your classpath. Raed
Joined: Jan 06, 2005
Apr 13, 2005 09:31:00
As a note, you might think about using this
that does not required JMF.
I agree. Here's the link:
subject: I need help with trying to play a mp3 file with java!
Having trouble importing Helliker for a java mp3 player
Can Java Play Mp3
unable to playback .mp3 file in WTK
Play MP3 in jar file
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015