apache-commons-exec - Apache Commons Exec

Distribution: RPM Universal
Repository: JPackage 6.0 all
Package name: apache-commons-exec
Package version: 1.0.1
Package release: 6.jpp6
Package architecture: noarch
Package type: rpm
Installed size: 161.72 KB
Download size: 144.98 KB
Official Mirror: mirrors.dotsrc.org
Executing external processes from Java is a well-known problem area. It is inheriently platform dependent and requires the developer to know and test for platform specific behaviors, for example using cmd.exe on Windows or limited buffer sizes causing deadlocks. The JRE support for this is very limited, albeit better with the new Java SE 1.5 ProcessBuilder class. Reliably executing external processes can also require knowledge of the environment variables before or after the command is executed. In J2SE 1.1-1.4 there is not support for this, since the method, System.getenv(), for retriving environment variables is deprecated. There are currently several different libraries that for their own purposes have implemented frameworks around Runtime.exec() to handle the various issues outlined above. The proposed project should aim at coordinating and learning from these initatives to create and maintain a simple, reusable and well-tested package. Since some of the more problematic platforms are not readily available, it is my hope that the broad Apache community can be a great help.



  • apache-commons-exec = 1.0.1-6.jpp6
  • commons-exec = 1.0.1-6.jpp6
  • jakarta-commons-exec = 1.0.1-6.jpp6


  • commons-exec < 1.0.1-6.jpp6
  • jakarta-commons-exec < 1.0.1-6.jpp6

    Install Howto

    Fedora, CentOS, RHEL:
    1. Download the latest jpackage-release rpm from
    2. Install jpackage-release rpm:
      # rpm -Uvh jpackage-release*rpm
    3. Install apache-commons-exec rpm package:
      # yum install apache-commons-exec
    1. Add the JPackage 6.0 repository:
      # zypper addrepo http://mirrors.dotsrc.org/jpackage/6.0/generic/free/ jpackage-6.0
    2. Install apache-commons-exec rpm package:
      # zypper install apache-commons-exec
    Mandriva, Mageia:
    1. Add the JPackage 6.0 repository:
      # urpmi.addmedia jpackage-6.0 http://mirrors.dotsrc.org/jpackage/6.0/generic/free/ with hdlist.cz
    2. Update packages list:
      # urpmi.update -a
    3. Install apache-commons-exec rpm package:
      # urpmi apache-commons-exec


    • /etc/maven/fragments/apache-commons-exec
    • /usr/share/doc/apache-commons-exec-1.0.1/LICENSE.txt
    • /usr/share/doc/apache-commons-exec-1.0.1/NOTICE.txt
    • /usr/share/java/apache-commons-exec-1.0.1.jar
    • /usr/share/java/apache-commons-exec.jar
    • /usr/share/java/commons-exec-1.0.1.jar
    • /usr/share/java/commons-exec.jar
    • /usr/share/java/jakarta-commons-exec-1.0.1.jar
    • /usr/share/java/jakarta-commons-exec.jar
    • /usr/share/java/repository.jboss.com/
    • /usr/share/java/repository.jboss.com/apache-exec/
    • /usr/share/java/repository.jboss.com/apache-exec/1.0.1-brew/component-info.xml
    • /usr/share/java/repository.jboss.com/apache-exec/1.0.1-brew/lib/commons-exec.jar
    • /usr/share/java/repository.jboss.com/apache-exec/1.0.1-brew/src/apache-commons-exec-jpp-depmap.xml
    • /usr/share/java/repository.jboss.com/apache-exec/1.0.1-brew/src/apache-commons-exec-settings.xml
    • /usr/share/java/repository.jboss.com/apache-exec/1.0.1-brew/src/commons-exec-1.0.1-src.tar.bz2
    • /usr/share/maven2/poms/JPP-apache-commons-exec.pom


    2010-10-09 - Ralph Apel <r.apel@r-apel.de> 0:1.0.1-6 - Provide compat symlinks for jakarta-commons-exec

    2010-09-23 - Ralph Apel <r.apel@r-apel.de> 0:1.0.1-5 - Drop Requires for apache-commons-parent

    2010-09-12 - Ralph Apel <r.apel@r-apel.de> 0:1.0.1-4 - OK move it to free

    2009-11-18 - Ralph Apel <r.apel@r-apel.de> 0:1.0.1-3 - rename to apache-commons-exec

    2009-10-29 - David Walluck <dwalluck@redhat.com> 0:1.0.1-2 - fix URL

    2009-10-29 - David Walluck <dwalluck@redhat.com> 0:1.0.1-1 - release