'Hello' does not want to compile and interpret

I recently downloaded the latest JDK Update 12 from the sun website.
I typed the basic hello program. The problem is in the compiling and interpreting of the program. In the command prompt, I made a new directory(folder) titled javacoding; in which I also saved the source code for the hello world program. After which i switched to it and I set the path of bin containing the compiler and interpreter to this directory. I typed in the following; javac Hello.java.
I set the path thus: C:\javacoding> set path =%path%;C:\Program Files\Java\jdk1.6.0_11\bin;.;
However, the program does not compile and the following message is displayed instead:
'javac' is not recognized as an internal or external command, operable program or batch file.
Here is a sample of the program I typed
class Hello
/*This program displays Hello*/
public static void main (String args[])
//This is the main method
System.out.println("Hello, World!");
For the record this was done on a Vista system.
Thank you.

Melanie_Green wrote:
Variable ___________ Value
Path ______________ C:\Program Files\Java\jdk1.6.0_11\bin;
// Set this for both user and system variable*@Mel:* Ummm. Not to be too rude, but I'm almost certain that's incorrect, or atleast sub-optimal.
Presuming that the OP (that's you Ikenna) is a system administrator on there own box, then just set the system PATH... all users will pick it up from there... also setting at the user-level just appends a useless duplicate entry to the PATH, slowing down (unsucessful) path-searches... not that you'd notice.
*@OP:* Show us a dir of your jdk-bin directory... we'll need the exact command and it's output (at least down to javac.exe)... Question is: Is that directory exactly what's in your PATH? so also show us the command and output of echo %PATH% ... just post the whole command session (typos and all) between a pair of {code} tags.
Cheers. Keith.

Similar Messages

  • I connect my Macbook 13" to my thunderbolt to display on my HD television but it keeps asking for a KeyChain password for "user-hp". My key keychain password is nothing but it does not want to accept and not display my screen to the Television. Suggestion

    I connect my Macbook 13" to my thunderbolt to display on my HD television but it keeps asking for a KeyChain password for "user-hp". My key keychain password is nothing but it does not want to accept and not display my screen to the Television. Suggestion

    Apple support article:
    Mail Keeps Asking for Password
    Maybe this will help. If you monitor the "More Like This" box (top right), other threads appear. Opening them usually displays other threads.
    https://discussions.apple.com/message/20549403#20549403

  • Ipod is Frozen:  Does Not Want to Charge and Be Recognized By The PC

    Yesterday, while I was charging I noticed that the charging sign appeared and the meter was not moving. The charging sign is black not the colored one that we normally see in the 5th gen. Sometimes the apple logo appears and that's it. It's basically a frozen apple and the pc does not recognize it. I can not reset it either. Anything I should do before i smash this? Thanks.

    Try a different USB port, if that doesn't work reinstall itunes.
    kEat0n

  • My ipod touch does not want to restore and update

    I bougth this ipod touch for a long time ago but i didn't use it so now i decide to update and restore it and it shows me an errore code 1.
    I really dont know what is that so please help me !!!!!!

    ERROR (1)
    - Place the iPod in DFU mode and then restore
    How to put iPod touch / iPhone into DFU mode « Karthik's scribblings
    - Try on another computer
    - Try another cable           
    - Also, confirm your security software and settings are allowing communication between your device and update servers.
    - If still not successful that usually indicates a hardware problem and an appointment at the Genius Bar of an Apple store is in order.
      Apple Retail Store - Genius Bar     

  • HT201407 help i am trying to activate my new iPhone but it does not want to activate and att cannot get it to activate and iTunes wants me to pay $19.99 to activate my phone come on people this is ridiculous

    Can someone please tell me how to activate my new iPhone. I bought it from the at&t website and they are no help.

    I have owned every iteration of iPhone there is, and Apple has NEVER charged for activation. What on earth are you talking about here?  Describe your problem in more detail.

  • Simple program with array do not want to compile

    Please do not laugh but I wrote the following program to create a array of
    strings. The program do not want to compile and I can not see why.
    Can somebody please tell me what I am doing wrong.
    class MyArrayOfStrings5
    puplic static void main(String[] args)
    String[] anArray;
    anArray = new String[5];
    System.out.println("Value at index 2 is: " + anArray[2]);
    }

    Firstly thank you very much for responding to my cry of help. Saying that, I am a little
    confused about the fact that "new String" is being used for declaration and initialisation.
    1. String[] anArray = new String[5];
    I understand that this is telling me that variable anArray will contain String values and will
    be a array of 5
    2. anArray = new String();
    This is the one that is confusing me. Am I correct to assume that
    (because it is in a for loop) for every position in the array we are assigning
    String() to the variable anArray. Why do we need the new command before
    String()?

  • Hello  I have a problem with Mac Pro, iPhoto does not want to stay open and close as I can figure this out?  thanks

    Hello  I have a problem with Mac Pro, iPhoto does not want to stay open and close as I can figure this out?  thanks

    Refer below link once
    App doesn’t open | Progress wheel spins continually

  • Hello I'm on a Mac I did an update of my system and dreamweaver does not want to open I Error 150: 30 thank you for contacting support could someone tell me what to do

    hello
    I'm on a Mac I did an update of my system and dreamweaver does not want to open I
    Error 150: 30
    thank you for contacting support
    could someone tell me what to do

    What is the complete error message?
    If this is a licensing issue, try this:
    http://www.adobe.com/support/contact/licensing.html

  • I can not sync my iPhone to the computer. I keep getting up an error message that synchronization does not want to start. I have uninstalled iTunes and then reinstall it. But the same warning box will appear. How can I get my phone in sync again?

    Can someone please help me get my iPhone to sync to your computer?
    I can not sync my iPhone to the computer. I keep getting up an error message that synchronization does not want to start. I have uninstalled iTunes and then reinstall it. But the same warning box will appear. How can I get my phone in sync again?

    Hello lenmin,
    Thanks for using Apple Support Communities.
    To help resolve this issue where you're repeatedly prompted to authorize with your Apple ID in iTunes when syncing, please follow the directions in the article below.
    iTunes: Missing folder or incorrect permissions may prevent authorization - Apple Support
    Have a great weekend,
    Alex H.

  • Is there a way to increase the icon size (and the text below) without using zoom?  I am trying to help out someone who has moderate visual impairment that does not want to use zoom just to see the icons and their labels.

    Is there a way to increase the icon size (and the text below) without using zoom in iOS 7?  I am trying to help out someone who has moderate visual impairment that does not want to use zoom just to see the icons and their labels.

    Hello Apple.
    It seems you have gone to great lengths to improve accessibility in many areas of the iPad. Why was this obvious problem with icon text size missed?  (It's not with the Mac.). And for so long too.
    Do you employ people with actual accessibility problems to help you do UI design?
    I think too, that some buttons are too close for people who might have motor control problems.
    I love my iPad but I fear as I age, the iPad might not keep up with me.

  • My ipod touch is in dfu mode and does not want to turn on.

    my ipod touch is in dfu mode and does not want to turn on.

    What happens when you connect the iPod to your computer and restore viia iTunes?

  • I went to iCloud and my mail doesn't recognize my password but even worst my iTunes does not want to open because it says my library is blocked somewhere on a hard disk where I  have no access ...

    I went to iCloud and my mail doesn't recognize my password but even worst my iTunes does not want to open because it says my library is blocked somewhere on a hard disk where I  have no access ...
    HELP HELP

    To confirm, your existing mail client isn't communicating with your existing and remote mail services at Dreamhost? Which mail client are you using (Apple mail?), and how is mail on the client set up?
    It would initially seem that your client is still referencing the server, either for its inbound or outbound mail. (And I'm not sure how unplugging the server helps here, unless there's some sort of a configuration issue, or a duplicate network address or such.) This would usually be something within the configuration of the mail client.
    The Mac OS X Server is significantly easier than the many other servers and server operating systems I've dealt with over the years, but it requires reading the manuals and/or some knowledge of networking and of server environments.
    Small shops and home folks without the time or inclination to "spin up" on these server areas can be well-served with some help initially configuring the server. Servers are different from clients. Stuff that you're implicitly used to using when you're running a client -- the DHCP server, for instance -- are what the servers provide you with.
    As for Mac OS X Server and particularly if you head outside of the default settings and sequences and off into the customizations, which is what has happened here, you might want to engage some assistance. Not just for the direct and obvious initial set-up sequence, but also for getting you set-up and started with backups and other such tasks. Before you get too deep in here and get too much underway and too much saved on your disks, do seriously consider getting somebody in to help set this box up for you.
    Mac OS X Server is not "no IT", but it is rather closer to "less IT" than most. Particularly once you get it configured and running.

  • I bought a new imac running Loin and Office 2011. The server we use to access emails runs exchange 2003 and my IT person says the imac is not compatible with the server. The server does not want to let me access using any email software.

    I bought a new imac running Loin with Office 2011. I am the only mac in the office and the Server we use to access emails runs exchange 2003 and my IT person says the imac is not compatible with the server. The server does not want to let me access using any email software other than webmail access through our website. It looks as though 2011 is not compatible with 2003 per some searches online, but what are some options I have to gain full access again? I purchased parallels in hopes that this my help and I am able to use remote desktop connection to log on to server but can not drag and drop files I need. There is a shared drive on that Server we all use to exchange files.
    The two main issues are gaining access to my email again and ability to drag and drop files from mac to pc. I hope this is enough info to get some solutions.
    PS - IT person says my iMac's IP is what his server does not understand so that is why I can not login.

    Office 2011 is not compatbile with Exchange 2003.
    I suggest you post further Office related questions on Microsoft's own forums for their Mac software:
    http://answers.microsoft.com/en-us/mac

  • I have an ipad mini. From one moment to another a document that was created and used on pages app ( on the ipad mini) does not want to open ( When pressed it states " document cant be opened). How can I make this document open again?

    I have an ipad mini. From one moment to another a document that was created and used on pages app ( on the ipad mini) does not want to open ( When pressed it states " document cant be opened). How can I make this document open again?
    I have tried back ups and  restoring, resetting, and even updating the pages app. And nothing has worked.

    I have an ipad mini. From one moment to another a document that was created and used on pages app ( on the ipad mini) does not want to open ( When pressed it states " document cant be opened). How can I make this document open again?
    I have tried back ups and  restoring, resetting, and even updating the pages app. And nothing has worked.

  • My itunes does not want to work downloaded  5 times and still comes up with an error

    my itunes does not want to work downloaded  5 times and still comes up how can I fix this ?

    I have the same &*@#($@% problem....and I'm ******! I've tried everything. What error message are you getting? I am getting "Itunes folder could not be found or created. The default location is in my music folder". I've downloaded it a million times. It worked at first by going to a specific song and clicking it and/or plugging in my IPOD, but that stopped also.

Maybe you are looking for

  • Problem in deploying war file

    Hi, I have a problem in deploying a war file in Weblogic 7. I have deployed successfully a jar file containing an ejb. I would like to deploy a war file which web.xml has an <ejb-ref> element referencing a session bean contained in the jar previously

  • Data validations in XI or ABAP report

    Hi All,           What kind of data validations should be done in XI and what kinds should be left for ABAP team to handle in the report or proxies? Regards, XIer

  • Connection recv error in jolt connection

    Hi, We have Java GUI client connecting to the Tuxedo server thru Jolt. When we try to do some operation that connects to server after the GUI is idle for a about an hour we get Jolt error "Connection recv error" , sometimes we also get the error "Con

  • Disappearing videos from the slides of Keynote in retina display 15" Macbook Pro

    After transferring to retina 15" display macbook pro, keynote started to delete videos from the presentations without leaving a sort of mark or placeholder but just an empty slide.

  • Removing specific cells from different columns.

    Hi friends, My requirement is somewhat peculiar. I dont know anyone have already implemented that. I have 4 columns, 11 rows in my JTable. Now i want to display all the 11 rows (i.e to be specific cells ) for first two columns, and just 8 for the nex