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 New type of Error?? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "New type of Error??" Watch "New type of Error??" New topic

New type of Error??

Joe Harry
Ranch Hand

Joined: Sep 26, 2006
Posts: 10033

Hi Ranchers,

Consider the code below,

I'm getting the error as below,

(Data error (cyclic redundancy check))
public class Main {
1 error
BUILD FAILED (total time: 13 seconds)

Help me to figure out what went wrong in the above code. Thanks guys.

SCJP 1.4, SCWCD 1.4 - Hints for you, Certified Scrum Master
Did a rm -R / to find out that I lost my entire Linux installation!
Keith Lynn
Ranch Hand

Joined: Feb 07, 2005
Posts: 2398
That doesn't sound like a Java error. It sounds more like an issue where the compiler wasn't able to read your source file because of a physical problem with the disk where you have it stored.
Deepak Bala

Joined: Feb 24, 2006
Posts: 6662

I got 2.

Looks like a crc failure. javac.exe corrupted ?

SCJP 6 articles - SCJP 5/6 mock exams - More SCJP Mocks
Joe Harry
Ranch Hand

Joined: Sep 26, 2006
Posts: 10033

Even I thought the answer would be 2. Anyways let me check this one.

Thanks guys for the help.
subject: New type of Error??
It's not a secret anymore!