|
Subject:
|
multi file programs
|
|
Posted By:
|
ironchef
|
Post Date:
|
8/27/2006 4:11:51 PM
|
im in ch 5 in my book and i just got to my first multi-file program
i put both files CreateSpheres.java and Sphere.java in a folder called CreateSpheres
every time i try to compile it with javac it says javac is is an external command and doesn't recognize it
i would really appreciate some help! Thanks
|
|
Reply By:
|
bhavesh bhanushali
|
Reply Date:
|
8/29/2006 12:59:02 PM
|
Well i think you havent done the "set path= path top your jdk bin floder" before trying to use the javac command .
Even after doing this if the problem still pertains do let us know .
|
|
Reply By:
|
ironchef
|
Reply Date:
|
8/29/2006 6:36:33 PM
|
if by "set path" you mean cd\....\jdk1.4\bin i've done that if you mean something else, please do tell
|
|
Reply By:
|
hotleave
|
Reply Date:
|
9/2/2006 9:05:54 PM
|
when you try to compile you file, just do it like this:set path=c:\jdk\bin(changed it to your jdk bin folder) javac yourfileName.java
have a try.
ÎÒÃǶ¼ÊǹÂÒíµÄÌìʹ Ö»ÓÐÏ໥ӵ±§²ÅÄÜ·ÉÏè
|