[Pkg-electronics-devel] Bug#1099511: newest releases of bc* java libraries cause arduino to fail to start

Emmanuel Bourg ebourg at apache.org
Tue Mar 4 09:45:10 GMT 2025


On 04/03/2025 10:35, Jonas Smedegaard wrote:

> On an up-to-date amd64 Debian unstable system as of today, arduino fails
> to start like this:
> 
>   arduino
> Picked up JAVA_TOOL_OPTIONS:
> WARNING: A restricted method in java.lang.System has been called
> WARNING: java.lang.System::loadLibrary has been called by processing.app.Platform in an unnamed module (file:/usr/share/arduino/lib/arduino-core.jar)
> WARNING: Use --enable-native-access=ALL-UNNAMED to avoid a warning for callers in this module
> WARNING: Restricted methods will be blocked in a future release unless native access is enabled
> 
> java.lang.NoClassDefFoundError: org/bouncycastle/asn1/cryptlib/CryptlibObjectIdentifiers
> 	at org.bouncycastle.openpgp.PGPUtil$2.<init>(Unknown Source)
> 	at org.bouncycastle.openpgp.PGPUtil.<clinit>(Unknown Source)

Hi Jonas,

Classes have been moved from bcprov to bcutil in BC 1.80. Adding bcutil 
to the classpath should fix this issue.

Emmanuel Bourg



More information about the Pkg-electronics-devel mailing list