Re: Forking Java GUI Apps

From: Jan Knutar (shadowjksp_at_yahoo.se)
Date: 09/25/04


Date: Sat, 25 Sep 2004 11:29:41 +0300

Wiseguy wrote:

> About the closest native function in java to forking is the Threads
> class. In Linux the implementation creates a child process for each
> thread. Without reengineering the java machine that's about as close
> as I think you'll get.

Atleast Blackdown java has the ability to use NPTL, IBM Java however just
crashes with those and require old gnu pthreads...



Relevant Pages

  • Re: Running an Executable from a JAVA API in LINUX
    ... >,this will replace daemon process genearated java. ... output streams of the process with the streams available to your ... If the child process writes to stdout or stderr and your application ... does not read from the corresponding stream, the pipe buffer will fill ...
    (comp.lang.java.programmer)
  • Re: Start scripts under linux
    ... >>process dies the child process gets terminated. ... >>after the parent process terminates. ... > If the original poster has access to the Java source code, ... problem for my java program in particular and why most start scripts ...
    (comp.os.linux.setup)
  • readLine of stdout blocks for a child process
    ... I launch a Win32 process from a java application. ... The problem is that this call blocks even when the child process has ...
    (microsoft.public.win32.programmer.kernel)
  • Re: Runtime.exec classpth
    ... > if I want to run a java application from the same java application: ... > meaning parent process spawns a child process, ... > parent's classpath and other configurations ... > ps.I was trying to do something with listerner but cannot get printing ...
    (comp.lang.java.programmer)
  • Re: How to pipe process output to System.out?
    ... >>How can I connect this to my System.out stream? ... >If you want the output of the child process to automatically go to the ... Otherwise you risk getting a deadlock between java and the external process, ... especially when that process generates large output on stdout. ...
    (comp.lang.java.programmer)