File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes don't use any IDE for SCJP Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "don Watch "don New topic

don't use any IDE for SCJP

jagan kay

Joined: Jun 08, 2008
Posts: 22
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

Joined: Jan 07, 2008
Posts: 85
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

SCJP 6.0<br />--------<br /><a href="" target="_blank" rel="nofollow">Wisdom Credit Cards</a>
Marius Paraschiv

Joined: Apr 07, 2008
Posts: 8
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

Joined: Mar 10, 2008
Posts: 51
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 & jdk 1.6.0_05 seems consistent in this situation
[ July 06, 2008: Message edited by: Frank Zito ]
jagan kay

Joined: Jun 08, 2008
Posts: 22
hi Frank Zito, sorry i forgot to mention it. mine is jdk 1.5 & Eclipse-SDK-3.3.2
Thanks to all.
marc weber

Joined: Aug 31, 2004
Posts: 11343

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.

"We're kind of on the level of crossword puzzle writers... And no one ever goes to them and gives them an award." ~Joe Strummer
Jesper de Jong
Java Cowboy
Saloon Keeper

Joined: Aug 16, 2005
Posts: 15082

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 ]

Java Beginners FAQ - JavaRanch SCJP FAQ - The Java Tutorial - Java SE 8 API documentation
I agree. Here's the link:
subject: don't use any IDE for SCJP
It's not a secret anymore!