Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Java > Java and JDK > Java Basics
|
Java Basics General beginning Java language questions that don't fit in one of the more specific forums. Please specify what version.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Java Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old August 27th, 2006, 04:11 PM
Authorized User
 
Join Date: Jul 2006
Posts: 36
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to ironchef
Default multi file programs

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
__________________
<b>IronChef</b> - http://www.freewebs.com/cool_recipes
 
Old August 29th, 2006, 12:59 PM
Authorized User
 
Join Date: Jun 2006
Posts: 22
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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 .

 
Old August 29th, 2006, 06:36 PM
Authorized User
 
Join Date: Jul 2006
Posts: 36
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to ironchef
Default

if by "set path" you mean cd\....\jdk1.4\bin i've done that
if you mean something else, please do tell:D
 
Old September 2nd, 2006, 09:05 PM
Registered User
 
Join Date: Aug 2006
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to hotleave
Default

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.


ÎÒÃǶ¼ÊǹÂÒíµÄÌìʹ
Ö»ÓÐÏ໥ӵ±§²ÅÄÜ·ÉÏè





Similar Threads
Thread Thread Starter Forum Replies Last Post
how do i distribute my programs to others ? jerryham VB.NET 7 September 29th, 2008 01:52 PM
multi-multi-multiple Insert with subquery??? jmjyiannis SQL Server 2000 1 May 5th, 2006 02:20 PM
Image Programs bmains Intro Programming 1 March 9th, 2006 08:54 AM
Help me run my programs Huma Naqvi General .NET 8 September 6th, 2004 01:32 AM
EXE Programs zhenwe1 Servlets 1 December 1st, 2003 10:29 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.