Try this: "C:\Program Files\Java\jdk1..6.0_02\bin\javac" Hello.java make sure you have the " ".
----- Original Message ----- From: "Sara Henry" <[email protected]> To: [email protected] Sent: Thursday, July 9, 2009 7:49:27 AM GMT -06:00 US/Canada Central Subject: [java programming] regarding installation of jdk/jre Hello Everyone, I am just a beginner for the J2SE course. I have a little confusion with jdk and jre on my disk i may see 3 directories in java directory, already lying there with the names jre1.6.0_02, jre1.6..0_07 andd jre6. If we say JRE is a part of JDK then I don't need to install for JDK? I am trying to compile my program in console using command at the command promt C:\Program Files\Java\jdk1..6.0_02\bin\javac Hello.java But it isn't helping.. :( Can anybody help me with setting paths and class paths and compiling and running prog at command prompt. Thanks --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/javaprogrammingwithpassion?hl=en -~----------~----~----~----~------~----~------~--~---
