• 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
  • Tim Cooke
  • paul wheaton
  • Paul Clapham
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Roland Mueller
  • Piet Souris
Bartenders:

don't use any IDE for SCJP

 
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
please dont use any IDE while preparing for SCJP. as of my experience the foll., prg., compiles & runs successfully in 'Eclipse editor'



when it's run on 'command prompt' the prg., doesn't compile. foll., error comes.



that's what we need. matter of fact i'm preparing for SCJP & have been using Eclipse editor. now, going to use notepad & command prompt.
 
Ranch Hand
Posts: 85
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Java 1.6 Compiler is catching the Compile-time exceptions in my IDE

"Error(3,18): field b might not have been initialized"

I am using Oracle JDeveloper
 
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Mine shows "The blank final field b may not have been initialized"

I have Eclipse 3.4 and JDK 1.5.0_15.
 
Ranch Hand
Posts: 51
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
your right about not using eclipse for scjp work. I find netbeans ok though for non-classpath related work.
@jagan - you havn't stated what version of jre/eclipse your using, also check your jdk compiler compliance level

eclipse 3.3.1.1 & jdk 1.6.0_05 seems consistent in this situation
[ July 06, 2008: Message edited by: Frank Zito ]
 
jagan kay
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi Frank Zito, sorry i forgot to mention it. mine is jdk 1.5 & Eclipse-SDK-3.3.2
Thanks to all.
 
Sheriff
Posts: 11343
Mac Safari Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
If you're preparing for the SCJP, I think you're much better off working in an environment that doesn't instantly flag potential errors for you. You need to develop your own ability to look at the code and recognize what -- if anything -- might be wrong.
 
Java Cowboy
Posts: 16084
88
Android Scala IntelliJ IDE Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Eclipse has its own built-in Java compiler (based on IBM's Jikes compiler). Ofcourse that compiler is supposed to be 100% compatible with Sun's compiler from the JDK, but like any big and complicated piece of software Eclipse isn't completely bugfree.

I'm using Eclipse everyday, and it's rare, but I've encountered situations once or twice where the Eclipse compiler would give an error while the JDK compiler would not or the other way around.

For preparing for SCJP, it's best to use Sun's compiler from the JDK.
[ July 07, 2008: Message edited by: Jesper Young ]
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic