Set the effective user ID of the Java process.

bruno ais brunoaiss at
Mon Sep 11 08:58:14 UTC 2017

Any idea how it can be done on Windows?
Or better yet; is there a cross-platform thing or equivalence of that
If not, then that can easily be the reason.

On Mon, Sep 11, 2017 at 9:29 AM, DoWhile ForEach <dowhileforeach at>

> Hello.
> Please explain someone why the Java API has not yet implemented a method
> that allows you to set the effective user ID of the Java process.
> To accomplish this simple task, you have to make some workarounds.
> A striking example of such workarounds is jsvc tool from the Apache
> commons-daemon project for Tomcat server:
> c6507690113949b478dba157ef/src/native/unix/native/jsvc-unix.c#L163

More information about the core-libs-dev mailing list