This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread 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 Murach's Java Servlets and JSP this week in the Servlets 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: 18508
    
  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: 30075
    
149

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
 
Similar Threads
eclipse Error. JVM terminated. Exit code = 1
MyEclipse 7.5--How can i set or use Java 1.5 to compile my java files instead of 6
Code to connect database with struts using MyEclipse
MyEclipse 6.0 problem
How to solve Bad Version of class under Eclipse IDe