Results 1 to 4 of 4
  1. #1
    akshayshukla is offline Member
    Join Date
    Apr 2012
    Posts
    2
    Rep Power
    0

    Default issues while saving a '.java' file in the bin.

    i have jdk 1.6 and jdk 1.7 version installed.when iam tring to store a .java file in any of these bins...a message prompts that says....

    "c:\program files\java\jdk1.6.0.23\bin\new.java
    you don't have permissions to save in this location.
    contact the administrator to obtain permission.

    would you like to save it MyDocument folder itself?"


    what should i do??

  2. #2
    pbrockway2 is offline Moderator
    Join Date
    Feb 2009
    Location
    New Zealand
    Posts
    4,561
    Rep Power
    11

    Default Re: issues while saving a '.java' file in the bin.

    The bin directory (folder) is not a good place to store your files. Put your files somewhere within your home directory.

  3. #3
    akshayshukla is offline Member
    Join Date
    Apr 2012
    Posts
    2
    Rep Power
    0

    Default Re: issues while saving a '.java' file in the bin.

    where should i make that other folder so that my java program works??

  4. #4
    DarrylBurke's Avatar
    DarrylBurke is online now Moderator
    Join Date
    Sep 2008
    Location
    Madgaon, Goa, India
    Posts
    10,101
    Rep Power
    17

    Default Re: issues while saving a '.java' file in the bin.

    Your OS already suggested a location to you.

    This isn't a Java question anyhow. Recent Windows versions disallow mucking around with the Program Files folder tree.

    db
    Why do they call it rush hour when nothing moves? - Robin Williams

Similar Threads

  1. Replies: 2
    Last Post: 09-21-2011, 09:33 AM
  2. Saving a File
    By sneeak in forum New To Java
    Replies: 1
    Last Post: 08-17-2011, 05:40 AM
  3. NEW to writing/saving to a file
    By hayden06f4i in forum New To Java
    Replies: 28
    Last Post: 12-06-2010, 03:23 AM
  4. Saving a file in a gui
    By rav in forum AWT / Swing
    Replies: 9
    Last Post: 07-07-2010, 05:27 PM
  5. Replies: 8
    Last Post: 02-18-2010, 12:54 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •