diff options
Diffstat (limited to 'java.desktop')
-rw-r--r-- | java.desktop | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/java.desktop b/java.desktop new file mode 100644 index 000000000000..1e31598bca66 --- /dev/null +++ b/java.desktop @@ -0,0 +1,25 @@ +# +# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved. +# Use is subject to license terms. +# +# Desktop entry for automatic execution of files identified as either the +# x-jar or x-java-archive (historical) mime type. +# +# Note: This file may be installed under both "control-center-2.0" and +# "applications". Depending upon the version of GNOME, the copy in +# "applications" may take precedence. +# +# One might be tempted to add "Java" to the Catergories, but the definition +# is "uses Swing/ATW" whhich may not be true. +# +[Desktop Entry] +Encoding=UTF-8 +Name=Java <version> +Comment=Java <version> Virtual Machine +Exec=/usr/lib/jvm/java-<version>-jdk/bin/java -jar +Icon=java-jdk<version> +Terminal=false +Type=Application +NoDisplay=true +Categories=Applications; +MimeType=application/x-java-archive;application/x-jar; |