John B. Matthews wrote:
In article
<3dd282bc-33b7-4025-86b2-c2ff945ca4dd@p23g2000vbl.googlegroups.com>,
pochis40 <pochis40@yahoo.it> wrote:
I'm a newbie in java, and I'm trying to understand this demo applet:
http://java.sun.com/applets/jdk/1.4/demo/applets/GraphLayout/example1.
html. I saved the html page, and, in the same directory, I put
Graph.class, but every browser answers:
"java.lang.ClassNotFoundException: Graph.class, etc..."
I am unable to reproduce the error you describe. Try this from the
command line:
cd "\Program Files\Java\jdk1.6.0_16\demo\applets\GraphLayout"
..\..\..\bin\appletviewer.exe example1.html
My CLASSPATH is: .;c:\C:\Programmi\Java\jdk1.6.0_16\lib;C:\Programmi
\JavaFX\javafx-sdk1.2\lib;
Really? Is that how it's supposed to be on Windows? I don't think it's
relevant to your problem, but it might help to cut and paste the actual
results you're getting.
That's a messed-up classpath. "c:\C:\"? Putting the JDK in the path?