• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

don't use any IDE for SCJP

 
jagan kay
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • 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.
 
Pavan Menon
Ranch Hand
Posts: 85
  • Mark post as helpful
  • send pies
  • 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
 
Marius Paraschiv
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • 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.
 
Karl Prenton
Ranch Hand
Posts: 51
  • Mark post as helpful
  • send pies
  • 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
  • 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.
 
marc weber
Sheriff
Posts: 11343
Java Mac Safari
  • Mark post as helpful
  • send pies
  • 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.
 
Jesper de Jong
Java Cowboy
Saloon Keeper
Posts: 15480
43
Android IntelliJ IDE Java Scala Spring
  • Mark post as helpful
  • send pies
  • 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 ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic