Newbie question: How do I compile with the jar files when I am using good old javac command?
Thanks in advance
Alfarin
Newbie question: How do I compile with the jar files when I am using good old javac command?
Thanks in advance
Alfarin
Alfarin,
I’'d recommend getting a good Java book. However, to answer your specific question:
Put the JAR files in the directory you’'re compiling from then use
javac -classpath smack.jar;smackx.jar YourFile.java
Also check out:
http://java.sun.com/j2se/1.4.2/docs/tooldocs/windows/javac.html
Regards,
Matt
Hi there;
Great, that worked like a charm, thanks a bundle! As for books, is there any title that you’'d specifically recommend?
Regards,
Alfarin