Hi, I configured Linux binary compatibility in FreeBSD 14.1 both by following the handbook and also installing linux-browser-installer to be able to run the amd64 Linux version of Weasis (https://github.com/nroduit/Weasis/releases).
It runs on other FreeBSDs with Linux emulation, but I don't remember doing anything differently to make it work.
The thing is, I chrooted to
Important: this application has an embedded Java Runtime, no Java is needed to be installed before running it.
It runs on other FreeBSDs with Linux emulation, but I don't remember doing anything differently to make it work.
The thing is, I chrooted to
/compat/ubuntu and installed it with dpkg -i weasis_4.5.1-1_amd64.deb (and also older versions), it installed ok, then log out from chroot and run with /compat/ubuntu/opt/weasis/bin/Weasis to get:
Code:
WARNING: package com.sun.awt not in java.desktop
17.11.2024 12:52:17.373 *INFO * Starting Weasis...
17.11.2024 12:52:17.377 *INFO * Initialization of the launch configuration...
17.11.2024 12:52:17.394 *INFO * Properties: {weasis.user=?, weasis.name=Weasis, weasis.version=4.5.1, weasis.config.hash=174436, weasis.path=/home/leonardo/.weasis, weasis.codebase.url=file:/compat/ubuntu/opt/weasis/lib/app, weasis.pref.local.session=true, weasis.codebase.local=/compat/ubuntu/opt/weasis/lib/app, felix.config.properties=file:/compat/ubuntu/opt/weasis/lib/app/conf/base.json, weasis.source.id=D6AF4567, weasis.profile=default, http.agent=Weasis/4.5.1 (Linux; 5.15.0; amd64; pf:default; rv:4.5.1) Java/22.0.2}
17.11.2024 12:52:17.414 *DEBUG* Check if another instance running for id: D6AF4567
Exception in thread "main" java.lang.UnsupportedOperationException: Desktop API is not supported on the current platform
at java.desktop/java.awt.Desktop.getDesktop(Unknown Source)
at org.weasis.launcher.AppLauncher.main(AppLauncher.java:97)
Important: this application has an embedded Java Runtime, no Java is needed to be installed before running it.