public class JeditRepoHelper extends Object implements ToolboxRepoHelper
jEdit publishes no plain "zip, no installer" artifact on any OS - only an IzPack installer (install.jar / install.exe / install.dmg) and a source tarball. A raw .deb exists for ~5.3.0+ but that's Linux-only and covers only recent versions, which breaks the "3 OS families" requirement.
Instead this uses IzPack's own documented unattended mode: java -jar jeditXinstall.jar auto <install-dir> This is plain JVM invocation (no ar/tar/dpkg/native shell tooling), fully headless/non-interactive, and works identically on Windows, Linux and macOS since install.jar itself is cross-platform Java. It's still technically "running the installer", just silently and scripted, which is the closest cross-platform equivalent to "unzip and go" that jEdit actually offers.
VERIFIED against jedit 5.7.0 (IzPack 5.x): the installer rejects the legacy "-DINSTALL_PATH + -options-system" flags and only accepts the "auto <install-dir>" subcommand, which unpacks the conventional jEdit layout (jedit.jar at the install root, alongside jars/, doc/, macros/) non-interactively (exit 0).
NUTS_DEPLOY_CONF is the env var Nuts injects for the XDG-compliant config dir (see NExecHelper.defVarMap).
| Modifier and Type | Field and Description |
|---|---|
protected SingleBaseIdFilterHelper |
baseIdFilterHelper |
static String |
JEDIT_DOWNLOAD_PAGE
jEdit's own download page states its runtime requirements in a stable,
machine readable form, one sentence per jEdit generation, e.g.:
|
DYNAMIC_DESCRIPTOR| Constructor and Description |
|---|
JeditRepoHelper() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
acceptId(NId id) |
NPath |
fetchContent(NId id,
NDescriptor descriptor,
NRepository repository) |
NDescriptor |
fetchDescriptor(NId id,
NRepository repository) |
NIterator<NId> |
search(NId id,
NDefinitionFilter filter,
NPath[] basePaths,
NRepository repository) |
NIterator<NId> |
searchVersions(NId id,
NDefinitionFilter filter,
NRepository repository) |
public static final String JEDIT_DOWNLOAD_PAGE
Java Runtime version 11 (aka Java 11) or later is required for jEdit 5.6 and later.This is the authoritative source and keeps this helper in sync with jEdit raising its bar without a code change. See requiredJavaVersion for the offline fallback.
protected SingleBaseIdFilterHelper baseIdFilterHelper
public NIterator<NId> searchVersions(NId id, NDefinitionFilter filter, NRepository repository)
searchVersions in interface ToolboxRepoHelperpublic boolean acceptId(NId id)
acceptId in interface ToolboxRepoHelperpublic NDescriptor fetchDescriptor(NId id, NRepository repository)
fetchDescriptor in interface ToolboxRepoHelperpublic NIterator<NId> search(NId id, NDefinitionFilter filter, NPath[] basePaths, NRepository repository)
search in interface ToolboxRepoHelperpublic NPath fetchContent(NId id, NDescriptor descriptor, NRepository repository)
fetchContent in interface ToolboxRepoHelperCopyright © 2026 vpc open source initiative. All rights reserved.