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.


>> REGISTER NOW TO START POSTING


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

Results 1 to 2 of 2

Thread: Please compile this program and see if it gives you an error

  1. #1

    Default Please compile this program and see if it gives you an error

    https://rapidshare.com/files/3279493...n_manager.java

    True you have no incentive to compile it - but at least you'll get a rudimentary database program out of it. I created this using JDK 1.7.0_07. You'll get an exception at first because you don't have the file "the_person_modification_database.txt" located in your My Documents. You can change that path. It gives me this error: "Exception in thread 'main' java.lang StringIidexOutOfBoundsException: String index out of range: 7, at java.lang.String.substring(String.java:1907), at person_Manager.main(person-Manager.java:108)." I'm guessing it's not going to give you that error. There are four possible functions, located at the end of the main function:

    addData();
    savelist();
    search();
    addName(); (this one's not completed)


  2. #2
    Super Moderator jps's Avatar
    Join Date
    Jul 2012
    Posts
    2,642
    My Mood
    Daring
    Thanks
    90
    Thanked 263 Times in 232 Posts

    Default Re: Please compile this program and see if it gives you an error

    If you want help on code please post the code on the forum. It is fine to link it too, but to preserve content on the site we ask that you post it in the thread too. We can not guarantee if or how long third party sites will make the content available. See the announcements page for the use of code tags and other forum related information.

Similar Threads

  1. Java 2D Example compile error
    By weziw in forum Java SE APIs
    Replies: 1
    Last Post: April 2nd, 2012, 07:57 AM
  2. Error while compile
    By when im gone in forum What's Wrong With My Code?
    Replies: 3
    Last Post: January 7th, 2012, 10:53 AM
  3. [Compile Error] Whats wrong with that ?
    By Anomis in forum What's Wrong With My Code?
    Replies: 1
    Last Post: June 5th, 2011, 11:01 AM
  4. Compile Error, tried everything please help
    By cdub0 in forum What's Wrong With My Code?
    Replies: 2
    Last Post: May 17th, 2011, 03:31 AM
  5. What's wrong. Compile Ok but error when execute.
    By hantuapi in forum What's Wrong With My Code?
    Replies: 7
    Last Post: April 1st, 2011, 05:33 AM