FreshPorts -- The Place For Ports If you buy from Amazon USA, please support us by using this link.
Follow us
Blog
Twitter

I am looking for an LTO tape library. Do you have one to spare?
Port details
javavmwrapper 2.5 java on this many watch lists=268 search for ports that depend on this port
Wrapper script for various Java Virtual Machines
Maintained by: glewis@FreeBSD.org search for ports maintained by this maintainer
Port Added: 12 Jun 2000 06:42:51
License: not specified in port


The Java VM wrapper provides a convenient system for switching between
different Java VMs.  It also provides symbolic links in ${PREFIX}/bin to
allow the use of the Java executables without having to add the specific
Java VM executable directories to the PATH environment variable.
SVNWeb : Distfiles Availability : PortsMon

This port is required by:

for Build for Run * - deleted ports are only shown under the This port is required by section. It was harder to do for the Required section. Perhaps later...

To install the port: cd /usr/ports/java/javavmwrapper/ && make install clean
To add the package: pkg install java/javavmwrapper


Configuration Options
     No options to configure

Master Sites:
  1. ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/

Number of commits found: 60

Commit History - (may be incomplete: see SVNWeb link above for full details)
DateByDescription
12 Apr 2014 19:43:17
Original commit files touched by this commit  2.5
Revision:351127
glewis search for other commits by this committer
. Update internal fallback logic, including:
  . Remove support for diablo* and j* ports.
  . Add support for linux-oracle* ports.
  . Remove support for Java version 1.5.
  . Add support for Java version 1.8.
  . Add support for Oracle as a vendor.
. Bump PORTVERSION.
. Remove CONFLICTS for ports that no longer exist.
06 Feb 2014 07:25:16
Original commit files touched by this commit  2.4_3
Revision:342945
bapt search for other commits by this committer
Support stage
20 Sep 2013 19:48:32
Original commit files touched by this commit  2.4_3
Revision:327738
bapt search for other commits by this committer
Add NO_STAGE all over the place in preparation for the staging support (cat:
java)
11 Dec 2012 05:37:55
Original commit files touched by this commit  2.4_3
Revision:308662
glewis search for other commits by this committer
. Cope with legacy versions "1.5" (expands to 1.6) and "1.5+" (expands to
  1.6 1.7).
. Remove freebsd and bsdjava as valid vendors.
02 Nov 2012 17:12:09
Original commit files touched by this commit  2.4_2
Revision:306872
jkim search for other commits by this committer
Fix deinstallation script for 7.x.  -samefile option for find(1) does not
exist there.

Reviewed by:	glewis (maintainer)
Feature safe:	yes
31 Oct 2012 21:50:25
Original commit files touched by this commit  2.4_1
Revision:306767
jkim search for other commits by this committer
Shut up noise when there is no JDK/JRE to register.

Reviewed by:	glewis (maintainer)
Feature safe:	yes
28 Oct 2012 02:11:29
Original commit files touched by this commit  2.4_1
Revision:306536
jkim search for other commits by this committer
- Ignore bootstrap-openjdk when we automatically register existing JVMs.
- Make sure to destroy all symlinks pointing to ${PREFIX}/bin/javavm and
${PREFIX}/etc/javavms when we deinstall the package.

Reviewed by:	glewis (maintainer)
Feature safe:	yes
13 Jul 2012 05:38:44
Original commit files touched by this commit  2.4
glewis search for other commits by this committer
. Make the version numbers consistent so they can be compared correctly.
  E.g. for jdk1.6.0 and openjdk6 will use '6' as the version.
. Modify the preference order for Java VMs used by the internal fallback
  logic to reflect that openjdk is now the default Java VM rather than diablo.
. Remove code for Java vendors that are no longer in the ports tree (e.g.
  blackdown, ibm).
. Remove code for handling version numbers that are no longer present in
  the tree (e.g. only 1.5 and up is supported).
. Note that openjdk is a native Java VM.
. If the environment variable JAVAVM_FALLBACK_ONLY is set then only use the
  internal logic to select a Java VM, don't use the ports logic even if the
  ports collection is installed. [1]
. Update the manual page for JAVAVM_FALLBACK_ONLY.
. Bump version to 2.4.

PR:             167799 [1]
16 Jun 2012 16:28:39
Original commit files touched by this commit  2.3.5
glewis search for other commits by this committer
. Minor man page tweaks:
  . Remove references to ibm (we have no IBM JDKs in the tree)
  . Remove references to JDK 1.4.2 (only 1.5+ are in the tree)
21 Jul 2011 05:03:02
Original commit files touched by this commit  2.3.5
linimon search for other commits by this committer
Now that the Java 1.3 and Java 1.4 ports are deprecated and will expire soon,
remove support for them from bsd.java.mk.  As Jikes is not available in Java 1.5
or higher, remove it from bsd.java.mk too (suggested by hq@) and from the ports
which used it (only occurences were USE_JIKES=no).  Support for the Blackdown VM
is also removed, as it is not available in Java 1.5 and higher.

Also remove the mapping from Java 1.1-1.4 to Java 1.5+ in bsd.java.mk to detect
old, broken ports; therefore bump the minimal value of JAVA_VERSION to 1.5.
While here, replace static values of JAVA_VERSION in files/*.in by
%%JAVA_VERSION%% .

PR:             ports/158969
Submitted by:   rene
Tested on:      pointyhat-west -exp
13 May 2010 23:50:29
Original commit files touched by this commit  2.3.5
jkim search for other commits by this committer
Fix "realpath: : No such file or directory" error from the latest realpath.

Reported by:    Mike Jakubik (mike dot jakubik at intertainservices dot com)
Reviewed by:    glewis (maintainer)
17 Jan 2010 22:41:10
Original commit files touched by this commit  2.3.4
glewis search for other commits by this committer
. Add support for JAVA_VERSION of 1.7.
. Note such support in the manual pages.
. Correctly determine the Java version of the OpenJDK ports when bsd.java.mk
  isn't present.
. Bump version to 2.3.4.
22 May 2009 05:40:17
Original commit files touched by this commit  2.3.3
glewis search for other commits by this committer
. Add support for openjdk6.
. Sort vendor references.
30 Apr 2008 22:33:17
Original commit files touched by this commit  2.3.2
jkim search for other commits by this committer
Try jman(1) from ports/japanese/man instead of man(1) for japanese manual
pages if LANG is set to ja_JP.eucJP and the port is installed.
Diablo packages contain japanese manual pages and jman seems to format them
mostly fine.

Reviewed by:    glewis (maintainer)
28 Apr 2008 15:44:19
Original commit files touched by this commit  2.3.1
jkim search for other commits by this committer
- Add support for 1.6 VMs.
- Fix reversed vendors (bsdjava <-> freebsd).
- Update port version to 2.3.1.

Reviewed by:    glewis (maintainer)
20 Sep 2006 15:33:52
Original commit files touched by this commit  2.3
glewis search for other commits by this committer
. Cross reference manvm(1).
05 Jul 2006 20:32:58
Original commit files touched by this commit  2.3
glewis search for other commits by this committer
. The new Diablo JDK release doesn't need -XX:+UseMembar.
12 Jun 2006 16:57:29
Original commit files touched by this commit  2.3
glewis search for other commits by this committer
. Add manvm(1).  This is similar to javavm(1), but allows one to view the
  manual pages for the different VMs. [1]
. Minor code clean ups (white space, redirection).

PR:             93099
08 Jun 2006 17:58:15
Original commit files touched by this commit  2.2
glewis search for other commits by this committer
. Introduce the JAVAVM_DRYRUN variable.  If this is set, then javavm will
  not invoke any Java programmes, but will instead print out what it would
  have invoked and some related settings.

  This work was inspired by the PR, but doesn't use its implementation.

PR:             96050
07 Jun 2006 20:26:21
Original commit files touched by this commit  2.1_3
glewis search for other commits by this committer
. Revert previous commit.  It was my recollection that javac needed the
  flags when being used to bootstrap the jdk15 port, and this was confirmed
  by somebody else.  However, javac doesn't seem to be happy with it so
  turn it back off.

Submitted by:   hq
07 Jun 2006 04:12:31
Original commit files touched by this commit  2.1_2
glewis search for other commits by this committer
. Diablo's javac also needs -XX:+UseMembar.
06 Jun 2006 15:25:50
Original commit files touched by this commit  2.1_1
glewis search for other commits by this committer
. Restrict the -XX:+UseMembar option to the java(1) programme to prevent it
  causing problems for programmes such as jar(1).  I actually believe it is
  needed by some of the other programmes, but we'll add it as needed.
. Bump PORTREVISION for this change.

PR:             98586
Submitted by:   Achilleas Mantzios <achill@matrix.gatewaynet.com>
04 Jun 2006 03:52:19
Original commit files touched by this commit  2.1
glewis search for other commits by this committer
. ! -z -> -n for clarity.

Suggested by:   hq
03 Jun 2006 17:32:24
Original commit files touched by this commit  2.1
glewis search for other commits by this committer
. Allow the setting up of command line options to be passed to the
  invoked Java VM.

Reviewed by:    hq
27 Apr 2006 14:49:42
Original commit files touched by this commit  2.0_7
glewis search for other commits by this committer
. Bump PORTREVISION for the previous fix.

Suggested by:   hq
26 Apr 2006 19:48:09
Original commit files touched by this commit  2.0_6
glewis search for other commits by this committer
. Avoid stomping on environment variables by prefixing variable names with
  _JAVAVM_.  The notable exception is JAVA_HOME, which is deliberately set
  by the wrapper.

PR:             88048
02 Nov 2005 21:03:56
Original commit files touched by this commit  2.0_6
glewis search for other commits by this committer
. 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
20 Jun 2005 18:39:29
Original commit files touched by this commit  2.0_5
glewis search for other commits by this committer
. Add a couple of comments.
. Kick unprivileged users out early in registervm/unregistervm to
  prevent double error messages.
20 Jun 2005 18:08:33
Original commit files touched by this commit  2.0_5
glewis search for other commits by this committer
. 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 config
  file still).  This prevents problems with

        '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]
25 Apr 2005 15:00:34
Original commit files touched by this commit  2.0_4
glewis search for other commits by this committer
. Update description.

Suggested by:   hq
18 Apr 2005 17:44:31
Original commit files touched by this commit  2.0_4
glewis search for other commits by this committer
. 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
12 Apr 2005 20:17:47
Original commit files touched by this commit  2.0_4
glewis search for other commits by this committer
. 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
12 Apr 2005 16:25:01
Original commit files touched by this commit  2.0_4
glewis search for other commits by this committer
. Yet more clarification of how the selection of the Java VM can be
  different depending on whether bsd.java.mk exists on the system.
12 Apr 2005 16:07:21
Original commit files touched by this commit  2.0_4
glewis search for other commits by this committer
. Fix some sentence breaks.
. Add some more details on how javavmwrapper selects the VM. [2]

Suggested by:   hq [2]
12 Apr 2005 15:46:57
Original commit files touched by this commit  2.0_4
glewis search for other commits by this committer
. Document that the environment variables can also be a space delimited
  list of values, not just a single value.

Pointed out by: hq
11 Apr 2005 21:22:43
Original commit files touched by this commit  2.0_4
glewis search for other commits by this committer
. Install manual pages for javavmwrapper.
. Bump PORTREVISION.

PR:             27075
11 Apr 2005 21:21:16
Original commit files touched by this commit  2.0_3
glewis search for other commits by this committer
. Ignore errors from the call to registervm, otherwise one sees a whole
  slew of spurious errors when upgrading the port.
11 Apr 2005 20:57:57
Original commit files touched by this commit  2.0_3
glewis search for other commits by this committer
. Separate standard variables from variables local to this Makefile.
21 Jan 2005 10:27:52
Original commit files touched by this commit  2.0_3
phantom search for other commits by this committer
One more place to reflect existence of jdk 1.5.
Bump PORTREVISION
24 Dec 2004 15:24:14
Original commit files touched by this commit  2.0_2
hq search for other commits by this committer
Take into account the '-devel' package name suffix when registering CONFLICTS
with java/kaffe-devel

Pointy hat to:  me
24 Dec 2004 15:09:16
Original commit files touched by this commit  2.0_2
hq search for other commits by this committer
- Register CONFLICTS with java/kaffe and java/kaffe-devel
16 Dec 2004 15:38:17
Original commit files touched by this commit  2.0_2
glewis search for other commits by this committer
. 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>
07 Dec 2004 20:18:48
Original commit files touched by this commit  2.0_2
glewis search for other commits by this committer
. Run the pkg-install script correctly.
. Bump PORTREVISION for this change and the previous change to
  javavmwrapper itself.
07 Dec 2004 20:18:04
Original commit files touched by this commit  2.0_1
glewis search for other commits by this committer
. 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]
12 Nov 2004 16:12:48
Original commit files touched by this commit  2.0_1
glewis search for other commits by this committer
. 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>
11 Nov 2004 19:17:37
Original commit files touched by this commit  2.0
glewis search for other commits by this committer
. 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 'java' that is executed via one of these symlinks is
    determined by the order of the (sorted) configuration file
    ${LOCALBASE}/etc/javavms and by the environment variables
    JAVA_VERSION, JAVA_OS and JAVA_VENDOR which function to select
    a VM as they do in the ports framework.
. There is a new command, checkvms, to sanity check the configuration
  and symlinks.
. The "javavm" executable is currently retained in its original capacity
  as a synonym for Java for backward compatibility.  However, its use
  is deprecated.
. Temporarily set MAINTAINER to myself to make monitoring any initial
  bug reports easier.  The intent is to convert it to java@ at a later
  date.

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>
03 Sep 2004 16:23:01
Original commit files touched by this commit  1.5
glewis search for other commits by this committer
. JAVALIBDIR is more appropriate than JAVAJARDIR now we have it.
01 Apr 2004 13:40:14
Original commit files touched by this commit  1.5
des search for other commits by this committer
Add a classpath script.
29 Jul 2003 09:12:37
Original commit files touched by this commit  1.4
sobomax search for other commits by this committer
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.
07 Mar 2003 06:04:45
Original commit files touched by this commit  1.4
ade search for other commits by this committer
Clear moonlight beckons.
Requiem mors pacem pkg-comment,
And be calm ports tree.

E Nomini Patri, E Fili, E Spiritu Sancti.
02 Feb 2002 22:24:20
files touched by this commit
sobomax search for other commits by this committer
Long overdue fix: correctly process arguments with spaces.    
03 Dec 2001 14:43:07
files touched by this commit
sobomax search for other commits by this committer
Revert previous fix - it was not properly thought out.    
26 Nov 2001 13:00:50
files touched by this commit
sobomax search for other commits by this committer
Use "$@" instead of "$*" to pass parameters to a subshell. This ensures that  
parameters with spaces are passed correctly.    
19 Jan 2001 14:24:30
files touched by this commit
roger search for other commits by this committer
Fix typo    
01 Nov 2000 15:51:11
files touched by this commit
sobomax search for other commits by this committer
Whitespace-only:   Make indentation uniform across my ports.    
08 Oct 2000 03:02:04
files touched by this commit
asami search for other commits by this committer
Convert category java to new layout.  
20 Jun 2000 08:40:22
files touched by this commit
sobomax search for other commits by this committer
Add "unset JAVA_HOME" to make javavmwrapper working with some brain damaged  
software (Adobe AcrobatViewer).    
12 Jun 2000 14:37:28
files touched by this commit
sobomax search for other commits by this committer
Fix typo.    
12 Jun 2000 13:43:43
files touched by this commit
sobomax search for other commits by this committer
Handle comments in all places.    
12 Jun 2000 10:42:51
files touched by this commit
sobomax search for other commits by this committer
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.    

Number of commits found: 60

Login
User Login
Create account

Servers and bandwidth provided by
New York Internet, SuperNews, and RootBSD

This site
What is FreshPorts?
About the authors
FAQ
How big is it?
The latest upgrade!
Privacy
Forums
Blog
Contact

Search
Enter Keywords:
 
more...

Latest Vulnerabilities
mingw32-opensslApr 23
opensslApr 23
py-djangoApr 23
py-django-develApr 23
py-django14Apr 23
py-django15Apr 23
bugzilla40*Apr 18
bugzilla40*Apr 18
bugzilla42*Apr 18
bugzilla42*Apr 18
bugzilla44*Apr 18
bugzilla44*Apr 18
curlApr 11
dbus-glibApr 11
libaudiofileApr 11

14 vulnerabilities affecting 20 ports have been reported in the past 14 days

* - modified, not new

All vulnerabilities


Ports
Home
Categories
Deleted ports
Sanity Test Failures
Newsfeeds


Statistics
Graphs
NEW Graphs (Javascript)
Traffic

Calculated hourly:
Port count 24374
Broken 178
Deprecated 91
Ignore 533
Forbidden 6
Restricted 263
No CDROM 108
Vulnerable 29
Expired 24
Set to expire 78
Interactive 22
new 24 hours 5
new 48 hours8
new 7 days17
new fortnight34
new month134

Servers and bandwidth provided by
New York Internet, SuperNews, and RootBSD
Valid HTML, CSS, and RSS.
Copyright © 2000-2014 Dan Langille. All rights reserved.