<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    e non  va!  mi viene  un dubbio:i sorgenti java li ho   salvati  in
    una partizione diversa rispetto a qualla  dove ho installato
    java;puo' essere quello  il problema?<br>
    <div class="moz-cite-prefix">Il 22/07/2014 08:40, Nicola Scendoni ha
      scritto:<br>
    </div>
    <blockquote
cite="mid:CAOffQzb3=v+biNqOcmm5fojjCVVUj6aKHNq=G0w2_=PJRoMz0g@mail.gmail.com"
      type="cite">
      <div dir="ltr">Prova a lanciarlo da linea di comando (non da
        Eclipse o dall'ide che stai usando)...</div>
      <div class="gmail_extra"><br>
        <br>
        <div class="gmail_quote">2014-07-21 19:02 GMT+02:00 Jusi Pomenti
          <span dir="ltr"><<a moz-do-not-send="true"
              href="mailto:jusipom@gmail.com" target="_blank">jusipom@gmail.com</a>></span>:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">Scusate,dove
            sto  sbagliando?<br>
            <br>
            class fibonacci  {<br>
                public static void main(String args[])<br>
                {<br>
                   ConsoleReader c = new ConsoleReader(System.in);<br>
                   System.out.println("Calcola il numero di Fibonacci di
            ordine n:");<br>
                   System.out.print("n= ");<br>
                   int n=c.readInt();<br>
                   long t1=System.currentTimeMillis();<br>
                   for (int i=0;i<=n;i++)<br>
                       {<br>
                        System.out.print(fib(i)+";");<br>
                       }<br>
            <br>
            <br>
                    System.out.println();<br>
                    long t2=System.currentTimeMillis();<br>
                    long t3=t2-t1;<br>
                      System.out.println("Tempo: "+(int)t3);<br>
                }<br>
            <br>
                public static int fib(int n)<br>
                {<br>
                   if (n<=1)<br>
                          {<br>
                                 return (1);<br>
                       }<br>
                   else<br>
                          {<br>
                                return fib(n-1)+fib(n-2);<br>
                       }<br>
            <br>
                }<br>
            }<br>
            <br>
            <br>
            perchè non crea l'oggetto c?<br>
            Ciao e grazie<br>
            <br>
            -- <br>
            -------------------------------<br>
            Junior Silvestro Pomenti<br>
            Latina<br>
            <br>
            Sito Web: <a moz-do-not-send="true"
              href="http://www.jusipom.it" target="_blank">www.jusipom.it</a><br>
            Email: jusipom(at)<a moz-do-not-send="true"
              href="http://gmail.com" target="_blank">gmail.com</a><br>
                   info(at)<a moz-do-not-send="true"
              href="http://jusipom.it" target="_blank">jusipom.it</a><br>
            -------------------------------<br>
            <br>
            _______________________________________________<br>
            <a moz-do-not-send="true" href="http://www.llg.it"
              target="_blank">http://www.llg.it</a><br>
            latina mailing list<br>
            <a moz-do-not-send="true"
              href="mailto:latina@lists.linux.it" target="_blank">latina@lists.linux.it</a><br>
            <a moz-do-not-send="true"
              href="http://lists.linux.it/listinfo/latina"
              target="_blank">http://lists.linux.it/listinfo/latina</a><br>
          </blockquote>
        </div>
        <br>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
<a class="moz-txt-link-freetext" href="http://www.llg.it">http://www.llg.it</a>
latina mailing list
<a class="moz-txt-link-abbreviated" href="mailto:latina@lists.linux.it">latina@lists.linux.it</a>
<a class="moz-txt-link-freetext" href="http://lists.linux.it/listinfo/latina">http://lists.linux.it/listinfo/latina</a>
</pre>
    </blockquote>
    <br>
    <pre class="moz-signature" cols="72">-- 
-------------------------------
Junior Silvestro Pomenti
Latina

Sito Web: <a class="moz-txt-link-abbreviated" href="http://www.jusipom.it">www.jusipom.it</a>
Email: jusipom(at)gmail.com
       info(at)jusipom.it
-------------------------------</pre>
  </body>
</html>