Search:

Type: Posts; User: ch103

Page 1 of 2 1 2

Search: Search took 0.07 seconds.

  1. Re: Does Java create the following undeletable embedded-null registry entry..?

    I am not sure what the answer is to your registry entry.

    However, I will say that I experienced enough issues with a botched installation of Java that I had to back up all my files and have a...
  2. Replies
    21
    Views
    8,493

    Re: Invalid String Parameter Exception

    ok everyone I need up mark this thread as complete/resolved.

    My error was that I did not place my If statement directly beneath my main method.

    Here is my code that generates an error...
  3. Replies
    21
    Views
    8,493

    Re: Invalid String Parameter Exception

    ok i will - thank you, sorry for coming off as ameteurish.


    /** This program accepts three strings as parameters from the command line and will display an error message if anything
    other than...
  4. Replies
    21
    Views
    8,493

    Re: Invalid String Parameter Exception

    my code compiles - no errors there.

    as of now when i enter 4 strings on the command line the program compares the first three (which it is supposed to do) and ranks them. It just ignores the...
  5. Replies
    21
    Views
    8,493

    Re: Invalid String Parameter Exception

    Hi Norm,

    Here is my code - whenever a user enters more or less then Three Strings i need the program to exit and display an error message. I am trying to acheive this via a try catch exception....
  6. Replies
    21
    Views
    8,493

    Re: Invalid String Parameter Exception

    Some good news. After re-reading my program requirements I realized that my requirement was not to create an error message when non Ints were passed, but instead I need to create an error message...
  7. Replies
    21
    Views
    8,493

    Re: Invalid String Parameter Exception

    looking now!
  8. Replies
    21
    Views
    8,493

    Re: Invalid String Parameter Exception

    Int's can be passed as arguments as my code stands right now. I do not know how I can get an exception thrown when non Int values are entered on the command line.

    None of the three examples you...
  9. Replies
    21
    Views
    8,493

    Re: Invalid String Parameter Exception

    how do I define a String? As of now I have assumed it is any String of Char(s).

    An invalid string is an int or anyother special character.

    Thanks again Norm.
  10. Replies
    21
    Views
    8,493

    Re: Invalid String Parameter Exception

    Hi Norm, I am eternally grateful for all of your help. I went back and edited my first post. it now compiles but still does not work.

    The project still allows int to be passed as parameters and...
  11. Replies
    21
    Views
    8,493

    Re: Invalid String Parameter Exception

    Thank You for your help. Below is my code for my String Program.

    The compiling error I keep getting begins and ends with the "try catch" exception. The program has to understand when any non int...
  12. Replies
    21
    Views
    8,493

    Re: Invalid String Parameter Exception

    ok so i found out that parse.String doesnt even exist.

    I need to know how to get an illegal argument exception thrown when any non string parameter is passed on the command line and I am...
  13. Replies
    21
    Views
    8,493

    Re: Invalid String Parameter Exception

    I might add that the compiler is pointing at this code as the reason for my errors. I am trying to Parse the parameters as Strings. Please let me know if I am doing this correctly.

    try
    {
    s1...
  14. Replies
    21
    Views
    8,493

    Invalid String Parameter Exception

    Hi All,

    I've encountered another issue which I need the teams help from. I am required to write a program that accepts three string values as parameters. They are entered at the command...
  15. Replies
    11
    Views
    3,391

    Examples of Try Catch Exceptions

    Hi All,

    I have written a basic program that allows users to enter three integars on the command lines and then sums the integers, then provides an average of the three integars.

    Can anyone...
  16. Replies
    7
    Views
    1,404

    Re: CMD line is owning me

    thank you for your help Junky but it did not work. here is one think that I think is contributing to my problem.

    I have jre6 in Program Files (x86)\Java 64 bit

    I have jdk1.6.0_29 in...
  17. Replies
    7
    Views
    1,404

    Re: CMD line is owning me

    Ok everyone, I am still having issues with this and am really at a crossroads on this. I am still getting the same error message as I originally posted.

    Note - my Path variable has been set...
  18. Replies
    7
    Views
    1,404

    CMD line is owning me

    Ok everyone - I believe that I am having Path issues with my compiler. I have compiled and run code many times. In this case it is the basic helloworldapp in the tutorial. I do not know what to...
  19. Replies
    1
    Views
    1,805

    Re: Java Installation with no Registry Key?

    just to give closure to this issue I ended up having a friend reinstall my hard-drive. I reinstalled Java, this time with no corrupted version in the way, and poof - Java is working!
  20. Replies
    4
    Views
    1,734

    Re: JAVA1 - Final Project

    Since I am only "almost" done the 1st of a 3 part Java certification program I could be wrong but I thought that you only needed ";" after statements and not while declaring methods...
  21. Replies
    4
    Views
    1,734

    JAVA1 - Final Project

    Hi All,

    I am working on my first final project for JAVA certification. I am trying to make a simple bank account. The bank account contains Transactions and my main method is going to be in...
  22. Replies
    1
    Views
    1,805

    Java Installation with no Registry Key?

    Hi All,

    During my initial installation of jdk I encountered an error, 1723, which required an Uninstall and Reinstall to resolve the issue.

    After going through alot of effort a friend...
  23. Replies
    26
    Views
    4,843

    Re: Java Tutorial Problem - HelloWorldApp

    Hey SerratedMind, im not terribly overwhelmed id say closer to frustrated with work, trying to get into school, and trying to learn a new language on top of that.

    Norm has been an incredible...
  24. Replies
    26
    Views
    4,843

    Re: Java Tutorial Problem - HelloWorldApp

    Hi Norm, is there a way I can private message you and send you my DOS outputs? Id do it here but since the folder path contains my name, Id rather not.

    Again, your help to me is been...
  25. Replies
    26
    Views
    4,843

    Re: Java Tutorial Problem - HelloWorldApp

    Norm, your help has been invaluable to me. My course instructor understands that programming is new to me, but some of her reactions to my questions are amusing, if you are her, and frustrating if...
Results 1 to 25 of 34
Page 1 of 2 1 2