Cannot open .jar with right-click > open with "sun java 6 runtime"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
sun-java6 (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Bug Description
Trying to open jdownloader (www.jdownloade
$ sudo update-alternatives --display java
java - manual mode
link currently points to /usr/lib/
/usr/lib/
slave java.1.gz: /usr/lib/
/usr/lib/
slave java.1.gz: /usr/lib/
Current `best' version is /usr/lib/
Works: JDownloader.jar > right-click > open with "openjdk java 6 runtime"
Does not work: JDownloader.jar > right-click > open with "sun java 6 runtime"
java in terminal and in an application launcher works though, e.g.:
java -jar /home/forger/
ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: sun-java6-bin 6.20dlj-1ubuntu2
ProcVersionSign
Uname: Linux 2.6.32-21-generic x86_64
NonfreeKernelMo
Architecture: amd64
Date: Thu Apr 22 23:51:18 2010
EcryptfsInUse: Yes
InstallationMedia: Ubuntu 10.04 "Lucid Lynx" - Alpha amd64 (20100329)
ProcEnviron:
LANG=en_US.utf8
SHELL=/bin/bash
SourcePackage: sun-java6
I think this causes the problem:
$ cat /usr/share/ applications/ sun-java6- java.desktop launcher@ -jar application/ x-java- archive; application/ java-archive; application/ x-jar;
[Desktop Entry]
Encoding=UTF-8
Name=Sun Java 6 Runtime
Comment=Sun Java 6 Runtime
Exec=@java_
Terminal=false
Type=Application
Icon=sun-java6
MimeType=
NoDisplay=true
What's @java_launcher@ ?