Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

.jar file in classpath

 
Phillipe Rodrigues
Ranch Hand
Posts: 165
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How to set the .jar file in classpath through javac command?
 
Sagar Rohankar
Ranch Hand
Posts: 2907
1
Java Spring Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
javac -classpath "path\file.jar" JavaFileName.java


If there are more than two jar file, seprate them with comma ";" in between them !!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic