aspose file tools*
The moose likes IDEs, Version Control and other tools and the fly likes javac -d option in Eclipse Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "javac -d option in Eclipse" Watch "javac -d option in Eclipse" New topic
Author

javac -d option in Eclipse

samir ware
Ranch Hand

Joined: Jul 27, 2005
Posts: 192
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
Jesper de Jong
Java Cowboy
Saloon Keeper

Joined: Aug 16, 2005
Posts: 14350
    
  22

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).


Java Beginners FAQ - JavaRanch SCJP FAQ - The Java Tutorial - Java SE 8 API documentation
samir ware
Ranch Hand

Joined: Jul 27, 2005
Posts: 192
Thanks a lot jesper ...
It was there at the same location you told.
Thank you once again
Regards
Samir
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: javac -d option in Eclipse