Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.maint.java > #12247
| 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 | 2021-07-05 17:10 +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> |
| Organization | linux.* mail to news gateway |
Cross-posted to 2 groups.
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 | Next — Previous in thread | Next in thread | Find similar
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