From nobody Fri Dec 19 10:54:14 2025 X-Original-To: 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 4dXktb1ldfz6LMP1 for ; Fri, 19 Dec 2025 10:54:15 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R12" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4dXktb1C8Nz3PVv for ; Fri, 19 Dec 2025 10:54:15 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1766141655; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=PqcyqhkpBRKW5MYM3JKxjXRS+Abwt4a3t5gMlkE3Lxw=; b=Gr/hslnrU36KKq3lClctq68Ga4ZJ9DtcXoxSLtqaTOefjz19R3TU4paCt4zCIUqSQ2M8ff NgWCfntnTYSzxHUkpa9CJZ8oBUe8kaS50mtny5EcUqLRweZcZGHR/nSaS9pxvHflYBYnxX jSWws5KTusWP/lpf0btYqhrnKYHZGsX83WIU73gqynBBJ2gzbEkBqvZ+SVdVL0mVRuRbQI mtSlhPNBBbadDqSVX2F4m7aCxYdoMEirnouk1ytmgHXcDEsu8uggFqhaDP5DL1uA//yOVR MylP0fINuJI03s9cGbFKzJTimJacbkC1WwtlBxsDFmpKVKnkthBuDOodqj9YVA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1766141655; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=PqcyqhkpBRKW5MYM3JKxjXRS+Abwt4a3t5gMlkE3Lxw=; b=dpYsRlrHBkePGuJBqEoYMc5zyQtu3FD+qqJl+lFsQeHpghCXuzopOfrYKIpYq3VPt3u0Hx oq7EjsLQv+drUFcETBDvtRcBh0LBJvrUESep/c9FXMUOL//J14+czK913zzP4PxixPCEUX U9YiVnDAk7+Yi5tACFyeLe4CzxmOJXiVNMHL12/KUc5+5cxB1d5mJFnoLeeuCi19FrgbkV Nt2mTR332vklT7SN9ev++gRT+GIGRbivATmLgrZLmFa2zn8OOy6SWsUGEImozJ3uG4lfeY 2ZjIFZSko1mhn3zsYmCuKnQdFaEQUp9PhFVNFfryRDRXc5QGGrGtvwqv1DQw0A== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1766141655; a=rsa-sha256; cv=none; b=OD8T53GKR9+LSLRAGByw5BhWVUbLjE/dUoEfGJKImXAQRDLQHViGVrpTJOIDTpdW3D5YWE KF18JQQC1xVZUNJPfmbTt0zXB1JmZ9jccsoixUVcVJd59RhCYB/8gnlQjLr0zsgS3gqs3L f5O1tMQ6ydsJTTleQqqW/JXJAwMkLJruyWQoLozTSTJ3qW11idVFanHTjcYH18WbTW8wtJ x5+16lymL0snyxdnEAJH6lQvuwri548Bf5dS9GzmAmVkQ1YhUWK5fHq4Ze/yebobEW9nqM sg+xt9IK8vbEu/hgicjSO4nxT4FV6Oj4QzHJYJhD93cKzaCF5b3jZCCBu94B6w== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4dXktb0f3pz1K6R for ; Fri, 19 Dec 2025 10:54:15 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 5BJAsE0N026762 for ; Fri, 19 Dec 2025 10:54:14 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 5BJAsEfW026759 for java@FreeBSD.org; Fri, 19 Dec 2025 10:54:14 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: java@FreeBSD.org Subject: [Bug 291743] Java programs cannot play sound Date: Fri, 19 Dec 2025 10:54:14 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: vvd@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: java@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated 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 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D291743 --- Comment #5 from Vladimir Druzenko --- /usr/local/openjdk8/bin/javac play.java $ for J in /usr/local/openjdk*; do echo ${J}; ${J}/bin/java play /usr/local/lib/python3.11/test/audiotest.au; done /usr/local/openjdk11 The following mixer available: oss [default], version /usr/local/lib/python3.11/test/audiotest.au: input format: ULAW 8012.0 Hz, 8 bit, mono, 1 bytes/frame, /usr/local/lib/python3.11/test/audiotest.au: using format: PCM_SIGNED 8012.0 Hz, 16 bit, mono, 2 bytes/frame, little-endian /usr/local/openjdk17 The following mixer available: oss [default], version /usr/local/lib/python3.11/test/audiotest.au: input format: ULAW 8012.0 Hz, 8 bit, mono, 1 bytes/frame /usr/local/lib/python3.11/test/audiotest.au: using format: PCM_SIGNED 8012.0 Hz, 16 bit, mono, 2 bytes/frame, little-endian /usr/local/openjdk21 The following mixer available: oss [default], version /usr/local/lib/python3.11/test/audiotest.au: input format: ULAW 8012.0 Hz, 8 bit, mono, 1 bytes/frame /usr/local/lib/python3.11/test/audiotest.au: using format: PCM_SIGNED 8012.0 Hz, 16 bit, mono, 2 bytes/frame, little-endian /usr/local/openjdk25 The following mixer available: oss [default], version /usr/local/lib/python3.11/test/audiotest.au: input format: ULAW 8012.0 Hz, 8 bit, mono, 1 bytes/frame /usr/local/lib/python3.11/test/audiotest.au: using format: PCM_SIGNED 8012.0 Hz, 16 bit, mono, 2 bytes/frame, little-endian /usr/local/openjdk8 The following mixer available: oss [default], version /usr/local/lib/python3.11/test/audiotest.au: input format: ULAW 8012.0 Hz, 8 bit, mono, 1 bytes/frame, /usr/local/lib/python3.11/test/audiotest.au: using format: PCM_SIGNED 8012.0 Hz, 16 bit, mono, 2 bytes/frame, little-endian Sound work for me for all installed JDKs. $ pkg info | grep alsa alsa-lib-1.2.14 ALSA compatibility library alsa-plugins-1.2.12_1 ALSA compatibility library plugins gstreamer1-plugins-alsa-1.26.9 GStreamer ALSA plugin linux-c7-alsa-lib-1.1.8 Advanced Linux Sound Architecture libraries (Linux CentOS 7.9.2009) linux-c7-alsa-lib-devel-1.1.8 Advanced Linux Sound Architecture headers (L= inux CentOS 7.9.2009) linux-c7-alsa-plugins-oss-1.1.6_4 OSS plugin for ALSA (Linux CentOS 7.9.200= 9) linux-c7-alsa-plugins-pulseaudio-1.1.6_1 PulseAudio plugin for ALSA (Linux CentOS 7.9.2009) linux-c7-alsa-utils-1.1.8_1 Advanced Linux Sound Architecture utilities (Linux CentOS 7.9.2009) --=20 You are receiving this mail because: You are the assignee for the bug.=