This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes IDEs, Version Control and other tools and the fly likes How to compile classes in myeclipse 6.0 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "How to compile classes in myeclipse 6.0" Watch "How to compile classes in myeclipse 6.0" New topic
Author

How to compile classes in myeclipse 6.0

mi blrin
Greenhorn

Joined: May 26, 2008
Posts: 5
I am using myeclipse 6.0 /eclipse 3.2 for the first time and have not used any version of eclipes/ myeclipse befor.

I am not able to compile java programs in myeclipse, some one please help me.

thanks for All
Henry Wong
author
Sheriff

Joined: Sep 28, 2004
Posts: 18754
    
  40

Originally posted by mi blrin:
I am using myeclipse 6.0 /eclipse 3.2 for the first time and have not used any version of eclipes/ myeclipse befor.

I am not able to compile java programs in myeclipse, some one please help me.


Eclipse compiles automatically. As you are typing in the code into the editor, the compiler to should be compiler and flagging errors. You just need to run the program -- there is no need to do compilation, as eclipse does it for you.

Henry


Books: Java Threads, 3rd Edition, Jini in a Nutshell, and Java Gems (contributor)
Vikas Kapoor
Ranch Hand

Joined: Aug 16, 2007
Posts: 1374
In order to enable auto compile of your class files(*.java) you need to have 'Build Automatically' option selected.It is available under 'project' menu.
Jeanne Boyarsky
internet detective
Marshal

Joined: May 26, 2003
Posts: 30356
    
150

Do you get an error message or are you just looking for a "compile" button? If the former, please post it. If the later, Henry is correct that Eclipse compiles automatically by default. You can also force a recompile through Project --> Clean. (Every once in a while it gets confused on large projects with lots of dependencies.)

Note that we a forum just for questions about IDEs. I'll move this for you.


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to compile classes in myeclipse 6.0