alle opties
jessie  ] [  stretch  ] [  buster  ] [  sid  ]
[ Bron: commons-exec  ]

Pakket: libcommons-exec-java (1.2-1)

Verwijzigingen voor libcommons-exec-java

Screenshot

Debian bronnen:

Het bronpakket commons-exec downloaden:

Beheerders:

Externe bronnen:

Vergelijkbare pakketten:

Java library to reliably execute external processes from within the JVM

Executing external processes from Java is a well-known problem area. It is inherently 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 no support for this, since the method, System.getenv(), for retrieving 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 commons-exec package aims at coordinating and learning from these initiatives to create and maintain a simple, reusable and well-tested package.

libcommons-exec-java downloaden

Pakket downloaden voor alle beschikbare platforms
Platform Pakketgrootte Geïnstalleerde grootte Bestanden
all 45,6 kB114,0 kB [overzicht]