Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.maint.java > #12247

Re: Bug#990534: arduino: Arduino-IDE not starting witch Cinnamon Desktop.

Path csiph.com!newsfeed.xs4all.nl!newsfeed8.news.xs4all.nl!bofh.it!news.nic.it!robomod
From Carsten Schoenert <c.schoenert@t-online.de>
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 <CxxVn-wr-5@gated-at.bofh.it> (permalink)
References <Cw5ot-7XS-1@gated-at.bofh.it> <CwLe1-2Ip-1@gated-at.bofh.it> <CxrZE-5cf-13@gated-at.bofh.it> <Cw5ot-7XS-1@gated-at.bofh.it> <CxrZD-5cf-9@gated-at.bofh.it>
X-Original-To Rock Storm <rockstorm@gmx.com>, Sven Wagner <svenwag@gmail.com>
X-Mailbox-Line From debian-java-request@lists.debian.org Mon Jul 5 14:51:12 2021
Old-Return-Path <c.schoenert@t-online.de>
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 <debian-java@lists.debian.org> archive/latest/22876
List-ID <debian-java.lists.debian.org>
List-URL <https://lists.debian.org/debian-java/>
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> <CAHAerZzO7Lu6x=TvohPQxp6qWFem1e0D-4vfpajBQZnB=vktiA@mail.gmail.com> <162514760411.61433.7121044884736018392.reportbug@huiuiuiuiui.lan> <a91c51b3f41575ff6c466ae98dcdaccfd72746f3.camel@gmx.com>
Xref csiph.com linux.debian.maint.java:12247 linux.debian.bugs.dist:1063852

Cross-posted to 2 groups.

Show key headers only | View raw


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

Back to linux.debian.maint.java | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

Re: Bug#990534: arduino: Arduino-IDE not starting witch Cinnamon  Desktop. Rock Storm <rockstorm@gmx.com> - 2021-07-05 10:20 +0200
  Re: Bug#990534: arduino: Arduino-IDE not starting witch Cinnamon  Desktop. Carsten Schoenert <c.schoenert@t-online.de> - 2021-07-05 17:10 +0200
    Re: Bug#990534: arduino: Arduino-IDE not starting witch Cinnamon  Desktop. Thorsten Glaser <t.glaser@tarent.de> - 2021-07-05 18:10 +0200
    Bug#990534: arduino: Arduino-IDE not starting witch Cinnamon Desktop. Carsten Schoenert <c.schoenert@t-online.de> - 2021-07-10 11:30 +0200
      Bug#990534: arduino: Arduino-IDE not starting witch Cinnamon Desktop. Thorsten Glaser <t.glaser@tarent.de> - 2021-07-10 19:00 +0200

csiph-web