This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
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: 14074
    
  16

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 7 API documentation
Scala Notes - My blog about Scala
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: javac -d option in Eclipse
 
Similar Threads
Setting javac options in Eclipse
compile unchecked
Error "Can't resolve symbol" when compiling DataInfo.java using Win98SE of my Laptop
Ant in Eclipse
compiling with -d option