I've created a DEB installer of my Java application for Debian-based systems. In my DEB package I use a *.desktop file like this:
[Desktop Entry]
Encoding=UTF-8
Version=${version}
Type=Application
Terminal=false
Exec=java -jar /usr/lib/name-of-my-app/${jar}
Name=${name}
Icon=/usr/share/icons/hicolor/128x128/apps/name-of-my-app.png
Everything works correctly, my applications installs well and runs well. But I've noticed very strange thing: after the first run of my app on Ubuntu, all other processes named "java" in the whole system now have the icon, I've specified in the *.desktop file. Is this an Ubuntu bug? Is this a bug in my installer?