public
Last active

  • Download Gist
java.mk
Makefile
1 2
all:
javac -version

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.

Yet from the shell, I get:

$ javac -version
javac 1.6.0_51

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

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.