Building a Simple Java Application in Mac OS X
Subject:   Try banging your head against the wall for a bit
Date:   2003-02-07 17:46:04
From:   anonymous2
I couldn't get it to run either the first dozen times. For some inexplicable reason after a few rounds of getting rid of the old .class files and retyping parts of the code that weren't being executed and rebuilding, it started to work. I then had a similar problem with responding to the MouseEvent. Several (clean, retype and recompile)s later it started to work. I didn't find any bugs or typos it just started working. Managed to get all the way though it but I am slightly balder now because of it.

I really hope this is stab it the dark method is not typical of Java development. What kind of tools are there for debugging? There would obviously be something that comes with an IDE so using a generic text editor can be a problem, but there must be some cli tools.

1 to 1 of 1
  1. Daniel H. Steinberg photo Author's response
    2003-02-10 07:45:37  Daniel H. Steinberg | O'Reilly AuthorO'Reilly Blogger [View]

    • figured out NoClassDef error problem
      2003-04-05 13:10:28  anonymous2 [View]

      • again: figured out NoClassDef error problem
        2003-04-05 13:12:51  anonymous2 [View]

1 to 1 of 1