• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Eclipse won't show the errors...

 
Ranch Hand
Posts: 751
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I opened a project in eclipse... I have the following code...





And then I tried inserting some random statements so the compiler would generate an error... For example... I tried typing


"asdasdwqdasdcdasd"


somewhere in my code... This should generate an error of some sort... But when i tried to build all/project... No error is showing up... Any ideas? Thanks!
 
Saloon Keeper
Posts: 27752
196
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Timothy Sam:
I opened a project in eclipse... I have the following code...


.....

And then I tried inserting some random statements so the compiler would generate an error... For example... I tried typing


"asdasdwqdasdcdasd"


somewhere in my code... This should generate an error of some sort... But when i tried to build all/project... No error is showing up... Any ideas? Thanks!



Not without further info. Although it doesn't look like the hot-compile feature is working. Do you have a designated target for the compiled class files? By default, it would be "bin".
 
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You can try to check that :
- you are in the java view.
- your project has the javanature in you .project (that you can see in ressource view)
- your source path is referenced as "kind=src" (if your source are in src/java) in the .classpath that you can see in the ressource view.
 
Paper beats rock. Scissors beats tiny ad.
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic