School Assignment? Project Due Tomorrow? Chat LIVE With A Programming Expert!
Welcome to Dream.In.Code
Become an Expert!

Join 340,154 Programmers for FREE! Get instant access to thousands of experts, tutorials, code snippets, and more! There are 3,980 people online right now. Registration is fast and FREE... Join Now!



Eclipse help

Eclipse help This compiler pisses me off Rate Topic: -----

#1 phil1000  Icon User is offline

  • D.I.C Head
  • PipPip
  • Group: Members
  • Posts: 155
  • Joined: 26-February 09


Dream Kudos: 0

Posted 11 April 2009 - 01:27 PM

So my friend is trying to work on a java project, and we're trying to run a project on Eclipse. The problem is that I don't think it realizes it's a java file. you can type "ladfshkajldshfkafh" and it won't say there is an error. And with that, there is a main function, and it won't recognize it. We both have used Eclipse before and have gotten things to compile so we know a little bit of how to use it.

Thanks in advance,
Phil
Was This Post Helpful? 0
  • +
  • -


#2 phil1000  Icon User is offline

  • D.I.C Head
  • PipPip
  • Group: Members
  • Posts: 155
  • Joined: 26-February 09


Dream Kudos: 0

Posted 11 April 2009 - 01:32 PM

Ok, we solved the problem!
Was This Post Helpful? 0
  • +
  • -

#3 abgorn  Icon User is offline

  • sudo apt-get install brain
  • Icon
  • View blog
  • Group: Contributors
  • Posts: 1,360
  • Joined: 05-June 08


Dream Kudos: 50

Posted 11 April 2009 - 02:09 PM

Eclipse isn't a compiler, it's a freakin' IDE!!!!!!!!!

Compiler==http://en.wikipedia.org/wiki/Compiler
IDE==http://en.wikipedia....ent_environment

Eclipse utilises the compiler, it isn't the actual compiler.
Was This Post Helpful? 0
  • +
  • -

#4 PJLabowski  Icon User is offline

  • D.I.C Head
  • PipPip
  • Group: Members
  • Posts: 70
  • Joined: 21-March 09


Dream Kudos: 0

Posted 11 April 2009 - 09:55 PM

Abgorn,
Take one of the green pills or something man, we all knew what he meant.
Was This Post Helpful? 0
  • +
  • -

#5 pbl  Icon User is offline

  • Java Lover
  • Icon
  • Group: Mentors
  • Posts: 11,168
  • Joined: 06-March 08


Dream Kudos: 475

Posted 12 April 2009 - 08:17 AM

View PostPJLabowski, on 11 Apr, 2009 - 09:55 PM, said:

Abgorn,
Take one of the green pills or something man, we all knew what he meant.

May be you did
But the poster was introducing a wrong concept for all the newbies monitoring that forum
(you can't imagine how often these words are missused and all the confusion it brings)

So, Abgorn intervention's is more than justified
Was This Post Helpful? 0
  • +
  • -

#6 c0mrade  Icon User is offline

  • D.I.C Regular
  • PipPipPip
  • Group: Members
  • Posts: 412
  • Joined: 16-November 07


Dream Kudos: 0

Posted 12 April 2009 - 10:20 AM

View Postabgorn, on 11 Apr, 2009 - 02:09 PM, said:

Eclipse isn't a compiler, it's a freakin' IDE!!!!!!!!!

Compiler==http://en.wikipedia.org/wiki/Compiler
IDE==http://en.wikipedia....ent_environment

Eclipse utilises the compiler, it isn't the actual compiler.


Actually the OP was absolutely correct (although maybe he didn't know it?).

Eclipse as a package is an IDE, an Integrated Development Environment.

When working on Java code, Eclipse has a feature (like many IDE's) that picks up errors in your code as you type. To give you this feature it cannot use javac, it has use an incremental compiler. This incremental compiler is included in the Java version of Eclipse. It is part of the Eclipse IDE.

More briefly, to recognize inline code errors (what the OP was asking about) Eclipse uses it's own compiler.

phil1000: Would you mind explaining how you solved the problem? It may help others in the future.

This post has been edited by c0mrade: 12 April 2009 - 10:23 AM

Was This Post Helpful? 0
  • +
  • -

#7 phil1000  Icon User is offline

  • D.I.C Head
  • PipPip
  • Group: Members
  • Posts: 155
  • Joined: 26-February 09


Dream Kudos: 0

Posted 13 April 2009 - 06:20 AM

well in short, we just made a new Java Project instead of doing a new empty Project.
Was This Post Helpful? 0
  • +
  • -

#8 Locke  Icon User is online

  • Treasure Hunter
  • Icon
  • View blog
  • Group: Mentors
  • Posts: 4,356
  • Joined: 20-March 08


Dream Kudos: 350

Expert In: Java

Posted 13 April 2009 - 07:13 AM

Yup, that'll do it. :)
Was This Post Helpful? 0
  • +
  • -



Fast Reply

  

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



Live Help!

Be Social

Dream.In.Code RSS Feed Dream.In.Code LinkedIn Group Follow Us On Twitter Fan Us On Facebook

Tutorials

Programming

Web Development

Reference Sheets

Code Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month