OpenJDK 7/8 don't generate .desktop needed by nautilus
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
openjdk-7 (Ubuntu) |
Fix Released
|
High
|
Unassigned | ||
openjdk-8 (Ubuntu) |
Fix Released
|
High
|
Unassigned |
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/
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/
[Desktop Entry]
Name=OpenJDK Java 8 Runtime
Comment=OpenJDK Java 8 Runtime
Exec=java -jar %u
Terminal=false
Type=Application
Icon=openjdk-8
Mimetype=
NoDisplay=false
Related branches
affects: | openjdk-7 (Ubuntu) → openjdk-8 (Ubuntu) |
Changed in openjdk-7 (Ubuntu): | |
status: | Confirmed → New |
tags: | added: rls-w-incoming |
Changed in openjdk-8 (Ubuntu): | |
status: | Confirmed → Fix Committed |
Changed in openjdk-7 (Ubuntu): | |
status: | Confirmed → Fix Committed |
Status changed to 'Confirmed' because the bug affects multiple users.