Building a Simple Java Application in Mac OS X
Subject:   Also having trouble with first page
Date:   2002-09-24 08:17:22
From:   anonymous2
Running 10.1.5 with December 2001 dev tools. First application compiles fine, but

[ghiscpc7:~/java/ninesquares] hanley% javac
[ghiscpc7:~/java/ninesquares] hanley% java NineSquares.NineSquares
Exception in thread "main" java.lang.NoClassDefFoundError: NineSquares/NineSquares

A lot of people seem to be having this trouble. I tried fooling around with the classpath stuff, but I don't think that's it. Perhaps the author could comment on the problems a few of us seem to be having?

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

1 to 1 of 1