This week's book giveaway is in the OCPJP forum. We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line! See this thread for details.
Hi, I've a class "a.java" in the folder d:\practice\com\dan and have a package statement package com.dan as the first statement in a.java. I want to put the compiled file in a separate folder d:\practice\classes so i compiled the file as javac -d classes com\dan\a.java from the "practice" folder. The file got compiled but two additional folders com and dan were created in classes folder. How can i compile it without creating those additional folders? Thanks.