This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
hi all, I am using Eclipse 3.0 version and I want to make the use of the -d option in javac . That is I want to shift my class file to a specific location . Can any one please tell me how can I use the javac -d option in Eclipse. Any white paper any link will be appriciated Thanks and regards Samir
How are you running javac from Eclipse? Normally you don't need to do that, because Eclipse automatically compiles your source files in the background. You don't need to compile your sources manually.
You can right-click on your project, choose Properties in the pop-up menu en go to Java Build Path. There you can set the folders that contain source code and compiled classes for your project. (Note, this is for Eclipse 3.2; version 3.0 is already a few years old, but I guess it's more or less in the same place in 3.0).