Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 5 of 5

Thread: can anyone explain this?

  1. #1
    Java kindergarten chronoz13's Avatar
    Join Date
    Mar 2009
    Location
    Philippines
    Posts
    659
    Thanks
    177
    Thanked 30 Times in 28 Posts

    Default can anyone explain this?

    a while ago.. i was coding a program , editing it, compiling it. and suddenly the electricity went out..
    then it came back.. and then I continued coding the program again and the electricity went out again..

    after a few hours.. I saw one of the .java files in my package indicating that there was an error..
    i checked it out.. but theres nothing wrong.. so what I did is I copied that .java file(I didnt change anything) and then pasted it in another blank file.. then the error disappeared..(it compiled normlaly)

    and the program's code that I was editing was corrupted and became a series of square characters..
    (a character that will be made by pressing 'ctrl + backspace' )

    what happened to my IDE?
    will I have any future problem regarding this matter?
    coz i have lots of exercises in my files.. and if woud i have any future errors..OH GOD.. im gonna edit it all.
    I was bothered by that problem that the last program's code that i was editing became a series of
    square characters.(ctrl + backspace)


  2. #2
    Super Moderator helloworld922's Avatar
    Join Date
    Jun 2009
    Posts
    2,895
    Thanks
    23
    Thanked 619 Times in 561 Posts
    Blog Entries
    18

    Default Re: can anyone explain this?

    Are you using Eclipse? Yeah, I have that problem too sometimes. It's nothing serious, it happens because of the way Eclipse tracks errors/builds. If you do a clean build, it should get rid of all the errors.

  3. #3
    Super Moderator Json's Avatar
    Join Date
    Jul 2009
    Location
    Warrington, United Kingdom
    Posts
    1,274
    My Mood
    Happy
    Thanks
    70
    Thanked 156 Times in 152 Posts

    Default Re: can anyone explain this?

    Yeah, you can select Project -> Clean in the menu and clean that specific project and it will remove all errors on it.

    // Json

  4. #4
    Junior Member
    Join Date
    Oct 2009
    Posts
    3
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default Re: can anyone explain this?

    Hold up!Hold up!Hold up ya'll!

    What is this Eclipse? Is it a Java compiler?

    Help!!

  5. #5
    Super Moderator Json's Avatar
    Join Date
    Jul 2009
    Location
    Warrington, United Kingdom
    Posts
    1,274
    My Mood
    Happy
    Thanks
    70
    Thanked 156 Times in 152 Posts

    Default Re: can anyone explain this?

    Eclipse is a full blown IDE for developing in C++, Java, PHP or whatever language you fancy really. Have a look at Eclipse.org home

    // Json