javaireportportable-applications

opening IReport getting error message - "Cannot find java exe."


My report works fine in my computer but When Opening an IReport File in Java on another computer,

I keep getting error message -

"Cannot find java exe."

or

"Neither (null)\\jre\\bin\\java.exe nor (null)\\vin\\java.exe exists"

I am Using IReport portable. What could be the problem?


Solution

  • This is because jdkhome is not setup yet or jdkhome cannot locate your jdk file in the system. all you have to do is:

    -setup jdkhome in ireport's ireport.conf file

    jdkhome="/path/to/jdk"
    jdkhome="c:Program Files/Java/jre7"-file to jdk