File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "java and javac problem" Watch "java and javac problem" New topic

java and javac problem

palak kumar
Ranch Hand

Joined: Aug 05, 2012
Posts: 57

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

Joined: Feb 14, 2013
Posts: 7
try to include the package
java com.package.Class
I agree. Here's the link:
subject: java and javac problem
It's not a secret anymore!