Welcome to the Java Programming Forums

The professional, friendly Java community. 21,500 members and growing!

The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 3 of 3

Thread: Problem of saving

  1. #1
    Junior Member
    Join Date
    Dec 2010
    Thanked 0 Times in 0 Posts

    Default Problem of saving

    Hello guys, am a user of Java Programming and am using jdk1.6.0 upgraded version,each time i try to save the source file of my program into this directory c:\program files\java\jdk1.6.0_22\bin, all i keep getting is "you don't have permission to save in this location contact administrative to obtain permission" ,despite working in an administrative environment.please what do i do?

  2. #2
    Join Date
    May 2010
    North Central Illinois
    My Mood
    Thanked 112 Times in 110 Posts

    Default Re: Problem of saving

    1.) Let yourself get permission.
    2.) Maybe you're not supposed to save in the jdk folder.

    Saving a file with project name Project, package name packageName and class Example


    Don't save in the programfiles directory.

  3. The Following User Says Thank You to javapenguin For This Useful Post:

    oluwaseun (December 14th, 2010)

  4. #3
    Join Date
    Nov 2010
    New Zealand
    Thanked 4 Times in 4 Posts

    Default Re: Problem of saving

    A good idea is to create a sepatate directory where you store all your projects. A classic name for that would be work. Not only do you always know where your own files are, it's also handy to keep them separate from the installed files in case you want to move to a second computer where you already installed your programming environment.

Similar Threads

  1. Saving a file using a dialog box
    By Deprogrammer in forum What's Wrong With My Code?
    Replies: 1
    Last Post: December 5th, 2010, 05:21 PM
  2. need help with saving data
    By bardd in forum Java Theory & Questions
    Replies: 5
    Last Post: September 19th, 2010, 02:33 PM
  3. saving xml file
    By LOL in forum What's Wrong With My Code?
    Replies: 1
    Last Post: May 18th, 2010, 05:45 AM
  4. [SOLVED] Saving A File?
    By MysticDeath in forum File I/O & Other I/O Streams
    Replies: 0
    Last Post: August 1st, 2009, 11:56 AM