So, whenever I run my game in eclipse (tested java with MC, and it did not do anything error-like), it does not throw any exceptions. It just shows me this:
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x00007fd2187f93c6, pid=4799, tid=140540342081280
#
# JRE version: 7.0_25-b15
# Java VM: Java HotSpot(TM) 64-Bit Server VM (23.25-b01 mixed mode linux-amd64 compressed oops)
# Problematic frame:
# C [libc.so.6+0x14a3c6] __nss_hosts_lookup+0x18a76
#
# 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/wessles/java/git/MERCury/MERCury/hs_err_pid4799.log
#
# If you would like to submit a bug report, please visit:
# http://bugreport.sun.com/bugreport/crash.jsp
#
So something is wrong with JVM! I tried what it suggested (ulimit -c unlimited), but it still did not work!