jakarta-commons-exec - Jakarta Commons Exec

Distribution: RPM Universal
Repository: JPackage 6.0 all
Package name: jakarta-commons-exec
Package version: 1.0.1
Package release: 3.jpp6
Package architecture: noarch
Package type: rpm
Installed size: 67.09 KB
Download size: 55.60 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.




  • commons-exec = 1.0.1-3.jpp6
  • jakarta-commons-exec = 1.0.1-3.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 jakarta-commons-exec rpm package:
      # yum install jakarta-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 jakarta-commons-exec rpm package:
      # zypper install jakarta-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 jakarta-commons-exec rpm package:
      # urpmi jakarta-commons-exec


    • /etc/maven/fragments/jakarta-commons-exec
    • /usr/share/doc/jakarta-commons-exec-1.0.1/LICENSE.txt
    • /usr/share/doc/jakarta-commons-exec-1.0.1/NOTICE.txt
    • /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/maven2/poms/JPP-jakarta-commons-exec.pom


    2010-01-09 - Will Tatam <will.tatam@red61.com> 1.0.1-3 - Auto rebuild for JPackage 6 in centos5 mock

    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