Your code assumes that you include an integer as the first argument when you
run it. To print the integer and the decreasing values and finally beep, you
are using the "System.out" object and calling its "print" method. This will
take a string and display it on your console.
Justy
----- Original Message -----
> I'm trying some simple java code I'm getting directly from a book, the
code
> looks as follows, it's running fine how do I see the output, a co worker
> told me that I'm using inner class in the code but I'm not too sure what
he
> meant, can some on look at this code and tell me what I'm missing to see
the
> output.
> here is the code
>
> class Countdown {
>
> public static void main(String args[]) {
> int i = Integer.valueOf(args[0]).intValue();
> for(int j= i; j>0; j--)
> System.out.print(j + " ");
> System.out.print("\u0007");
> }
> }
>
>
> thanks
> Katyann
>
>
>
> -----Original Message-----
> From: Sainz de Murieta [mailto:[EMAIL PROTECTED]]
> Sent: Monday, April 23, 2001 11:34 AM
> To: [EMAIL PROTECTED]
> Subject:
>
>
> A tomcat specific question:
>
> Im using Tomcat 3.2 on Windows 2000. It's working fine when I start and
stop
> it
> manually (I mean, executing the scripts in /bin). But it doesn't work if I
> install it as a service. All my paths on the wrapper.properties seem to be
> ok.
> I install it as server; just after starting it, it stops again writing the
> file
> jvm.stderr with the following content:
> ----
> java.lang.NoClassDefFoundError: de
> Exception in thread "main"
> ----
>
> Does anybody know what my problem could be?
>
> Cheers,
> I�aki.
>
> ---------------------------------------------
> This message was sent using Endymion MailMan.
> http://www.endymion.com/products/mailman/
>
>
===========================================================================
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
> JSP-INTEREST".
> For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
> DIGEST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
> http://java.sun.com/products/jsp/faq.html
> http://www.esperanto.org.nz/jsp/jspfaq.html
> http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
> http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
>
>
===========================================================================
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
> For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
DIGEST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
> http://java.sun.com/products/jsp/faq.html
> http://www.esperanto.org.nz/jsp/jspfaq.html
> http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
> http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
>
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets