Path: csiph.com!newsfeed.xs4all.nl!newsfeed7.news.xs4all.nl!bofh.it!news.nic.it!robomod From: Thorsten Glaser Newsgroups: linux.debian.maint.java,linux.debian.bugs.dist Subject: Re: Bug#990534: arduino: Arduino-IDE not starting witch Cinnamon Desktop. Date: Mon, 05 Jul 2021 18:10:01 +0200 Message-ID: References: X-Mailbox-Line: From debian-java-request@lists.debian.org Mon Jul 5 16:01:54 2021 Old-Return-Path: X-Amavis-Spam-Status: No, score=-5.501 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, FOURLA=0.1, KHOP_HELO_FCRDNS=0.399, LDO_WHITELIST=-5, WORD_WITHOUT_VOWELS=1] autolearn=no autolearn_force=no X-Policyd-Weight: using cached result; rate: -3.5 Content-Language: de-DE-1901 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: QUOTED-PRINTABLE X-Mailing-List: archive/latest/22877 List-ID: List-URL: List-Archive: https://lists.debian.org/msgid-search/fda64624-3e2b-79dc-5181-60d97450b693@tarent.de Approved: robomod@news.nic.it Lines: 55 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Cc: Rock Storm , Sven Wagner , debian-java@lists.debian.org, 990534@bugs.debian.org X-Original-Date: Mon, 5 Jul 2021 18:01:36 +0200 (CEST) X-Original-Message-ID: X-Original-References: <162514760411.61433.7121044884736018392.reportbug@huiuiuiuiui.lan> <034f8aee78baa2505462b801e182edeede43da6d.camel@gmx.com> <162514760411.61433.7121044884736018392.reportbug@huiuiuiuiui.lan> <37f6680d-4c8f-f81e-dd1f-c371cd2e0b2c@t-online.de> Xref: csiph.com linux.debian.maint.java:12248 linux.debian.bugs.dist:1063859 On Mon, 5 Jul 2021, Carsten Schoenert wrote: > > $ ls -la /usr/bin/java > > lrwxrwxrwx 1 root root 22 19. Jun 2017 /usr/bin/java -> /etc/alternati= ves/java > > $ ls -la /etc/alternatives/java > > lrwxrwxrwx 1 root root 43 8. Nov 2018 /etc/alternatives/java -> /usr/= lib/jvm/java-11-openjdk-amd64/bin/java You can also use =E3=80=8Creadlink -f $(which java)=E3=80=8D, which finds the java binary from $PATH. Do also manually inspect the output of =E3=80=8Cwhich -a java=E3=80=8D which shows all java binaries reachable from $PATH, and whether any of the environment variables, like $JAVA_HOME, are set (they shouldn=E2=80=99t, in a normal Debian installation with one JRE installed). > I've recently discovered similar problems elsewhere and I needed to > reinstall the openjdk packages. So it's possible that some symlinking > isn't correct. You should use update-java-alternatives for that. > It's also possible that something is changing the variable JAVA_OPTIONS > that is finally used in the wrapper. >=20 > You can simply add a line like this right before the last line in the > wrapper script. >=20 > > JAVA_OPTIONS+=3D("-splash:$APPDIR/lib/splash.png") > > fi > > =20 > > +echo "Using JAVA_OPTIONS: $JAVA_OPTIONS" This will show only the first array element. You=E2=80=99ll need: =09echo "Using JAVA_OPTIONS: ${JAVA_OPTIONS[*]}" > > "$JAVA" "${JAVA_OPTIONS[@]}" processing.app.Base "$@" >=20 > Then please call arduino again from CLI. bye, //mirabilos --=20 Infrastrukturexperte =E2=80=A2 tarent solutions GmbH Am Dickobskreuz 10, D-53121 Bonn =E2=80=A2 http://www.tarent.de/ Telephon +49 228 54881-393 =E2=80=A2 Fax: +49 228 54881-235 HRB AG Bonn 5168 =E2=80=A2 USt-ID (VAT): DE122264941 Gesch=C3=A4ftsf=C3=BChrer: Dr. Stefan Barth, Kai Ebenrett, Boris Esser, Ale= xander Steeg ************************************************* Mit dem tarent-Newsletter nichts mehr verpassen: www.tarent.de/newsletter *************************************************