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

From j4n bur53 <janburse@fastmail.fm>
Newsgroups comp.lang.java.programmer
Subject Re: The code being executed before hitting main() method
Date 2015-10-14 18:49 +0200
Organization albasani.net
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>

Show all headers | 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