You just have to add the .jar file to you classpath.
Assuming your .jar files is placed in /java you would write
this command: java -cp /java/MP3.jar:. "your-classfile-here"
On Dos/Windows i think it would be something like: java -cp c:\java\MP3.jar;.
"your-classfile-here"
Just type "java" in a commandline and read the message that appears.
Mads Kristensen
Thomas Pedersen wrote:
> Hi all,
>
> I'am trying to add a .jar file to the JRE path, but don't know how to do it.
> Can someone please help me??
>
> I want to add the MP3.jar (add MP3 capabilities to Java Sound with SPI found
> at
www.javaworld.com) file to the JRE path so that I can start testing mp3
> from java!
>
> Thanx,
> \Thomas