Search:

Type: Posts; User: newtojava2011

Search: Search took 0.10 seconds.

  1. Replies
    21
    Views
    3,405

    Re: Issues with ascending number program

    Not sure if this helps but when I try and complile it says under tool output "tool completed with exit code 1"
  2. Replies
    21
    Views
    3,405

    Re: Issues with ascending number program

    Usage: java [-options] class [args...]
    (to execute a class)
    or java [-options] -jar jarfile [args...]
    (to execute a jar file)

    where options include:
    -client ...
  3. Replies
    21
    Views
    3,405

    Re: Issues with ascending number program

    Thanks for the help by the way
  4. Replies
    21
    Views
    3,405

    Re: Issues with ascending number program

    Not sure if I'm understanding you correctly but yes my compiler works fine, this program is just not compiling. Sorry if I seem like an idiot I am new to programming and do not completely understand...
  5. Replies
    21
    Views
    3,405

    Re: Issues with ascending number program

    The compiler
  6. Replies
    21
    Views
    3,405

    Re: Issues with ascending number program

    Not sure if this is what your asking for but im using TextPad. Saved as .java but hasn't compiled so it wont save as .class file yet.
  7. Replies
    21
    Views
    3,405

    Re: Issues with ascending number program

    That help at all?
  8. Replies
    21
    Views
    3,405

    Re: Issues with ascending number program

    Usage: java [-options] class [args...]
    (to execute a class)
    or java [-options] -jar jarfile [args...]
    (to execute a jar file)

    where options include:
    -client ...
  9. Replies
    21
    Views
    3,405

    Re: Issues with ascending number program

    Exception in thread "main" java.lang.NoClassDefFoundError: AscendingOrder
    Press any key to continue . . .
  10. Replies
    21
    Views
    3,405

    Re: Issues with ascending number program

    Any help would be greatly appreciated
  11. Replies
    21
    Views
    3,405

    Re: Issues with ascending number program

    Still not compiling for some reason telling me exception in thread "main"


    import java.io.*;
    import java.util.*;

    public class AscendingOrder
    {

    public static void main(String[]args)...
  12. Replies
    21
    Views
    3,405

    Re: Issues with ascending number program

    Thanks, and will do next time
  13. Replies
    21
    Views
    3,405

    Issues with ascending number program

    I am new to java as the name states. I am attempting a program where you need to input three numbers from a file and list them in ascending order. I need to use if and if else statements only, no...
Results 1 to 13 of 13