Wednesday, 25 January 2017

Getting ESPlorer to Run on Mint 17.4

I was having problems getting ESPlorer to run on my Linux machine , this to program an ESP8266 Wemos D1 Mini Clone with Lua , html content and an HA Bridge running on a Raspberry Pi for use with an Amazon Echo to control some RF remote control mains sockets. The error displayed from the console was  :-
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00007fe595a40009, pid=11774, tid=11803
#
# JRE version: OpenJDK Runtime Environment (9.0) (build 9-internal+0-2016-04-14-195246.buildd.src)
# Java VM: OpenJDK 64-Bit Server VM (9-internal+0-2016-04-14-195246.buildd.src, mixed mode, tiered, compressed oops, g1 gc, linux-amd64)
# Problematic frame:
# C  [libjava.so+0x1d009]  JNU_GetEnv+0x19
I used the command :-
sudo update-alternatives --config java  
and had the choice of either java-8-openjdk-amd64 or java-9-openjdk-amd64 on my machine. The default was java-9-openjdk-amd64 so I selected java-8-openjdk-amd64 and ESPlorer then worked without issue , I hope this helps someone in the same position.

No comments:

Post a Comment

File resolv.conf changed on reboot

The file /etc/resolv.conf was being reset and losing the correct nameserver on my Raspberry Pi after a reboot. The unfriendly way of fixing ...