Help With Java Compile ACM Package
Posted: Fri Sep 14, 2007 12:31 pm
Hello -
I am getting a error message saying "package acm does not exist" and returns an error code of 1. I verified JDK is installed and the acm file is located in C:\Program Files\Java\jdk1.6.0_02\jre\lib\ext path.
Here Is The Code I'm Trying To Compile:
import acm.*;
public class foo
{
public void run()
{
GCanvas gc = new GCanvas();
GTurtle bob = new GTurtle();
gc.add(bob);
bob.setLocation(200,200);
}
}
I'm a newb so any help would be appreciated.
I am getting a error message saying "package acm does not exist" and returns an error code of 1. I verified JDK is installed and the acm file is located in C:\Program Files\Java\jdk1.6.0_02\jre\lib\ext path.
Here Is The Code I'm Trying To Compile:
import acm.*;
public class foo
{
public void run()
{
GCanvas gc = new GCanvas();
GTurtle bob = new GTurtle();
gc.add(bob);
bob.setLocation(200,200);
}
}
I'm a newb so any help would be appreciated.