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


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

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

Path csiph.com!newsfeed.xs4all.nl!newsfeed7.news.xs4all.nl!bofh.it!news.nic.it!robomod
From Thorsten Glaser <t.glaser@tarent.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 18:10:01 +0200
Message-ID <Cxzkt-1vS-3@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> <CxxVn-wr-5@gated-at.bofh.it>
X-Mailbox-Line From debian-java-request@lists.debian.org Mon Jul 5 16:01:54 2021
Old-Return-Path <t.glaser@tarent.de>
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 <debian-java@lists.debian.org> archive/latest/22877
List-ID <debian-java.lists.debian.org>
List-URL <https://lists.debian.org/debian-java/>
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 <rockstorm@gmx.com>, Sven Wagner <svenwag@gmail.com>, 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 <fda64624-3e2b-79dc-5181-60d97450b693@tarent.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> <37f6680d-4c8f-f81e-dd1f-c371cd2e0b2c@t-online.de>
Xref csiph.com linux.debian.maint.java:12248 linux.debian.bugs.dist:1063859

Cross-posted to 2 groups.

Show key headers only | View raw


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/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

You can also use 「readlink -f $(which java)」, which finds
the java binary from $PATH. Do also manually inspect the
output of 「which -a java」 which shows all java binaries
reachable from $PATH, and whether any of the environment
variables, like $JAVA_HOME, are set (they shouldn’t, 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.
> 
> 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"

This will show only the first array element. You’ll need:
	echo "Using JAVA_OPTIONS: ${JAVA_OPTIONS[*]}"

> >  "$JAVA" "${JAVA_OPTIONS[@]}" processing.app.Base "$@"
> 
> Then please call arduino again from CLI.

bye,
//mirabilos
-- 
Infrastrukturexperte • tarent solutions GmbH
Am Dickobskreuz 10, D-53121 Bonn • http://www.tarent.de/
Telephon +49 228 54881-393 • Fax: +49 228 54881-235
HRB AG Bonn 5168 • USt-ID (VAT): DE122264941
Geschäftsführer: Dr. Stefan Barth, Kai Ebenrett, Boris Esser, Alexander Steeg

*************************************************

Mit dem tarent-Newsletter nichts mehr verpassen: www.tarent.de/newsletter

*************************************************

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