summarylogtreecommitdiffstats
path: root/java.desktop
diff options
context:
space:
mode:
authorDet2018-09-26 19:28:49 +0300
committerDet2018-09-26 19:28:49 +0300
commitbc87f6dcca3739c57d33b27c15bc0cf1a01cc39b (patch)
treeecefafecc01cc3cfd6ac5f4faeb54cf90f4f214b /java.desktop
parentac6163f18ae18c957dd1f87c01e0d6e853d4183b (diff)
downloadaur-bc87f6dcca3739c57d33b27c15bc0cf1a01cc39b.tar.gz
Fix build
Diffstat (limited to 'java.desktop')
-rw-r--r--java.desktop25
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;