jvmubuntu-12.04ireportjvm-hotspot

iReport 5.5.0 won't start


I want to use iReport on ubuntu 12.04. When I try to start it, it stands still and just gives me this error:

Java HotSpot(TM) 64-Bit Server VM warning: You have loaded library /tmp/jna4023560596826437553.tmp which might have disabled stack guard. The VM will try to fix the stack guard now.
It's highly recommended that you fix the library with 'execstack -c <libfile>', or link it with '-z noexecstack'.

How can I solve this problem ?

Edit: I tried: execstack -c /tmp/jna4023560596826437553.tmp but that didn't help.


Solution

  • This error seems more related to a JVM problem instead of jasper. Indeed, Java 7 on linux has a feature which blocks code written in C (or other languages like Ruby etc) and linked into Java (the so-called Java Native Interface - JNI) from halting the whole VM if it’s written badly or maliciously. So, if you're using java version 1.7, getting back to 1.6 should do the trick. But if you want to keep this version, then try a clean uninstall and re-install of java: Uninstall, Install

    Notice that if you're not running on 1.7 , it could be a compatibility problem. Try to match the right jars required for iReport to get it work on linux.