The Author Online Book Forums are Moving

The Author Online Book Forums will soon redirect to Manning's liveBook and liveVideo. All book forum content will migrate to liveBook's discussion forum and all video forum content will migrate to liveVideo. Log in to liveBook or liveVideo with your Manning credentials to join the discussion!

Thank you for your engagement in the AoF over the years! We look forward to offering you a more enhanced forum experience.

import-bot (20211) [Avatar] Offline
[Originally posted by dandyong]

i have trouble compiling ""

1)I already set the CLASSPATH at WIndows XP:-

Variable name : CLASSPATH
Variable value: C:J3duiBooklib

2)I already put the vrml97.jar at:-


3) when i compile:-

C:J3duiBookexamplesSimpleApp> javac

There is no error but

4) when i execute:-

C:J3duiBookexamplesSimpleApp> java SimpleApp

There is an error message:

Exception in thread "main" java.lang.NoClassDefFoundError: SimpleApp
import-bot (20211) [Avatar] Offline
Re: Compile ERROR
[Originally posted by author]

Look at the ".bat" files that accompany each example. First, try executing
the bat file (or, if you are not using windows, do what it does manually, from
the same location). Note that for the examples to work the directory
structure of the release must be preserved. Second, try executing the
examples from some other location, using appropriate path modifications.