CVE and update status of the FreeBSD ports tree3,296 unaddressed CVEs in 671 portsAll times are CET
Port details

java/javavmwrapper 2.7.10_2

Wrapper script for various Java Virtual Machines

Port info

Maintainer
glewis@FreeBSD.org
Packages
latest: 2.7.10_2
Upstream
up to date
Last update
to 2.7.10_2 · 7878106082
Quarterly
2026Q4: 2.7.10_2
Links
cgit · VuXML · Report wrong data

Install

Package
# pkg install javavmwrapper
installs 2.7.10_2 from latest; from quarterly (2026Q4) 2.7.10_2
Port
# cd /usr/ports/java/javavmwrapper && make install clean
Size
17 KiB download · 34 KiB installed
Depends on
nothing
License
BEERWARE and BSD2CLAUSE

Packages by version and architecture

latest

FreeBSD versionamd64aarch64i386
FreeBSD 162.7.10_22.7.10_2–
FreeBSD 152.7.10_22.7.10_2–
FreeBSD 142.7.10_22.7.10_22.7.10_2

quarterly (2026Q4)

FreeBSD versionamd64aarch64i386
FreeBSD 152.7.10_22.7.10_2–
FreeBSD 142.7.10_22.7.10_22.7.10_2

version as in the ports tree (latest) or the most common one (quarterly) · different version · ✗ not built · – no packages for this platform. Package sets that have not been rebuilt for 60 days are left out.

Unaddressed and VuXML only (0)

No unaddressed CVE and nothing reported by pkg audit for the packaged version 2.7.10_2.

Fixed (0)

No VuXML entries for this package.

Problem reports (2) · open in Bugzilla, most recently changed first

PRSummaryStatusChanged
259468needs-qa maintainer-feedback? merge-quarterly? java/javavmwrapper: Add a java_home commandOpen2026-05-20
271467maintainer-feedback? java/javavmwrapper: setting a JAVAVM_OPTS breaks jpsNew2023-05-17

Commits (83)

Greg Lewis (glewis) · 2.0_6
. Avoid an infinite loop by ignoring JAVA_HOME if its set to the location   of the wrapper script.  I'm using a different patch than Herve submitted,   but the idea is the same. . Bump PORTREVISION.

Submitted by:	hq
dbc431427c
Greg Lewis (glewis) · 2.0_5
. Add a couple of comments. . Kick unprivileged users out early in registervm/unregistervm to   prevent double error messages.
9a4718a679
Greg Lewis (glewis) · 2.0_5
. Check the user can read/write the configuration file and that it exists   before attempting to sort it when running checkvms.  This prevents a   double error message for an unprivileged user. . When asked to register a VM that is already registered, don't error.   Print a warning that the VM is already registered and don't add it to   the configuration file (but do check its links and sort the c

'make install -DFORCE_PKG_REGISTER'

  erroring out during the post-install stage for the JDK ports.
  Bump PORTREVISION for this change since it affects the various JDK
  ports. [2]

Reported by:	anholt, via hq [2]
d9e60aea40
Greg Lewis (glewis) · 2.0_4
. Update description.

Suggested by:	hq
2cad98267f
Greg Lewis (glewis) · 2.0_4
. Try to clarify that the BUGS section is talking about the Java VM   selection procedure used when ${PORTSDIR}/Mk/bsd.java.mk isn't present. . Fix a typo (JAVA_PREFERRED_PORT -> JAVA_PREFERRED_PORTS).

Pointed out by:	hq
4f7387e2e5
Greg Lewis (glewis) · 2.0_4
. A big mdoc fixup kindly provided by the mdoc police.  Any problems should   be attributed to my merging of the mdoc fixes with some content changes   I had made.

Submitted by:	simon
5729185ae1
Greg Lewis (glewis) · 2.0_4
. Yet more clarification of how the selection of the Java VM can be   different depending on whether bsd.java.mk exists on the system.
0c91c97816
Greg Lewis (glewis) · 2.0_4
. Fix some sentence breaks. . Add some more details on how javavmwrapper selects the VM. [2]

Suggested by:	hq [2]
3d485a44fb
Greg Lewis (glewis) · 2.0_4
. Document that the environment variables can also be a space delimited   list of values, not just a single value.

Pointed out by:	hq
5d2e3b3a6f
Greg Lewis (glewis) · 2.0_4
. Install manual pages for javavmwrapper. . Bump PORTREVISION.

PR:		27075
d964895873
Greg Lewis (glewis) · 2.0_3
. Ignore errors from the call to registervm, otherwise one sees a whole   slew of spurious errors when upgrading the port.
7ea5326d8e
Greg Lewis (glewis) · 2.0_3
. Separate standard variables from variables local to this Makefile.
df7dcddd09
Alexey Zelkin (phantom) · 2.0_3
One more place to reflect existence of jdk 1.5. Bump PORTREVISION
fe509ee261
Herve Quiroz (hq) · 2.0_2
Take into account the '-devel' package name suffix when registering CONFLICTS with java/kaffe-devel

Pointy hat to:	me
e4b8a8ca7a
Herve Quiroz (hq) · 2.0_2
- Register CONFLICTS with java/kaffe and java/kaffe-devel
a14c373bb7
Greg Lewis (glewis) · 2.0_2
. Move pkg-install to files/pkg-install.in since it is modified before use.   This also fixes a problem that when being modified it wasn't specified   by absolute path.

Reported by:	Robert Backhaus <robbak@robbak.com>
6e54503ac8
Greg Lewis (glewis) · 2.0_2
. Run the pkg-install script correctly. . Bump PORTREVISION for this change and the previous change to   javavmwrapper itself.
71d3fdc85a
Greg Lewis (glewis) · 2.0_1
. Some minor comment and formatting fixes (should have probably have been   done separately). . Much more stringent checks on VMs that we are trying to register.  This   prevents most bogus and circular registrations. [1]

Suggested by:	Josh Elsasser <josh@elsasser.org> [1]
5e2e151b0f
Greg Lewis (glewis) · 2.0_1
. javavmwrapper uses PATH to make sure it gets the system version of   utilities.  Unfortunately this overrides any PATH that may have been   set by the user and hence affects the ability of java to execute   external programmes.  So, save the PATH before setting it and then   restore it immediately before executing java. . Bump PORTREVISION for this fix.

Reported by:	Christian Laursen <xi@borderworlds.dk>
59fc5151e6
Greg Lewis (glewis) · 2.0
. Usher in javavmwrapper 2.0, a rewrite of the wrapper scripts designed to   allow the simple use of multiple VMs.  Brief detail of the main changes:   . When a VM is registered, symbolic links for its executables are     created in ${LOCALBASE}/bin.  This allows people to just type     'java', 'javac', etc. without having to add the VM installation     directory to their PATH.   . The actual 'jav

This is built on the ideas of znerd, hq and Shelton C. Johnson Jr., with
hq and Shelton contributing code and reviews.

PR:		27079, 39080
Reviewed by:	hq, Shelton C. Johnson Jr. <shelton_c_j@yahoo.com>
280df4e4ce
Greg Lewis (glewis) · 1.5
. JAVALIBDIR is more appropriate than JAVAJARDIR now we have it.
6a5d768670
Dag-Erling Smørgrav (des) · 1.5
Add a classpath script.
d811cc16ac
Maxim Sobolev (sobomax) · 1.4
Let be hohest: I really don't have a time now to properly maintain all these great pieces of software, so that let others with more free time to take over them.
10588346d3
Ade Lovett (ade) · 1.4
Clear moonlight beckons. Requiem mors pacem pkg-comment, And be calm ports tree.

E Nomini Patri, E Fili, E Spiritu Sancti.
7e52725f2a
Maxim Sobolev (sobomax) · 1.4
Long overdue fix: correctly process arguments with spaces.
1773476e67
Maxim Sobolev (sobomax) · 1.3
Revert previous fix - it was not properly thought out.

Submitted by:	ted@tednet.nl (Ted Lindgreen)
32a641962e
Maxim Sobolev (sobomax) · 1.2
Use "$@" instead of "$*" to pass parameters to a subshell. This ensures that parameters with spaces are passed correctly.

PR:		32191
Submitted by:	Ben Suffolk <ben.suffolk@orange.co.uk>
3d90271529
Roger Hardiman (roger) · 1.1
Fix typo
c996aa60be
Maxim Sobolev (sobomax) · 1.1
Whitespace-only: Make indentation uniform across my ports.
10e2f8893d
Maxim Sobolev (sobomax) · 1.1
Add "unset JAVA_HOME" to make javavmwrapper working with some brain damaged software (Adobe AcrobatViewer).
ceec80fd32
Maxim Sobolev (sobomax) · 1.0
Fix typo.
0f07eca387
Maxim Sobolev (sobomax) · 1.0
Handle comments in all places.
54240bf8a1
Maxim Sobolev (sobomax) · 1.0
Initial import of javavmwrapper - a simple shell script which would allow Java-based ports to use any of the Java Virtual Machines installed on the system.
a69acf6529