Java Applications are not shown on dock

Asked by iuiz

Hi,

I have a problem, that I can best explain with an example. Try to execute the following code (in an empty folder!!!):

echo -e "public class Main {public static void main(String[] args) {while(true){System.out.println(\"foo\");}}}" > Main.java
javac Main.java
jar cfe Main.jar Main Main.class

Now there is a new file named Main.jar. However, if you run this application (using rightclick and choosing your preffered java runtime) no application is shown in the dock.

I also noticed a similar problem. When I create a new starter for an application and run the starter, docky does not recognize the newly started application as part of the runner. Sometimes it does create a new applcation in docky, displaying a grey box with a questionmark on it. But I can't even pin this to the dock or assign a new icon.

Hope this helped.

Best regards,
iuiz

Question information

Language:
English Edit question
Status:
Answered
For:
Docky Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Chris S. (cszikszoy) said :
#1

This is a known problem. Please see lp:484610

Revision history for this message
Sam Dodrill (shadow-h511) said :
#2

Also, you need to spawn a window for docky to notice the process

Can you help with this problem?

Provide an answer of your own, or ask iuiz for more information if necessary.

To post a message you must log in.