Automic VaultAutomic Vault

brew

使用 Homebrew, MacPorts 安装 launch4j

查看 launch4j 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install launch4j

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install launch4j

MacPorts ports tree · java/launch4j/Portfile · 来源: api.github.com

概览

软件包摘要

Cross-platform Java executable wrapper

命令和别名

  • launch4j

历史

项目历史与用法

Launch4j is a cross-platform build utility for wrapping Java applications in lightweight Windows native executables. It combines a GUI, command-line usage, Ant integration, Maven-oriented packaging, JRE discovery, version metadata, splash screens, manifests, and optional bundled-runtime behavior.

项目历史

The SourceForge project was registered on 2003-11-27 and is maintained under Grzegorz Kowal's SourceForge account. Its changelog shows a long-lived Java desktop tooling project: the 1.x line was active by 2004, version 2.0 beta1 on 2005-05-13 introduced a new cross-platform wrapper and XML configuration, and version 3.0.0 on 2008-03-16 added runtime and Windows integration improvements.

Later releases tracked Java and Windows ecosystem changes. Version 3.8 on 2015-05-09 Mavenized the project; version 3.11 on 2017-06-27 added basic Java 9 support and Linux 64-bit binaries; version 3.14 on 2021-03-07 switched to Java 1.8 and FlatLaf; version 3.50 on 2022-11-13 simplified runtime-search configuration.

采用历史

Launch4j became a standard answer for Java developers who wanted a Windows .exe without abandoning cross-platform build machines. SourceForge lists operating-system support across Linux, Mac, Solaris, Windows, BSD, and ChromeOS for the tool itself, while noting that the wrapped program runs on Windows.

Homebrew and MacPorts packaging placed Launch4j into Unix-like developer workflows, especially for developers building Windows deliverables from macOS or Linux.

使用方式

A developer supplies a Launch4j XML configuration describing the jar or class entry point, icon, JRE constraints, command-line behavior, version information, and other wrapper settings. Launch4j then emits a Windows executable while the build can run from Windows, Linux, or macOS.

为什么软件包爱好者会关心

Launch4j is package-nerd-significant because it is a bridge artifact: a Java program packaged on Unix-like systems whose main output is a Windows executable wrapper. It exercises packaging assumptions around GUI tools, command-line tools, Ant/Maven integration, MinGW-built headers, bundled runtimes, and platform-specific outputs.

时间线

  • 2003: SourceForge project registered on 2003-11-27.
  • 2004: Changelog includes version 1.3.1 dated 2004-11-05.
  • 2005: Version 2.0 beta1 introduced a cross-platform wrapper and XML configuration.
  • 2008: Version 3.0.0 added dynamic heap values and Windows integration fixes.
  • 2015: Version 3.8 Mavenized Launch4j.
  • 2017: Version 3.11 added basic Java 9 support and Linux 64-bit binaries.
  • 2021: Version 3.14 switched dependencies to Java 1.8 and FlatLaf.
  • 2022: Version 3.50 changed runtime path-search behavior.

Related projects

  • Related technologies include Java, Windows PE executables, MinGW, Ant, Maven, Sign4j, bundled JRE workflows, and platform-specific Java launchers.

安全态势

尚未找到受保护工具覆盖

没有找到 launch4j 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布,以便未来覆盖拥有稳定的软件包 URL。

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 5 个平台目标。
  • 安装时包含 1 个运行时依赖。
  • 构建元数据列出 1 个构建依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

可执行文件

已安装的可执行文件

命令类型暴露范围备注
launch4jcli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-25
管理器版本3.50
管理器更新时间
本地数据OK
上游not checked
检测到的最新版本未检测到

https://launch4j.sourceforge.net/

  • 信息No package-manager update timestamp was available.低 置信度
  • 信息Release/tag comparison is only available for GitHub repositories.https://launch4j.sourceforge.net/none 置信度

安装元数据

软件包元数据

软件包键brew:launch4j
版本3.50
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/launch4j
主页https://launch4j.sourceforge.net/
仓库https://sourceforge.net/p/launch4j/git/ci/master/tree
上游文档https://launch4j.sourceforge.net/docs.html
许可证BSD-3-Clause AND MIT
源码归档https://git.code.sf.net/p/launch4j/git.git
依赖openjdk
构建依赖ant
Bottle可用 (于 big_sur, catalina, monterey, sonoma, ventura)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namelaunch4j
Version Scheme0
Revision0
Requirements
  • arch
  • macos
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedyes
Disabledno
Keg Onlyno
URL Keys
  • stable

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

MacPorts95%

launch4j

sudo port install launch4j
  • normalized package name match
  • 匹配方式:Launch4j
MacPorts ports tree · api.github.com · MacPorts ports tree: java/launch4j/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment