Java. I don't understand how to 'SETPATH'

Started by
0 comments, last by Codeka 14 years, 4 months ago
I'm trying to get a friends code to compile that uses javazoom. I've downloaded it and it says to set the class path and the like. But I can't seem to figure it out. At the least I can't get the code to stop complaining how it can't find javazoom. Can someone give me a step by step on how to deal with setting up javazoom? Like even where I have to put the files I got in the zip. Thanks
Advertisement
I'm not sure what javazoom is, but what are the errors you're getting? The normal way to specify the classpath is to just run java with the -classpath option:

java -classpath "path\to\javazoom.jar" -jar program.jar

Or, for compiling,

javac -classpath "path\to\javazoom.jar" SomeFile.java

This topic is closed to new replies.

Advertisement