Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
The moose likes Beginning Java and the fly likes A Simple Import ... Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "A Simple Import ..." Watch "A Simple Import ..." New topic

A Simple Import ...

Emery Alan

Joined: Mar 19, 2004
Posts: 1
Hello. My name is Emery, and I have a small problem. I can't include any custom classes. I have tried everything I can think of, even copying the *.class, *.java (with and without extentions) to various folders on my hard drive. I have tried "include circle;" and "include circle.*;" and "include circle.class;" and "include;", and nothing seems to work.
OK, I have jdk 1.4, and I have jGrasp compiler installed. However, I use the command prompt to compile. To do this I had to add a path to my autoexec.bat file. I have also tried adding the directory I save my .class files to, but this does not help.
So can anyone help me? Is there a folder I need to put my files into? Should I change the extention of the file? Is it the compiled file or the source file? This is driving me nuts!!
- Emery
jason adam
Chicken Farmer ()
Ranch Hand

Joined: May 08, 2001
Posts: 1932
Moving to the Beginners forum.
I agree. Here's the link:
subject: A Simple Import ...
It's not a secret anymore!