aspose file tools*
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
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: 18117
    
  39

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: 29244
    
139

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