Link to home
Start Free TrialLog in
Avatar of LeftHandedPants
LeftHandedPants

asked on

package javabook does not exist- error in JCreator

I am creating a program with JCreator.  The program code is mostly irrelevant to my question here, which is:  Upon compiling I get only 2 errors: 1) "package javabook does not exist" and 2) "cannot access MainWindow" ... what do i need to do to get this thing to compile correctly?  I know i need to do something with some sort of javabook.zip or javabook.jar file.  However i only have the latter in my knowing posession.  What's a jar file and what do i do with it?  I have "import javabook.*;" at the begginning of the code for the class.  

The basic code for what my program is is (most importantly) here: http://www.messiah.edu/acdept/depthome/mathsci/csc1812004-2005/Lab4/JavaProgs/BMIExample/Step4/BMICalculator.txt
and here: http://www.messiah.edu/acdept/depthome/mathsci/csc1812004-2005/Lab4/JavaProgs/BMIExample/Step4/BMICalculatorMain.txt

This whole instanciable class stuff very confusing, so hopefully that has nothing to do with this error.
ANY advice/teaching asap is greatly appreciated!  Thanks
SOLUTION
Avatar of DrWarezz
DrWarezz

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of sudhakar_koundinya
sudhakar_koundinya

>>import javabook.*

Is Javabook package is Jar File??

If so, Check if this Jar file is added in JCreator's class path

Regards
Sudhakar
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of LeftHandedPants

ASKER

thank you VERY MUCH!  You have made me very happy for the moment.
Thanks

Glad, I helped you :-)

Thank You :-)
welcome man