Skip to Main Content

Java APIs

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Import turtle problems

843810Apr 2 2009 — edited Apr 2 2009
Hi,
I'm trying to run a basic turtle script. i have a folder called pps which has classes including a folder containing the turtle classes in it.
i've saved the pps folder to C:\kxt101\classes
my user and system variable CLASSPATH (under: control panal\system\Advanced System settings\ Enviromental variables (using windows vista)) is set to C:\kxt101\classes;.

on using java i import the turtle via:

import pps.turtle.*;

the error i get is:
C:\TurtleShape.java:2: package pps.turtle does not exist
import pps.turtle.*;
^

i'm pretty sure that java doesn't see the package i wanted to add, can anyone help?
thanks
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 30 2009
Added on Apr 2 2009
1 comment
308 views