File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes java and javac problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "java and javac problem" Watch "java and javac problem" New topic
Author

java and javac problem

palak kumar
Ranch Hand

Joined: Aug 05, 2012
Posts: 55

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??


OCPJP 6
Edgar Trania
Greenhorn

Joined: Feb 14, 2013
Posts: 7
try to include the package
java com.package.Class
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: java and javac problem