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


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

Re: The code being executed before hitting main() method

Path csiph.com!news.mixmin.net!news.albasani.net!.POSTED!not-for-mail
From j4n bur53 <janburse@fastmail.fm>
Newsgroups comp.lang.java.programmer
Subject Re: The code being executed before hitting main() method
Date Wed, 14 Oct 2015 18:49:24 +0200
Organization albasani.net
Lines 17
Message-ID <mvm12k$70o$1@news.albasani.net> (permalink)
References <97d86c97-b889-44a1-931f-20b5af9c6ab5@googlegroups.com> <368b40af-0087-43df-9c55-2557e94897f1@googlegroups.com> <mvlovl$4jf$1@news2.informatik.uni-stuttgart.de> <d48c956c-4746-4e92-8fba-c2f99248f62c@googlegroups.com> <mvluff$5vt$1@news2.informatik.uni-stuttgart.de>
Mime-Version 1.0
Content-Type text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding 7bit
X-Trace news.albasani.net OwUJeC72iDSdtCWJxbJ3ww47r/jItMTF0P8ZUHbvvKjWOtO5rGW6CppiZNVozABt8l52wCQCpJQFZplZlJr8craJAWe5D3HEfaPbAtQDOtvBnJZBdgJIEF0fFeQrIrMi
NNTP-Posting-Date Wed, 14 Oct 2015 16:49:24 +0000 (UTC)
Injection-Info news.albasani.net; logging-data="oJ1y/hKxcYuclMQzTQNvt5B32XTWGER4d/2d7OzvcKXnLuLHZTNco/3EhGyqCXmyWA2zYkHQuo9SPyPpZMDudEcwrDCJzCCwuPUeYjjSyjVhQVa41DHhKavSozBcsl4+q7odGG0Y+DrUmtmQX1eZdoPkIEbtJBZVTTueGQCjwZU="; mail-complaints-to="abuse@albasani.net"
User-Agent Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:41.0) Gecko/20100101 Firefox/41.0 SeaMonkey/2.38
In-Reply-To <mvluff$5vt$1@news2.informatik.uni-stuttgart.de>
Cancel-Lock sha1:xM+XgCERh8ifR+b4Efcx48yJtc4=
Xref csiph.com comp.lang.java.programmer:32880

Show key headers only | View raw


Hi,

Thomas Richter schrieb:
> The OP tries to understand this mechanism - this is as far as I
> understand the post at least.

I guess there is no definite mechanism. It
depends on so many factors, from where the main()
method is ultimately called:
- Whether you use java
- Whether you use javaw
- Whether you double click a .jar which has a Main-Class attribute
- Whether you use IntelliJ
- Etc..

Bye

Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

The code being executed before hitting main() method John <xsli2@yahoo.com> - 2015-10-14 06:26 -0700
  Re: The code being executed before hitting main() method Eric Douglas <e.d.programmer@gmail.com> - 2015-10-14 06:51 -0700
    Re: The code being executed before hitting main() method Thomas Richter <thor@math.tu-berlin.de> - 2015-10-14 16:31 +0200
      Re: The code being executed before hitting main() method Eric Douglas <e.d.programmer@gmail.com> - 2015-10-14 08:54 -0700
        Re: The code being executed before hitting main() method Thomas Richter <thor@math.tu-berlin.de> - 2015-10-14 18:04 +0200
          Re: The code being executed before hitting main() method j4n bur53 <janburse@fastmail.fm> - 2015-10-14 18:49 +0200
  Re: The code being executed before hitting main() method John <xsli2@yahoo.com> - 2015-10-14 08:19 -0700
    Re: The code being executed before hitting main() method John <xsli2@yahoo.com> - 2015-10-14 10:04 -0700
    Re: The code being executed before hitting main() method j4n bur53 <janburse@fastmail.fm> - 2015-10-14 19:08 +0200

csiph-web