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


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

Re: Problem compiling with 9 for 8

Path csiph.com!news.swapon.de!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From Knute Johnson <nospam@rabbitbrush.frazmtn.com>
Newsgroups comp.lang.java.programmer
Subject Re: Problem compiling with 9 for 8
Date Mon, 2 Oct 2017 16:08:48 -0500
Organization A noiseless patient Spider
Lines 25
Message-ID <oqu9tn$10e$1@dont-email.me> (permalink)
References <oqtn9r$9q2$1@dont-email.me> <oqu0b8$lri$1@gioia.aioe.org> <oqu57k$qn1$1@dont-email.me> <oqu6f5$11qu$1@gioia.aioe.org>
Mime-Version 1.0
Content-Type text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding 8bit
Injection-Date Mon, 2 Oct 2017 21:09:12 -0000 (UTC)
Injection-Info reader02.eternal-september.org; posting-host="27a353018c0f9b6f054f3d39a4b9216f"; logging-data="1038"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18pldzmpMGxy7rqDNJOBX1J"
User-Agent Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0
In-Reply-To <oqu6f5$11qu$1@gioia.aioe.org>
Content-Language en-US
Cancel-Lock sha1:c2p7L++bYetNpMVyyxipidxiDtE=
Xref csiph.com comp.lang.java.programmer:37522

Show key headers only | View raw


On 10/2/2017 15:10, Arne Vajhøj wrote:
> Yes. But does it work?

Yes it does.

I guess I shouldn't read the docs because they say:

--release release

     Compiles against the public, supported and documented API for a 
specific VM version. Supported release targets are 6, 7, 8, and 9.

     Note:

     When using --release for a version of the Java Platform that 
supports modules, you can’t use --add-modules to access internal JDK 
modules, nor can you use --add-exports to access internal JDK APIs in 
the modules.

And with no further information supplied that implies to me that you 
don't need to have JDK 8 installed (or parts of it) to get it to compile.

-- 

Knute Johnson

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


Thread

Problem compiling with 9 for 8 Knute Johnson <nospam@rabbitbrush.frazmtn.com> - 2017-10-02 10:51 -0500
  Re: Problem compiling with 9 for 8 Arne Vajhøj <arne@vajhoej.dk> - 2017-10-02 14:25 -0400
    Re: Problem compiling with 9 for 8 Knute Johnson <nospam@rabbitbrush.frazmtn.com> - 2017-10-02 14:49 -0500
      Re: Problem compiling with 9 for 8 Arne Vajhøj <arne@vajhoej.dk> - 2017-10-02 16:10 -0400
        Re: Problem compiling with 9 for 8 Knute Johnson <nospam@rabbitbrush.frazmtn.com> - 2017-10-02 16:08 -0500
          Re: Problem compiling with 9 for 8 Arne Vajhøj <arne@vajhoej.dk> - 2017-10-02 19:46 -0400
            Re: Problem compiling with 9 for 8 Arne Vajhøj <arne@vajhoej.dk> - 2017-10-02 20:03 -0400
              Re: Problem compiling with 9 for 8 Arne Vajhøj <arne@vajhoej.dk> - 2017-10-02 20:12 -0400
                Re: Problem compiling with 9 for 8 Arne Vajhøj <arne@vajhoej.dk> - 2017-10-02 20:24 -0400
                Re: Problem compiling with 9 for 8 Knute Johnson <nospam@rabbitbrush.frazmtn.com> - 2017-10-03 10:32 -0500
                Re: Problem compiling with 9 for 8 Arne Vajhøj <arne@vajhoej.dk> - 2017-10-03 20:48 -0400
                Re: Problem compiling with 9 for 8 Knute Johnson <nospam@rabbitbrush.frazmtn.com> - 2017-10-04 17:27 -0500

csiph-web