Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

java and javac problem

 
palak kumar
Ranch Hand
Posts: 57
Chrome Notepad Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
when we use -d with javac than the class file is created in another folder than how do we run that class file from the same location??
 
Edgar Trania
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
try to include the package
java com.package.Class
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic