Results 1 to 8 of 8

Thread: Eclipse won't compile/run programs

  1. #1
    Keepin' it Metal .Maleficus.'s Avatar
    Join Date
    Jun 2006
    Location
    The Dairy State...
    Posts
    3,347

    Default Eclipse won't compile/run programs

    This is probably the wrong place to ask this, but I thought I'd try here first.

    Yesterday I was working on some stuff in Eclipse and everything was fine. I went from working on one project fine, to working on nothing fast. After I closed the first project and started the second, clicking "Run" didn't do anything. No Exceptions, the code is fine... it just sat there. The only message I see is "<terminated, exit value: 0>C:\Program Files\Java\jdk1.6.0_02\bin\javaw.exe (12/10/07)". I don't have any idea what that means :|. When I click "Debug" I get "<disconnected>Lesson2 at localhost:1233".

    Any ideas?
    RIP Bucko

  2. #2
    Code Monkey NightrainSrt4's Avatar
    Join Date
    Jun 2007
    Location
    Your cookie jar
    Posts
    2,679

    Default Re: Eclipse won't compile/run programs

    Sorry dude, I don't think I can help you, as I don't know what Eclipse is. By the looks of it it looks like some sort of development environment for java?

    Did you compile before you clicked run? Or maybe it does it for you when you click it. For java I do most all of my work from command line and notepad. Just easier for me than a development environment.

    Sorry if I am way off, if I had experience with Eclipse then I could help you.

  3. #3
    Keepin' it Metal .Maleficus.'s Avatar
    Join Date
    Jun 2006
    Location
    The Dairy State...
    Posts
    3,347

    Default Re: Eclipse won't compile/run programs

    "Run" is like the compile-and-run of Eclipse. And yes, it is a Java IDE .

    I figured I wouldn't get much here, but I'd rather try here first than go straight to the Sun Forums (if anyone has been there before you'll know why)...
    RIP Bucko

  4. #4
    Code Monkey NightrainSrt4's Avatar
    Join Date
    Jun 2007
    Location
    Your cookie jar
    Posts
    2,679

    Default Re: Eclipse won't compile/run programs

    Ya the SUN forums might be a good place to ask around. Like I said I am not familiar with the IDE's. I like to have control over everything and don't like an all in one type package. If eclipse has a forum it might be good to check there as well. But the guys over at the SUN forums have usually been pretty knowledgeable.

  5. #5
    Keepin' it Metal .Maleficus.'s Avatar
    Join Date
    Jun 2006
    Location
    The Dairy State...
    Posts
    3,347

    Default Re: Eclipse won't compile/run programs

    OMFG.

    I figured out the problem. The program kept terminating because (in my code) I had never started it. The whole time it was because I forgot the line "app.start();".
    RIP Bucko

  6. #6
    Sunshine Flavored Lollipops Zephik's Avatar
    Join Date
    Oct 2006
    Location
    Spokane, Washington
    Posts
    5,145

    Default Re: Eclipse won't compile/run programs

    Quote Originally Posted by .Maleficus. View Post
    OMFG.

    I figured out the problem. The program kept terminating because (in my code) I had never started it. The whole time it was because I forgot the line "app.start();".
    Lmao, oh man, thats embarrassing now isn't it!

    Sometimes my brain forgets that start command. Like when eating something, I'll literally forget to chew and just go straight to swallow. Its really weird. I'll have to ask my brain if it keeps forgetting that line of code next time it happens. :p
    People are stupid; given proper motivation, almost anyone will believe almost anything. Because people are stupid, they will believe a lie because they want to believe it's true, or because they are afraid it might be true. People’s heads are full of knowledge, facts, and beliefs, and most of it is false, yet they think it all true. People are stupid; they can only rarely tell the difference between a lie and the truth, and yet they are confident they can, and so are all the easier to fool.

  7. #7
    Keepin' it Metal .Maleficus.'s Avatar
    Join Date
    Jun 2006
    Location
    The Dairy State...
    Posts
    3,347

    Default Re: Eclipse won't compile/run programs

    Quote Originally Posted by Zephik View Post
    Lmao, oh man, thats embarrassing now isn't it!

    Sometimes my brain forgets that start command. Like when eating something, I'll literally forget to chew and just go straight to swallow. Its really weird. I'll have to ask my brain if it keeps forgetting that line of code next time it happens. :p
    Why yes, it is embarrasing . That's why I was so damn confused, like, I look and there are no squiggly lines indicating bad code, so I thought that wasn't the problem... But boy was I wrong :p.

    Maybe I need to go back to bed .
    RIP Bucko

  8. #8
    Linux dabbler IndyRacer27's Avatar
    Join Date
    Apr 2007
    Location
    Northern Canada
    Posts
    253

    Default Re: Eclipse won't compile/run programs

    Sometimes when I just can't figure out the problem with my coding, I walk away from it, or work on something else for a while. It's amazing how many times I've found the problem right away when I come back to it later.

    BTW Happy Birthday
    My goal in life is to earn enough money to enjoy the lifestyle that my wife and kids do.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •