From nobody Sat Feb 28 15:50:15 2026 X-Original-To: freebsd-java@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4fNV5Y3YM8z6TYkJ for ; Sat, 28 Feb 2026 15:50:25 +0000 (UTC) (envelope-from haraldei@anduin.net) Received: from mail.anduin.net (mail.anduin.net [185.42.170.45]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4fNV5Y1PGhz3cFN for ; Sat, 28 Feb 2026 15:50:24 +0000 (UTC) (envelope-from haraldei@anduin.net) Authentication-Results: mx1.freebsd.org; none DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=anduin.net; s=dkim2021; h=In-Reply-To:Content-Transfer-Encoding:Content-Type:MIME-Version :References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=Iva7cW+2VlyG+DgwbRs12pR1gGvQuh/TNY6MrDopoK0=; t=1772293824; x=1773157824; b=hGL1DoL+XwB4+U/xT6/GhkZIV3oYKtcF6nLayWEyo9AJBdkDFjqoDPaxWi9gYFB/Ntr36D/Lhgu ZGYldQ3gheD1b6DAR7aJ3RxUa2tpVoeJKpx/BtsXX9l5g+6vZ9ZqlGDNFcd/NGlTj0X8dxYiBz0d2 kGgCkBncEb+FqYRjrwZijSg8kl0/r3g8zGERtTWbw4fFH1rRJsto5n84dfmnvlhd0IvcIc7isMgCt KCU8jBeu2BWojWgYk/S/ndMTSVqfC5fT1TJD+49bt+iD41ZT7Nz6sSGMS261BAMMj8XOCeRtt8akS n2DzelIgelzM9FU9RFX9sBx6BmXUwQtqWylA==; Received: by mail.anduin.net with esmtpsa (TLS1.3:TLS_AES_256_GCM_SHA384:256) (Exim 4.98.2 (FreeBSD)) (envelope-from ) id 1vwMa8-000000007yc-0koS; Sat, 28 Feb 2026 15:50:17 +0000 Date: Sat, 28 Feb 2026 16:50:15 +0100 From: Harald Eilertsen To: Markus Graf Cc: FreeBSD Java mailing list Subject: Re: What is System.getProperty("os.arch","") of arm 64 Message-ID: Mail-Followup-To: Markus Graf , FreeBSD Java mailing list References: <86tsv2m4v7.fsf@beasty.markusgraf.net> List-Id: Porting Java to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-java List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-java@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <86tsv2m4v7.fsf@beasty.markusgraf.net> X-SA-Authenticated: Yes X-Spam-Score: -1.9 X-Spam-Level: - X-Spam-Report: host: mail.modirum.com | contact: hostmaster@modirum.com | scores: BAYES_00=-1.9,NO_RELAYS=-0.001 | autolearn=no autolearn_force=no, score=0 X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:62248, ipnet:185.42.170.0/24, country:EE] X-Rspamd-Queue-Id: 4fNV5Y1PGhz3cFN X-Spamd-Bar: ---- Hi Markus! On Fri, Feb 27, 2026 at 07:13:48PM +0100, Markus Graf wrote: > To make it work on 64bit arm I need to know what > > System.getProperty("os.arch","") > > returns for 64bit arm. It returns "aarch64". ------ freebsd% cat ./osarch.java void main() { System.out.println( "os.arch = " + System.getProperty("os.arch", "")); } freebsd% java ./osarch.java os.arch = aarch64 ------ > Is non 64bit arm FreeBSD Java in use? There are some issues in the bug tracker about Java for FreeBSD on aarch64, so I would guess it is. I don't have any insights into how much, or if anybody relies on it in production yet, though. > Should I upstream a profile for non 64bit arm too? I don't really have an opinion on that. It seems to be supported for now, both by OpenJDK and FreeBSD, so if you feel like it. I don't have a 32 bit arm system to test for now, so can't help with the output there. Take care! Harald