utubro de 1999 18:03
Assunto: Re: Api Linux
>If you have to call C routine from Java, use JNI.
>It works well under Java on Linux.
>
>Jacob Nikom
>
>Rogério Garibalde Miranda wrote:
>>
>> How can I make a call to an API of the linux using java? I want to add an
>
Hi,
Be careful - that code snippet can cause deadlock, ie, execSystemCommand
will never return, at least on some systems. This is caused by an
undocumented "feature": there are output streams coming from the Process
object, and if these streams' buffers fill up, execution will stop until
someon
On Fri, 8 Oct 1999, [iso-8859-1] Rogério Garibalde Miranda wrote:
> How can I make a call to an API of the linux using java? I want to add an
> user to the linux, for example. thank you.
>
I think the following method may be useful:
public int execSystemCommand(String cmdLine)
throws Inter
If you have to call C routine from Java, use JNI.
It works well under Java on Linux.
Jacob Nikom
Rogério Garibalde Miranda wrote:
>
> How can I make a call to an API of the linux using java? I want to add an
> user to the linux, for example. thank you.
>
> Rogerio G Miranda
>
> --
Rogério Garibalde Miranda wrote:
>
> How can I make a call to an API of the linux using java? I want to add an
> user to the linux, for example. thank you.
>
> Rogerio G Miranda
If you want to call native C/C++ APIs, you'll need to use the Java
Native Interface to write a native method that acc
How can I make a call to an API of the linux using java? I want to add an
user to the linux, for example. thank you.
Rogerio G Miranda
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Cont