cvs commit: ports/java/javavmwrapper Makefile pkg-deinstall pkg-install pkg-plist ports/java/javavmwrapper/src

Greg Lewis glewis at
Thu Nov 11 19:17:38 GMT 2004

glewis      2004-11-11 19:17:37 UTC

  FreeBSD ports repository

  Modified files:
    java/javavmwrapper   Makefile pkg-plist 
  Added files:
    java/javavmwrapper   pkg-deinstall pkg-install 
  . 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
  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 at>
  Revision  Changes    Path
  1.11      +10 -3     ports/java/javavmwrapper/Makefile
  1.1       +45 -0     ports/java/javavmwrapper/pkg-deinstall (new)
  1.1       +20 -0     ports/java/javavmwrapper/pkg-install (new)
  1.3       +1 -0      ports/java/javavmwrapper/pkg-plist
  1.8       +437 -34   ports/java/javavmwrapper/src/

More information about the cvs-ports mailing list