#859138 java.lang.UnsupportedOperationException: The BROWSE action is not supported on the current platform! #859138
- Package:
- src:openjdk-11
- Source:
- openjdk-11
- Submitter:
- Thorsten Glaser
- Date:
- 2022-03-28 20:00:02 UTC
- Severity:
- normal
tglase@tglase-nb:~ $ cat >testcase.java <<\EOF
import java.awt.Desktop;
import java.net.URI;
public class testcase {
public static void main(String[] args) {
try {
Desktop.getDesktop().browse(new URI("http://www.mirbsd.org/"));
} catch (Exception e) {
System.out.println(e);
}
}
}
EOF
tglase@tglase-nb:~ $ javac testcase.java
tglase@tglase-nb:~ $ jar -cvfe testcase.jar testcase testcase.class
added manifest
adding: testcase.class(in = 686) (out= 448)(deflated 34%)
tglase@tglase-nb:~ $ java -jar testcase.jar
java.lang.UnsupportedOperationException: The BROWSE action is not supported on the current platform!
This works on Windows®, and some upstream author is now
requiring this unfortunately, reporting it also works
on e.g. Debian-derivate-that-cannot-be-named.
Note that both sensible-browser and xdg-open show the website, and that this generally works in other applications (e.g. in MuseScore, selecting the online handbook menu point). bye, //mirabilos
Dear submitter, as the package openjdk-8 has just been removed from the Debian archive unstable we hereby close the associated bug reports. We are sorry that we couldn't deal with your issue properly. For details on the removal, please see https://bugs.debian.org/915620 The version of this package that was in Debian prior to this removal can still be found using http://snapshot.debian.org/. This message was generated automatically; if you believe that there is a problem with it please contact the archive administrators by mailing ftpmaster@ftp-master.debian.org. Debian distribution maintenance software pp. Scott Kitterman (the ftpmaster behind the curtain)
found 859138 11.0.12+4-1 thanks $ java testcase This still fails on 11. bye, //mirabilos
*Vous avez besoin d'un prêt pour votre entreprise, besoin d'un prêt rapide pour régler vos factures, pour un usage personnel ? Notre offre propose des prêts avec un faible taux d'intérêt de 3%. Avez-vous pensé à contracter un prêt ? Vous avez probablement été rejeté par votre banque locale ? Veuillez répondre pour plus d'informations: guarantycreditloanunion@aol.com <guarantycreditloanunion@aol.com>*
*Avez-vous besoin de financement? Avez-vous besoin d'un prêt pour des besoins professionnels ou personnels? Nous proposons tous les types de prêts aux particuliers ou aux entreprises, quel que soit votre pointage de crédit actuel. Pour plus d'informations, n'hésitez pas à nous contacter par e-mail : guarantycreditloans@aol.com <guarantycreditloans@aol.com> pour plus d'informations.* *Merci pour votre temps, nous nous réjouissons d'accorder votre crédit en ligne.* *COPYRIGHT 2022 (R).*