1 2 Previous Next 20 Replies Latest reply: Oct 22, 2008 3:07 PM by 793982 Go to original post RSS
      • 15. Re: Recursive mergeSort... small problem with infinate recursion.
        807589
        were getting closer and closer to getting this sorted i think...

        it compiles now without a problem, but has a very weird output that I've never seen before...

        your being so helpful, thanks
        --------------------Configuration: <Default>--------------------
        Usage: java [-options] class [args...]
                   (to execute a class)
           or  java [-options] -jar jarfile [args...]
                   (to execute a jar file)
        
        where options include:
            -client   to select the "client" VM
            -server   to select the "server" VM
            -hotspot      is a synonym for the "client" VM  [deprecated]
                          The default VM is client.
                          
            -cp <class search path of directories and zip/jar files>
            -classpath <class search path of directories and zip/jar files>
                          A ; separated list of directories, JAR archives,
                          and ZIP archives to search for class files.
            -D<name>=<value>
                          set a system property
            -verbose[:class|gc|jni]
                          enable verbose output
            -version      print product version and exit
            -version:<value>
                          require the specified version to run
            -showversion  print product version and continue
            -jre-restrict-search | -jre-no-restrict-search
                          include/exclude user private JREs in the version search
            -? -help      print this help message
            -X            print help on non-standard options
            -ea[:<packagename>...|:<classname>]
            -enableassertions[:<packagename>...|:<classname>]
                          enable assertions
            -da[:<packagename>...|:<classname>]
            -disableassertions[:<packagename>...|:<classname>]
                          disable assertions
            -esa | -enablesystemassertions
                          enable system assertions
            -dsa | -disablesystemassertions
                          disable system assertions
            -agentlib:<libname>[=<options>]
                          load native agent library <libname>, e.g. -agentlib:hprof
                            see also, -agentlib:jdwp=help and -agentlib:hprof=help
            -agentpath:<pathname>[=<options>]
                          load native agent library by full pathname
            -javaagent:<jarpath>[=<options>]
                          load Java programming language agent, see java.lang.instrument
            -splash:<imagepath>
                          show splash screen with specified image
        
        Process completed.
        • 16. Re: Recursive mergeSort... small problem with infinate recursion.
          793982
          What?!? This is result of typing just "java".
          Sorry, this is unbelievable, but to run a java program you need type java ClassName i.e. +java Part3+
          • 17. Re: Recursive mergeSort... small problem with infinate recursion.
            807589
            thanks man, that works fine, how do i give you those points?
            • 18. Re: Recursive mergeSort... small problem with infinate recursion.
              793982
              To give duke starts you need to be logged on Sun's forums and access your message (i.e. this one).
              Then, a [small icon|http://forums.sun.com/im/duke_add.gif] should appear next to all posts title, click on it to award dukes to the answer you find helpful.
              You can also distribute different amount of dukes among the answers you got.
              When your question is answered, don't forget to mark it as so, there's a link on the top of the page.
              • 19. Re: Recursive mergeSort... small problem with infinate recursion.
                807589
                henrique,

                I hope you are happy with those duke stars, because you earned them by spoon feeding a complete moron.

                Not only did he have trouble copying the solution from that web site, but he was stuck because it didn't come with an obvious main method, so you helpfully spoon fed him that, too. Then this mouth breather didn't even know how to run his program and you did that for him as well. If there is a god in heaven, I hope this guy graduates and ends up in a cubicle next to you.
                • 20. Re: Recursive mergeSort... small problem with infinate recursion.
                  793982
                  To start, I didn't ask for any dukes, I was just answering his direct question on reply 17 (I don't think it worths another post).
                  Second, I searched a code on the internet just to lead him to a solution, since he told his problem was about Java not Merge Sort. Then he stated that the code was not working, but it was and I showed to him. I don't blame java-tips for not providing a main method, it's was just the merge sort algorithm in a method not a full application for dummies!

                  But I agree with you in part, since he was not even able to use the code on java-tips, he has to study a lot more Java and programming, and giving him a full code won't help in his graduation. But its for him to decide if he's going to learn or not, and a full correct code is also a good way to start learning, exceptions trace and hours figuring out what is +"public static void main(String[] args)"+ doesn't really help a newbie.

                  @OP
                  When you think its time, you should distribute the dukes to all helpful answers as some of BigDaddyLoveHandles, not to just one.
                  1 2 Previous Next