View Single Post
  #2 (permalink)  
Old 12-28-2007, 04:56 PM
wsaryada wsaryada is offline
Senior Member
 
Join Date: Jun 2007
Location: Bali, ID
Posts: 100
wsaryada is on a distinguished road
The error says that it cannot found your DrawRect in the classpath. Basically adding a "." to the classpath solve the problem as you execute the class from inside the same folder. So try to update the classpath to:

Code:
set CLASSPATH=C:\Program Files\Java\jdk1.6.0_03\bin\element.zip;.
or you can define the classpath when you execute the java command with -cp or -classpath option set.
__________________
Website:
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
- Blog:
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
Reply With Quote