I am using Ubuntu 16, and I am trying to have multiple Java processes which I can track each process by its PID. They each have an X11 window. Is there any way to bring the Java task's window to the foreground by its PID?

closed as unclear what you're asking by Jeff Schaller, derobert, Christopher, Thomas, Mr Shunz Jan 17 at 10:37

Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.

  • 1
    Foreground as in these are all CLI programs that you run, e.g., java -jar whatever.jar & and you'd normally use something like fg 1 or are these GUI programs and you're trying to raise (and possibly un-minimize/-iconify) their windows? – derobert Jan 16 at 16:17
  • Yes I am trying to call the specific GUI window up for a specific PID – user331813 Jan 16 at 18:28

Browse other questions tagged or ask your own question.