View Single Post
  #3 (permalink)  
Old 12-28-2007, 09:48 PM
BlitzA BlitzA is offline
Member
 
Join Date: Dec 2007
Posts: 11
BlitzA is on a distinguished road
Quote:
Originally Posted by wsaryada View Post
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.
Ah, excellent i'll try that when I get back from work.

What exactally does adding "." do then?

Can you explain classpath to me, I've kinda fumbled onto where i'm at now without really knowing what i'm doing.

I'm not meant to have things running from the bin folder either am I? ha.

Cheers bud.

edit: nice site in sig.

Last edited by BlitzA : 12-28-2007 at 09:51 PM.
Reply With Quote