This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Beginning Java and the fly likes .jar file in classpath Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark ".jar file in classpath " Watch ".jar file in classpath " New topic

.jar file in classpath

Phillipe Rodrigues
Ranch Hand

Joined: Oct 30, 2007
Posts: 165
How to set the .jar file in classpath through javac command?

Sagar Rohankar
Ranch Hand

Joined: Feb 19, 2008
Posts: 2902

javac -classpath "path\file.jar"

If there are more than two jar file, seprate them with comma ";" in between them !!

[LEARNING bLOG] | [Freelance Web Designer] | [and "Rohan" is part of my surname]
wood burning stoves
subject: .jar file in classpath
Similar Threads
MQ : package does not existe
Exception in thread "main" java.sql.SQLException: No suitable driver
Strange Error [java.lang.ArrayIndexOutOfBoundsException]
xalan conf-problem: ... XSLTErrorResources ...
Error Loading Driver Class while using mysql's mm driver