Could be partly my fault — a late night, downloaded and ran the installer, which turned out to be the 32-bit, not the 64-bit version. The message I got was this:
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x0000000000038250, pid=13813, tid=0x00007f64859af700
#
# JRE version: OpenJDK Runtime Environment (8.0_192-b12) (build 1.8.0_192-20181024121959.buildslave.jdk8u-src-tar--b12)
# Java VM: GraalVM 1.0.0-rc11 (25.192-b12-jvmci-0.53 mixed mode linux-amd64 compressed oops)
# Problematic frame:
# C 0x0000000000038250
#
# Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# An error report file with more information is saved as:
# /home/daniel/hs_err_pid13813.log
#
# If you would like to submit a bug report, please visit:
# http://bugreport.java.com/bugreport/crash.jsp
That’s not the exact message then, just something similar. I then installed the 64-bit version, and got the message above.
As an aside, I did manage to install it on my Windows 10 box, prefer to do my dev work in Linux though.
My setup:
Lenovo ThinkPad X201 Tablet, 8GB RAM, 500GB SSD
Linux Peppermint, based on Ubuntu 18.04.1
GraalVM for Java JRE (based on OpenJDK) — Graal provides a VM that supports for Java, R, some others
My apologies for pasting the log file here, can’t attach it:
<grumble>
can’t even paste it, have to create a reply I guess
</grumble>
[EDIT:] How can I upload a log file, please, the editor won’t accept more than 32000 characters?
daniel@x201t ~ $ /opt/MicroEJ/MicroEJ-Studio-19.05/rcp/MicroEJ-Studio
GraalVM 1.0.0-rc11 warning: ignoring option MaxPermSize=256m; support was removed in 8.0
#
# A fatal error has been detected by the Java Runtime Environment:
Thanks for the log file. I took a look to the java stack trace at crash and it is failing at early Eclipse Startup phase, when trying to display the splash.
Let me know what is the behavior with the java.com distribution.
We can also suspect a wrong SWT/GTK configuration on Linux side. Please have a look to the Linux Specifics section of the MicroEJ Studio/SDK release notes (https://repository.microej.com/p2/).
Thanks to all for the effort. In the short term, looks like I’ll have to resort to doing MicroEJ work on my Windows box. Over the longer term, I may just have to revert to Linux Mint, which gave me fewer problems with development software in general — e.g., Eclipse, Netbeans, etc
OK, I’m here again, with a bit of good news. I’m still on Peppermint, and finally got MicroEJ Studio to run, albeit 4.0.0 — indicates something about 4.1.5, hope the developers have time to look into it.
Next up: downloading a virtual device. My target devices are mainly ESP boards: an 8266, a couple of 32s — maybe more of the latter, although I still expect to use to 8266 — and a TTGO-Journal. I did download a .vde earlier, which 4.0.0 doesn’t seem to like. I do have a .jpf, although not sure it’s for the ESPs, will look into that later
.vde are the extention file for MicroEJ Virtual Device: A MicroEJ Virtual Device is a software package that includes the similar of a MicroEJ-ready device (Runtime, Libraries and Resident Applications) for testing a MicroEJ Sandboxed Application in MicroEJ Studio. Virtual devices can be downloaded here.
Those extentions are only supported on MicroEJ 5 (http://developer.microej.com/5/getting-started-studio.php?web=true). .jpf are binary platform files (or old virtual device), MicroEJ Platform: A MicroEJ Platform is a software package includes the build of a C board support package (BSP, with or without RTOS), a MicroEJ Architecture, adaptation layers, the MicroEJ Simulator and its associated MicroEJ Mocks.