unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Simon Pugnet <simon@polaris64.net>
To: Po Lu <luangruo@yahoo.com>
Cc: 63257@debbugs.gnu.org
Subject: bug#63257: Android port: unable to build using javac 20.0.1 on Arch Linux
Date: Thu, 04 May 2023 13:23:09 +0100	[thread overview]
Message-ID: <87fs8cnurr.fsf@polaris64.net> (raw)
In-Reply-To: <s8hzg6kcnfo.fsf@yahoo.com>

[-- Attachment #1: Type: text/plain, Size: 1130 bytes --]

Po Lu <luangruo@yahoo.com> writes:

> Simon Pugnet <simon@polaris64.net> writes:
>
>> I have been building the Android port from source regularly and 
>> after
>> a recent Arch Linux package update I am no longer able to configure
>> the build.
>>
>> The JDK package I currently have installed is: extra/jdk-openjdk
>> 20.0.1.u9-3
>
> Unfortunately, you do need support for such an option, as otherwise 
> the
> generated code will not run on API levels below 26.  I'd recommend 
> the
> OpenJDK 11.x release, which will be supported for a significant 
> amount
> of time.
>
> I will fix configure to specifically detect this situation and print 
> a
> clearer error message.

Thank you for your quick reply, and for your work on this port!

I can confirm that using OpenJDK 11.x (11.0.19 in this case) as you 
suggested works fine.

In case anybody else encounters this problem, here is what I needed to 
do in Arch Linux: -

1. Install "jdk11-openjdk"
2. Run: archlinux-java set java-11-openjdk

Kind regards,

-- 
Simon Pugnet
https://www.polaris64.net/
PGP key fingerprint: 3BF7 85DE 162C 00C8 FB4D  A6FD BA13 59A8 2C0B 
3EF9

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 861 bytes --]

      reply	other threads:[~2023-05-04 12:23 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-05-04  9:10 bug#63257: Android port: unable to build using javac 20.0.1 on Arch Linux Simon Pugnet
2023-05-04 12:04 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-05-04 12:23   ` Simon Pugnet [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87fs8cnurr.fsf@polaris64.net \
    --to=simon@polaris64.net \
    --cc=63257@debbugs.gnu.org \
    --cc=luangruo@yahoo.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).