Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #7279

Re: Why does Eclipse find error in simple "public static void main( String[] args) { } instruction?

Path csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!aioe.org!eternal-september.org!feeder.eternal-september.org!.POSTED!not-for-mail
From markspace <-@.>
Newsgroups comp.lang.java.programmer
Subject Re: Why does Eclipse find error in simple "public static void main( String[] args) { } instruction?
Date Sun, 21 Aug 2011 13:49:39 -0700
Organization A noiseless patient Spider
Lines 22
Message-ID <j2rr1e$b2v$1@dont-email.me> (permalink)
References <4e514360$0$6555$9b4e6d93@newsspool4.arcor-online.net>
Mime-Version 1.0
Content-Type text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding 7bit
Injection-Date Sun, 21 Aug 2011 20:49:50 +0000 (UTC)
Injection-Info mx04.eternal-september.org; posting-host="XjIWM99mD7Ijfdu600oVPA"; logging-data="11359"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18xs/unHkrrcDBONRAH5DyS1Ktw7HvbopY="
User-Agent Mozilla/5.0 (Windows NT 6.1; WOW64; rv:6.0) Gecko/20110812 Thunderbird/6.0
In-Reply-To <4e514360$0$6555$9b4e6d93@newsspool4.arcor-online.net>
Cancel-Lock sha1:3KcQpMqXa+gzctw+qNtxNd61l5Q=
Xref x330-a1.tempe.blueboxinc.net comp.lang.java.programmer:7279

Show key headers only | View raw


On 8/21/2011 10:41 AM, Gianni Galore wrote:
> Am I crazy?


Possibly.  I'd suggest consulting a mental health professional if you're 
concerned about it. ;) (j/k)

Also, most Java programmers know that methods can't be bare, they need 
to be enclosed in a class definitions.  Two seconds with the Java 
tutorial would have reminded you.

> package aaa.bbb;
>

public class Main {

>   public static void main( String[] args) {
>     System.out.println("hello");
>   }

}

Back to comp.lang.java.programmer | Previous | NextPrevious in thread | Find similar


Thread

Why does Eclipse find error in simple "public static void main( String[] args) { } instruction? ggal@osgitest.org (Gianni Galore) - 2011-08-21 17:41 +0000
  Re: Why does Eclipse find error in simple "public static void main( String[] args) { } instruction? Patricia Shanahan <pats@acm.org> - 2011-08-21 11:05 -0700
  Re: Why does Eclipse find error in simple "public static void main( String[] args) { } instruction? markspace <-@.> - 2011-08-21 13:49 -0700

csiph-web