openjdk team mailing list archive
-
openjdk team
-
Mailing list archive
-
Message #10924
[Bug 1448548] [NEW] OpenJDK 8 Apt-Get Install Doesn't Generate openjdk-8-java.desktop File
Public bug reported:
Ubuntu Release: 15.04 Vivid Vervet
Version of Package: 8u45-b14-1
What I Expected to Happen: I expected that in order to install Java on my system, I could simply run:
sudo apt-get install openjdk-8-jre OR sudo apt-get install openjdk-8-jdk
I also expected that it would automatically generate a .desktop file inside of /usr/share/applications in order to set OpenJDK as the default way of opening .JAR files.
What Happened Instead: Java installs just fine. However, if I try to set OpenJDK as the default for opening .JAR files, there is no entry for OpenJDK in the "Default Applications" list (under Right Click > Properties > Open With). That meant that I had to manually navigate to /usr/share/applications in Terminal and manually create an openjdk-8-java.desktop file containing:
[Desktop Entry]
Name=OpenJDK Java 8 Runtime
Comment=OpenJDK Java 8 Runtime
Exec=java -jar %u
Terminal=false
Type=Application
Icon=openjdk-8
Mimetype=application/x-java-archive;application/java-archive;application/x-jar;
NoDisplay=false
** Affects: openjdk-8 (Ubuntu)
Importance: Undecided
Status: New
** Package changed: openjdk-7 (Ubuntu) => openjdk-8 (Ubuntu)
--
You received this bug notification because you are a member of OpenJDK,
which is subscribed to openjdk-7 in Ubuntu.
https://bugs.launchpad.net/bugs/1448548
Title:
OpenJDK 8 Apt-Get Install Doesn't Generate openjdk-8-java.desktop File
Status in openjdk-8 package in Ubuntu:
New
Bug description:
Ubuntu Release: 15.04 Vivid Vervet
Version of Package: 8u45-b14-1
What I Expected to Happen: I expected that in order to install Java on my system, I could simply run:
sudo apt-get install openjdk-8-jre OR sudo apt-get install openjdk-8-jdk
I also expected that it would automatically generate a .desktop file inside of /usr/share/applications in order to set OpenJDK as the default way of opening .JAR files.
What Happened Instead: Java installs just fine. However, if I try to set OpenJDK as the default for opening .JAR files, there is no entry for OpenJDK in the "Default Applications" list (under Right Click > Properties > Open With). That meant that I had to manually navigate to /usr/share/applications in Terminal and manually create an openjdk-8-java.desktop file containing:
[Desktop Entry]
Name=OpenJDK Java 8 Runtime
Comment=OpenJDK Java 8 Runtime
Exec=java -jar %u
Terminal=false
Type=Application
Icon=openjdk-8
Mimetype=application/x-java-archive;application/java-archive;application/x-jar;
NoDisplay=false
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openjdk-8/+bug/1448548/+subscriptions
Follow ups
-
[Bug 1448548] Re: OpenJDK 7/8 don't generate .desktop needed by nautilus
From: Launchpad Bug Tracker, 2015-09-07
-
[Bug 1448548] Re: OpenJDK 7/8 don't generate .desktop needed by nautilus
From: Launchpad Bug Tracker, 2015-09-04
-
[Bug 1448548] Re: OpenJDK 7/8 don't generate .desktop needed by nautilus
From: Launchpad Bug Tracker, 2015-09-04
-
[Bug 1448548] Re: OpenJDK 7/8 don't generate .desktop needed by nautilus
From: Bruno Nova, 2015-09-02
-
[Bug 1448548] Re: OpenJDK 7/8 don't generate .desktop needed by nautilus
From: Sebastien Bacher, 2015-08-13
-
[Bug 1448548] Re: OpenJDK 7/8 don't generate .desktop needed by nautilus
From: Matthias Klose, 2015-08-13
-
[Bug 1448548] Re: OpenJDK 7/8 don't generate .desktop needed by nautilus
From: Matthias Klose, 2015-08-13
-
[Bug 1448548] Re: OpenJDK 7/8 don't generate .desktop needed by nautilus
From: Marc Deslauriers, 2015-08-13
-
[Bug 1448548] Re: OpenJDK 7/8 don't generate .desktop needed by nautilus
From: Marc Deslauriers, 2015-08-13
-
[Bug 1448548] Re: OpenJDK 8 Apt-Get Install Doesn't Generate openjdk-8-java.desktop File
From: Sebastien Bacher, 2015-08-06
-
[Bug 1448548] Re: OpenJDK 8 Apt-Get Install Doesn't Generate openjdk-8-java.desktop File
From: Sebastien Bacher, 2015-08-06
-
[Bug 1448548] Re: OpenJDK 8 Apt-Get Install Doesn't Generate openjdk-8-java.desktop File
From: Launchpad Bug Tracker, 2015-06-22
-
[Bug 1448548] Re: OpenJDK 8 Apt-Get Install Doesn't Generate openjdk-8-java.desktop File
From: Josep Pujadas-Jubany, 2015-06-01
-
[Bug 1448548] Re: OpenJDK 8 Apt-Get Install Doesn't Generate openjdk-8-java.desktop File
From: Josep Pujadas-Jubany, 2015-06-01
-
[Bug 1448548] Re: OpenJDK 8 Apt-Get Install Doesn't Generate openjdk-8-java.desktop File
From: Michael Nguyen, 2015-06-01
-
[Bug 1448548] Re: OpenJDK 8 Apt-Get Install Doesn't Generate openjdk-8-java.desktop File
From: Launchpad Bug Tracker, 2015-06-01
-
[Bug 1448548] Re: OpenJDK 8 Apt-Get Install Doesn't Generate openjdk-8-java.desktop File
From: Josep Pujadas-Jubany, 2015-06-01
-
[Bug 1448548] Re: OpenJDK 8 Apt-Get Install Doesn't Generate openjdk-8-java.desktop File
From: Frédéric Praca, 2015-05-18
-
[Bug 1448548] Re: OpenJDK 8 Apt-Get Install Doesn't Generate openjdk-8-java.desktop File
From: Launchpad Bug Tracker, 2015-05-18
-
[Bug 1448548] [NEW] OpenJDK 8 Apt-Get Install Doesn't Generate openjdk-8-java.desktop File
From: Michael Nguyen, 2015-04-25
References