Freenet on Pinebook pro
Hello, has anyone managed to get freenet to work on the pinebook pro? It's a java program, normally it should work fine. But when launching the program I got the following error message:

    Freenet do not start on Pinebook pro. No wrapper for linux-aarch64-32.

Your java executable at /bin/java seems suitable
Unable to locate any of the following binaries:
Starting Freenet 0.7...

Let's start the node without the wrapper, you'll have to daemonize it yourself.
Exception in thread "main" java.lang.NoClassDefFoundError: com/sun/jna/Platform
at freenet.node.NodeStarter.main(
Caused by: java.lang.ClassNotFoundException: com.sun.jna.Platform
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(
at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(
at java.base/java.lang.ClassLoader.loadClass(
... 2 more

I submitted a bug to but no news since. Would someone be willing to help me install freenet on the pinebook pro?
Pinebook Pro, standard config (Manjaro)
Short version: Edit ~/Freenet/
Change jna-4.2.2.jar and jna-platform-4.2.2.jar to jna-4.5.2.jar and jna-platform-4.5.2.jar both times that they appear, and then it seems to run.

$ sed -i 's/4.2.2/4.5.2/g'

It doesn't support aarch64.

There is an AUR package,

According to that, java-service-wrapper is a required dependency.

Even though the PKGBUILD for java_service_wrapper includes aarch64, it doesn't actually build properly on aarch64 without modification.

[[ "$CARCH" = @(x86_64|aarch64) ]] && _bits=64    || _bits=32
[[ "$CARCH" = arm*              ]] && _arch=armhf || _arch=x86

^ that part is obviously wrong, and causes it to detect the platform as x86 64-bit. It seems to build if I hardcode _bits=64 ; _arch=armhf, using the 64-bit armhf makefile.

The wrappers are supposed to be in ~/Freenet/bin
It doesn't include a wrapper for aarch64 or armhf 64-bit.
java-service-wrapper installs to a system directory (/usr/share/java) so it doesn't fix that.

The error messages are coming from ~/Freenet/

If it can't find the wrappers, it falls back to a command line with a hardcoded classpath that includes jna and jna-platform. This code obviously doesn't get tested often because, while both of those are bundled and in the same directory, the hardcoded version number is wrong, so it can't find them.

The error message 'Exception in thread "main" java.lang.NoClassDefFoundError: com/sun/jna/Platform' is the direct result of that.

wrapper.conf uses the proper version numbers; they forgot to update the fallback.
Thanks a lot. Freenet starts with the patch, but cannot load WebOfTrust. It is therefore impossible to send encrypted emails. No doubt there is more work to be done to get freenet running on ARM, as illustrated by the android freenet application, which also cannot send email.

I want to pay someone to run Freenet on Pinebook pro. I submitted a bug on mantishub, but no news since. The IRC and the mailing list no longer work.

Can you help me contact the Freenet team? I don't know how to reach them. Why are they not responding to the bug on mantishub? However, the repository is active. Not very good communication to report bugs or offer donations...
Pinebook Pro, standard config (Manjaro)
I don't know any freenet people to try emailing, but I didn't see WebOfTrust fail to load.

I went to Configuration > Plugins in the web interface ( and loaded the official Freemail and WebOfTrust plugins, then to the Community tab to create a WebOfTrust identity and the Freemail tab to create an account, and nothing failed to load so far.

The official Freenet site has a Donate page, with contact email addresses at the bottom. I can't check whether the IRC channel on works because it's blocking my VPN. The links in the default Freemail welcome email are way out of date; starting point should be the current Documentation page.

There are 3,400 open issues, and many of them don't have any comments. I might guess that they haven't had the time, or they don't have the hardware.

It looks extremely slow. Community > Statistics reports 3923 non-own identities, and it's downloading 51.576107 per hour. So about 76 hours for WoT to sync. I need to solve "about 10 captchas" to get to a basic level of trust, and so far it's gotten around to finding me 3.

I would be careful about relying on anything for anonymity or privacy that's still in alpha and may have been largely abandoned for years.
For donations, I don't have paypal or bitcoin, and I don't want to use them. I would prefer to pay by SEPA (Europe) transfer. In addition, some free software teams offer to accept payments to develop a special feature or to fix a particular bug. It is also a way of earning a living by developing free software. This is what I would like to do.

The mailing list long dead. The last time I wrote to them to offer them money, a completely unknown guy answered me to tell me that he did not understand what I wanted to talk about, then after talk a bit he remembered that he signed up for the freenet mailing list a long time ago.

I will try, hoping that this box is not dead, too.


To come back to web of trust, it doesn't work for me. Do you have any idea where the problem is?

I enclose the output of the terminal after launching ./ start

Could not load plugin WebOfTrust : java.lang.reflect.InaccessibleObjectException: etc.

Other than Freenet, I don't know how to send really secure emails. PGP allows messages to be encrypted, but an attacker knows who is writing to whom, when, and can easily find the correspondents or block their communication, if they cannot read it.

Attached Files
.txt   freenet.out.txt (Size: 11.69 KB / Downloads: 65)
Pinebook Pro, standard config (Manjaro)
We are using different Java VM versions to run it.

Initializing Node using Freenet Build #1492 rbuild01492 and freenet-ext Build #29 rv29 with N/A JVM version 17.0.1 running on aarch64 Linux 5.15.7-1-MANJARO-ARM

Initializing Node using Freenet Build #1492 rbuild01492 and freenet-ext Build #29 rv29 with Oracle Corporation JVM version 11.0.13 running on aarch64 Linux 5.7.19-1-MANJARO-ARM

The code contains unfixed illegal reflective accesses which Java used to allow. Background reading: Reflection vs Encapsulation – Stand Off in the Java Module System

JVM 17 no longer supports --illegal-access=warn or --illegal-access=permit, which was the prior default. So the code now breaks.

So what you can do is,
$ sudo pacman -S jre11-openjdk-headless jre11-openjdk jdk11-openjdk

and then,
$ sudo archlinux-java set java-11-openjdk

So that you will have both OpenJDK 11 and OpenJDK 17 installed, with OpenJDK 11 selected as the active Java environment.

Until the Freenet developers tighten up the formerly legal reflective accesses, that's the workaround.

In addition to Bitcoin and Paypal, they also support major credit cards via their Bountysource page. I've heard of SEPA but it's not really used outside the EU. I wonder if Bountysource still pays through to them, or if they just sit on the money.
Thanks a lot! WoT works, now.
Pinebook Pro, standard config (Manjaro)

Possibly Related Threads…
Thread Author Replies Views Last Post
  pre-order pinebook pro justwantin 3 277 05-27-2022, 12:09 PM
Last Post: dachalife
  Gentoo on Pinebook Pro RELEASE jannik2099 52 54,639 03-31-2022, 04:28 AM
Last Post: RobertZamora52
  postmarketOS/Alpine edge image for the Pinebook Pro MartijnBraam 73 68,898 03-29-2022, 06:50 AM
Last Post: pobblebonk
  Pinebook Pro w/ Manjaro KDE Random Freeze/Crash BenniTec 1 469 03-18-2022, 04:03 PM
Last Post: BenniTec
  Kali Linux for Pinebook Pro Luke 90 90,901 03-04-2022, 01:43 AM
Last Post: Tazdevl
  slarm64 (unofficial slackware) Pinebook Pro RK3399 (aarch64) mara 34 19,051 02-27-2022, 01:52 AM
Last Post: mara
  which distro + DE are you using these days on the Pinebook Pro? halogen 26 10,158 02-23-2022, 07:55 AM
Last Post: user18130814200115
  Manjaro Gnome on Pinebook Pro Review! - My New Favourite Pinebook Pro Distro! ImmyChan 0 487 02-18-2022, 12:59 PM
Last Post: ImmyChan
  Installing debian on pinebook pro (deb installer/emmc) ljones 14 3,206 02-08-2022, 02:47 AM
Last Post: Humid Stylus
Question Parrot OS for Pinebook Pro junefish 2 855 01-21-2022, 06:42 PM
Last Post: junefish

Forum Jump:

Users browsing this thread: 1 Guest(s)