Skip to content
Create a gist now

Instantly share code, notes, and snippets.

all:
javac -version
@mgalgs
Owner
mgalgs commented Aug 27, 2013

For me, results in:

$ make-3.81 -f ~/java.mk
javac -version
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00002aed1536501b, pid=4017, tid=47151888811776
#
# JRE version: 6.0_51-b09
# Java VM: Java HotSpot(TM) 64-Bit Server VM (20.51-b01 mixed mode linux-amd64 compressed oops)
# Problematic frame:
# J  java.lang.String.indexOf(II)I
#
# An error report file with more information is saved as:
# /local/mnt/workspace/mitchelh/jb_mr2/hs_err_pid4017.log
#
# If you would like to submit a bug report, please visit:
#   http://java.sun.com/webapps/bugreport/crash.jsp
#
make: *** [all] Aborted (core dumped)

Works fine with the latest make.

@mgalgs
Owner
mgalgs commented Aug 27, 2013

Yet from the shell, I get:

$ javac -version
javac 1.6.0_51
@dimaqq
dimaqq commented Sep 2, 2013

make absolutely sure you gave javac (or whatever tool) enough memory.
beyond that, it does indeed look quite fishy!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.