arduino / arduino/Arduino

Arduino 1.8.11-32bits fails to launch on Lubuntu 18.04: could not open jvm.cfg

Open
#9,742 3 comments 0 reactions 0 assignees View on GitHub
Component: IDE OpenJDK Type: Bug
Dominant language
Java
Stars
14.6k
Forks
7k
PR merge metrics
No merged PRs in 30d

Description

Installing arduino-1.8.11 32bit (dnloaded form arduino.cc) on my Lubuntu 18.04 laptop.

The install process runs fine, but lauching arduino (in terminal or by clicking on icon) fails.

- ./arduino
- terminal says "Error : could not open /opt/arduino-1.8.11/java/lib/i386/jvm.cfg"

- Searched for such a file,
- found one in /usr/lib/jvm/java-1.11.0-openjdk-i386/lib
- copied it over go /opt/arduino-1.8.11/java/lib

- ./arduino
- terminal says "Error : failed /opt/arduino-1.8.11/java/lib/i386/server/libjvm.so, because /lib/i386-linux-gnu/libm.so.6: version 'GLIBC 2.29' not found (required by /opt/arduino-1.8.11/java/lib/i386/server/libjvm.so)"

Arduino 1.8.10 works fine.

---
Associated Arduino Forum thread:
https://forum.arduino.cc/index.php?topic=663860

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the failure with ./arduino on Lubuntu 18.04 using Arduino 1.8.11, then compare its bundled Java paths and launch behavior with Arduino 1.8.10. Check the reported jvm.cfg and libjvm.so errors against the system Java installation and GLIBC version; done means the 32-bit IDE launches without requiring manual file copying.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, linux, ubuntu
Domain
desktop, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.