Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / First Aid / May 2004

Tip: Looking for answers? Try searching our database.

Extremely New Java Programmer - JavaC?

Thread view: 
Tim Mierzejewski - 08 May 2004 01:23 GMT
I have experience with C++, and just picked up a book to learn Java: "Java
2: Primer Plus" by Sams Publishing. It's having me compile HelloWorld.java
by typing "javac HelloWorld.java" at the command prompt (after having
installed the SDK and written HelloWorld.java) and I get a message saying
that " 'javac' is not recognized as an internal or external command,
operable program or batch file", presumably the long way of saying "Bad
command or file name." What am I missing here?

Sorry for being so newbie,
Tim
Karthik - 08 May 2004 04:59 GMT
> I have experience with C++, and just picked up a book to learn Java: "Java
> 2: Primer Plus" by Sams Publishing. It's having me compile HelloWorld.java
[quoted text clipped - 6 lines]
> Sorry for being so newbie,
> Tim

 Understandably, $JAVA_HOME/bin is not in your PATH.

Signature

 Karthik.
 Humans please 'removeme_' for my real email.

Roedy Green - 08 May 2004 07:45 GMT
> It's having me compile HelloWorld.java

see http://mindprod.com/jgloss/jdk.html for setting up java home and
your path.

--
Canadian Mind Products, Roedy Green.
Coaching, problem solving, economical contract programming.
See http://mindprod.com/jgloss/jgloss.html for The Java Glossary.
Tony Morris - 08 May 2004 05:11 GMT
> Sorry for being so newbie,

http://www.xdweb.net/~dibblego/java/faq/answers.html#q3
http://java.sun.com/j2se/1.4.2/install.html

Signature

Tony Morris
(BInfTech, Cert 3 I.T., SCJP[1.4], SCJD)
Software Engineer
IBM Australia - Tivoli Security Software
(2003 VTR1000F)



Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.