When launching, one would assume the icon would be correct, but instead, it shows the default java icon and is named "Oracle Java 7 Runtime." When it launches the game, it's named properly, but the icon is a gray question mark.
This works perfectly on Windows and OS X.
Linked issues
is duplicated by 1
Comments 5
Is this still a concern in the current Minecraft / Launcher version? If so, please update the affected versions in order to best aid Mojang ensuring bugs are still valid in the latest releases/pre-releases.
I updated it for 1.0.10, but I only tested it in VirtualBox with OpenJDK. If needed, I can do it on a full install.
I found a question on Stack Overflow that may be useful. http://stackoverflow.com/questions/2483283/set-icon-image-in-jar-file
I hope you don't mind me bumping this after a year, but I think I may have found a workaround. You can create a Desktop Entry on demand, then place it in "~/.local/share/applications/<name>.desktop". You can then launch it using "gtk-launch <name>".
You can delete it after it launches.
More info. https://developer.gnome.org/gtk3/stable/gtk-launch.html
Something similar to this would work
[Desktop Entry]
Name=mcversion
Icon=/path/to/icon.png
Exec=however you start minecraft
Type=Application
Same, except the title is correct but the logo is a question mark.