File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes IDEs, Version Control and other tools and the fly likes To see compilation error..what I need to do ? 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 "To see compilation error..what I need to do ?" Watch "To see compilation error..what I need to do ?" New topic
Author

To see compilation error..what I need to do ?

pramod upadhyay
Greenhorn

Joined: Oct 21, 2008
Posts: 4
Hi All,

I am using IDE - Eclipse 3.1.1. This is MyEclipse
I am new to Eclipse. I have expertise with IBM RAD and Weblogic IDE's.
I am facing one problem......In Webspher IRad if i miss any Import it used to show me RED bulb at the left indicating wrong sign. But in Eclipse it�s not showing. I am not sure is it meant to be that way or it must shows compilation Error?.....If it shows compilation error..what I need to do to get that?

Thanks
PK
Ravikanth kolli
Ranch Hand

Joined: Feb 10, 2008
Posts: 179

you are using eclipse or myeclipse?

Well in eclipse the code is compiled automatically and thus an error is displayed as you see in other IDEs.

I am not sure of myeclipse.


-kolli
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 38077
    
  22
Welcome to JavaRanch

You can set options in Eclipse, either via Windows->Preferences or r-click a project->Properties. If you have anything marked as "error" it usually appears with a red icon with X on the left, and "warning" appears with a yellow triangular icon.
Let the mouse pointer hover on the X and it tells you what the error is. There is often a yellow bulb associated; clicking that will give a drop-down window with possible solutions.
pramod upadhyay
Greenhorn

Joined: Oct 21, 2008
Posts: 4
Thanks ravi. I am using Myeclipse

Thanks Campbell ---- My problem is myeclipse does not showing me 'error" with a red icon with x on left. can you suggest what I need to do in project -> properties?

PK
pramod upadhyay
Greenhorn

Joined: Oct 21, 2008
Posts: 4
Anybody has some idea to check compilation error in MyEclipse??
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 38077
    
  22
Don't know for MyEclipse. Sorry.

Anybody else?
Jeanne Boyarsky
internet detective
Marshal

Joined: May 26, 2003
Posts: 30138
    
150

Pramod,
Is this for JSPs? Eclipse itself displays the red X for Java code so that would be the same in MyEclipse and RAD.


[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
pramod upadhyay
Greenhorn

Joined: Oct 21, 2008
Posts: 4
Its for EJB's . and Action beans of Struts. My application does not have any JSP code
Jeanne Boyarsky
internet detective
Marshal

Joined: May 26, 2003
Posts: 30138
    
150

Then it should show up. The only think I can think of is to check the properties for the project. Maybe the Java validator is turned off?
 
wood burning stoves
 
subject: To see compilation error..what I need to do ?
 
Similar Threads
Ant target is not displaying results in eclipse
Type Casting Issue
Parameterising in ArrayList throws error
run servlet in tomcat 5.5 in eclipse 3.2
error in eclipse