Skip to content

Make arduino script use compatible system version of JVM when not bundled with IDE application #5313

Closed
@NicoHood

Description

@NicoHood

arduino on linux is actually a script that launches arduino via java. If you build arduino yourself there is no bundled java included which means it will use your distris java. If its java7, it will crash.

I am maintaining the Archlinux AUR PKGBUILD which use a trick to ensure arduino starts with java8:
https://aur.archlinux.org/cgit/aur.git/tree/arduino.sh?h=arduino

Would there be another option to include this into the arduino script? It should be distribution independant, so I do not know how its handled on different OS. Does anyone know how we could solve it? I think that should be possible.

@facchinm @cmaglie you possibly have an idea or tip?

Metadata

Metadata

Assignees

No one assigned

    Labels

    OS: LinuxSpecific to the Linux version of the Arduino IDEType: WontfixArduino has decided that it will not resolve the reported issue or implement the requested featurefeature requestA request to make an enhancement (not a bug fix)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions