I started recently using Gradle, on my Netbeans I installed the corresponding plugin, I followed a couple of tutorials with sample projects. Now I decided to implement it in a small project of mine.
I have a Main class that I use as a quick and dirty test. On windows it runs fine, on Linux it crashes.
Executing: gradle :run Arguments: [-PmainClass=test.Main, -c, /home/elect/NetBeansProjects/jgli/settings.gradle] :compileJava :processResources UP-TO-DATE :classes :run # # A fatal error has been detected by the Java Runtime Environment: # # SIGSEGV (0xb) at pc=0x0000000000002546, pid=14243, tid=140554612987648 # # JRE version: OpenJDK Runtime Environment (8.0_45-b14) (build 1.8.0_45-internal-b14) # Java VM: OpenJDK 64-Bit Server VM (25.45-b02 mixed mode linux-amd64 compressed oops) # Problematic frame: # C 0x0000000000002546 # # 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/elect/NetBeansProjects/jgli/hs_err_pid14243.log # # If you would like to submit a bug report, please visit: # http://bugreport.java.com/bugreport/crash.jsp # :run FAILED FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':run'. > Process 'command '/usr/lib/jvm/java-8-openjdk-amd64/bin/java'' finished with non-zero exit value 134 * Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. BUILD FAILED Total time: 19.144 secs
You can find the log here
This class implements
KeyListener from the jogamp library.
And this is my
How can I solve it?