Path: csiph.com!newsfeed.xs4all.nl!newsfeed8.news.xs4all.nl!bofh.it!news.nic.it!robomod From: Carsten Schoenert 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 17:10:02 +0200 Message-ID: References: X-Original-To: Rock Storm , Sven Wagner X-Mailbox-Line: From debian-java-request@lists.debian.org Mon Jul 5 14:51:12 2021 Old-Return-Path: X-Amavis-Spam-Status: No, score=-5.898 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, FOURLA=0.1, FREEMAIL_FROM=0.001, LDO_WHITELIST=-5, NICE_REPLY_A=-0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, WORD_WITHOUT_VOWELS=1] autolearn=no autolearn_force=no X-Policyd-Weight: using cached result; rate:hard: -5.5 X-Greylist: delayed 493 seconds by postgrey-1.36 at bendel; Mon, 05 Jul 2021 14:33:53 UTC User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit X-ID: Z69FqoZOghSBaVyZTokJsLjx393pXnmG1PtmHlThuJFLFqmLYjcBzDL7D1wOqLbghZ X-Toi-Expurgateid: 150726::1625495136-000102A7-8D7F6DED/0/0 CLEAN NORMAL X-Toi-Msgid: 9fa57c9c-1801-49d0-9065-40bcd477aac1 X-Mailing-List: archive/latest/22876 List-ID: List-URL: List-Archive: https://lists.debian.org/msgid-search/37f6680d-4c8f-f81e-dd1f-c371cd2e0b2c@t-online.de Approved: robomod@news.nic.it Lines: 48 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Cc: debian-java@lists.debian.org, 990534@bugs.debian.org X-Original-Date: Mon, 5 Jul 2021 16:25:35 +0200 X-Original-Message-ID: <37f6680d-4c8f-f81e-dd1f-c371cd2e0b2c@t-online.de> X-Original-References: <162514760411.61433.7121044884736018392.reportbug@huiuiuiuiui.lan> <034f8aee78baa2505462b801e182edeede43da6d.camel@gmx.com> <162514760411.61433.7121044884736018392.reportbug@huiuiuiuiui.lan> Xref: csiph.com linux.debian.maint.java:12247 linux.debian.bugs.dist:1063852 Hi, Am 05.07.21 um 10:09 schrieb Rock Storm: >> thanks fpr your answer. I tried all three points, same result. >> openjdk-11-jdk was not installed, but also did not help. > > Hi Sven, I'm out of ideas here then. Thanks for trying. the starting wrapper /usr/bin/arduino is simply using 'java' as the binary name to call the JRE binary but does not check if the binary in the path is usable or suitable. ----%<---- > JAVA=java > if [ -x "$APPDIR/java/bin/java" ]; then > JAVA=$APPDIR/java/bin/java > fi ---->%---- Sven, you could please check where /u/b/java is pointing to? It should look like this. > $ ls -la /usr/bin/java > lrwxrwxrwx 1 root root 22 19. Jun 2017 /usr/bin/java -> /etc/alternatives/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 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. It's also possible that something is changing the variable JAVA_OPTIONS that is finally used in the wrapper. You can simply add a line like this right before the last line in the wrapper script. > JAVA_OPTIONS+=("-splash:$APPDIR/lib/splash.png") > fi > > +echo "Using JAVA_OPTIONS: $JAVA_OPTIONS" > "$JAVA" "${JAVA_OPTIONS[@]}" processing.app.Base "$@" Then please call arduino again from CLI. -- Regards Carsten