I just bought this book and can't get the demorunner or scriptrunner java
apps to work on either Mac OS X 10.2.6, or WinXP. Both are running some
version of JDK 1.4 (1.4.2 on windows, 1.4.1 on OS X).

On the Mac, if I double-click the demorunner script file (I've chmod'ed it
to be executable) OR if I manually invoke it via a terminal shell with
"demorunner", I do get the demo browser window to come up, but anything I
try to double click results in an error dialog that states "Could not start
demo : runsnippet: not found".

(I had to place the glf.jar file in the /Library/Java/Extensions directory
to even get this far - including it in the classpath in the demorunner
script wasn't working.).

On Windows XP, if I double-click the demorunner.bat file, I do get the demo
browser window, but double-clicking any actual demo in the tree gives me an
error dialog such as: "Could not start demo: CreateProcess: runsnippet
HelloRenderingModel error=2".

If I had the source code to the Main class object (DemoRunner) I could try
to debug this myself, but the source is NOT included for the demo runner
classes (just for the GLF), and I can't find an updated version on either
the Prentice Hall, java.net, or java.sun.com sites.

One thing that is immediately apparent is that the DemoRunner class is in
the default package, and that's problematic in JDK version 1.3 and greater.
But again, if I had the source code for this class I could figure out what
the problem is.

Any pointers to the source code, or an updated version of the source
code/examples CD for the Java 2D API Graphics book? (It IS, after all, the
'official' Sun Microsystems Press.)

Thanks!

Rob

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA2D-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to