B
Buster
As you can probably gather im in need of help. I started a basic JAVA
course a week ago as it seems like a very interesting subject.
The problem in having is with the IDE we have been asked to use. We are
using JCreator, but in order for it to work, we are required to install the
Java software development kit and a class library which comes with the
course book called avi with is a audio visual interface library which is
supposed to make it easier for us to learn the fundimentals of JAVA without
having to worry about the input/output.
Anyways, I have installed the JAVA SDK from SUN website and instaled the
JCreator IDE but it seems to have a problem finding the avi class library as
when i run a basic "Hello World" program as a test, the following error
occurs when i compile the program:
bad class file: C:\JavaClasses\Window.class
class file contains wrong class: avi.Window
Please remove or make sure it appears in the correct subdirectory of the
classpath.
Window screen = new Window("example1.java","bold","red",72);
^
1 error
Process completed.
We where told to create a directory called JavaClass on the root directory
and set the classpath to it. The other problem is the book tells you how to
set the classpath for the SDK and the avi class library for windows 98 but
im running XP so have kind of guessed on how to set the class path.
Anyone got any ideas as i'm itching to jump into programming in JAVA but
cant until i configure the IDE.
Any help would be much appreciated
Thanx.
course a week ago as it seems like a very interesting subject.
The problem in having is with the IDE we have been asked to use. We are
using JCreator, but in order for it to work, we are required to install the
Java software development kit and a class library which comes with the
course book called avi with is a audio visual interface library which is
supposed to make it easier for us to learn the fundimentals of JAVA without
having to worry about the input/output.
Anyways, I have installed the JAVA SDK from SUN website and instaled the
JCreator IDE but it seems to have a problem finding the avi class library as
when i run a basic "Hello World" program as a test, the following error
occurs when i compile the program:
bad class file: C:\JavaClasses\Window.class
class file contains wrong class: avi.Window
Please remove or make sure it appears in the correct subdirectory of the
classpath.
Window screen = new Window("example1.java","bold","red",72);
^
1 error
Process completed.
We where told to create a directory called JavaClass on the root directory
and set the classpath to it. The other problem is the book tells you how to
set the classpath for the SDK and the avi class library for windows 98 but
im running XP so have kind of guessed on how to set the class path.
Anyone got any ideas as i'm itching to jump into programming in JAVA but
cant until i configure the IDE.
Any help would be much appreciated
Thanx.