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


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

Re: Java compilers

NNTP-Posting-Date Sat, 03 Aug 2013 14:05:39 -0500
Date Sat, 03 Aug 2013 20:05:36 +0100
From lipska the kat <"nospam at neversurrender dot co dot uk">
Organization Trollbusters 3
User-Agent Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130308 Thunderbird/17.0.4
MIME-Version 1.0
Newsgroups comp.lang.java.programmer
Subject Re: Java compilers
References <adfa1b2f-ad3b-4061-9fc0-ae166908a02b@googlegroups.com>
In-Reply-To <adfa1b2f-ad3b-4061-9fc0-ae166908a02b@googlegroups.com>
Content-Type text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding 8bit
Message-ID <fLudnc14Y50eyWDMnZ2dnUVZ7oCdnZ2d@bt.com> (permalink)
Lines 23
X-Usenet-Provider http://www.giganews.com
X-AuthenticatedUsername NoAuthUser
X-Trace sv3-7RLd56TSUYKcDkqR6TmYnGKdsy6BPSFQjm2xXUyZsxJ+Kclm6cDscFSdFKiXIEjiyZLLA1QkarNcqf3!MHHz7xV0183jg/SsMLZI+1l8V4yc0gF36LkSi0Y/rrFc0aaH/eOLt4qM1PJGNguONkuGwIAy+vk=
X-Complaints-To abuse@btinternet.com
X-DMCA-Complaints-To abuse@btinternet.com
X-Abuse-and-DMCA-Info Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info Otherwise we will be unable to process your complaint properly
X-Postfilter 1.3.40
X-Original-Bytes 1920
Path csiph.com!usenet.pasdenom.info!news.stben.net!border3.nntp.ams.giganews.com!Xl.tags.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!local2.nntp.ams.giganews.com!nntp.bt.com!news.bt.com.POSTED!not-for-mail
Xref csiph.com comp.lang.java.programmer:24896

Show key headers only | View raw


On 03/08/13 18:29, Olurotimi Ajayi-Dopemu wrote:
> Are there Java compilers that allow the compiled code to be run from an existing operating system. IE compile source on linux run only on linux after compilation. This is mostly a speed question but if anyone can add pros or cons of this that would be great. Thanks a bunch.
>

Well there's gcj (Gnu Compiler for Java)

For a class Test.java on my Linux box

$ gcj --main=Test -o Test Test.java

gives me a 64 bit ELF binary executable

and

$ Test

executes the code, no interpreter required.

lipska

-- 
Lipska the Kat©: Troll hunter, sandbox destroyer
and farscape dreamer of Aeryn Sun

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


Thread

Java compilers Olurotimi Ajayi-Dopemu <rodopemu@gmail.com> - 2013-08-03 10:29 -0700
  Re: Java compilers Arne Vajhøj <arne@vajhoej.dk> - 2013-08-03 13:37 -0400
  Re: Java compilers Marcel Müller <news.5.maazl@spamgourmet.org> - 2013-08-03 20:01 +0200
  Re: Java compilers lipska the kat <"nospam at neversurrender dot co dot uk"> - 2013-08-03 20:05 +0100

csiph-web