tomking23 Posted February 14, 2010 Share Posted February 14, 2010 Hi Everyone -I'm new to iReport... I have a new Windows 7 PC with very few programs installed (except MS Office 2007, Visual Studio 2008 and Visual Foxpro 9.2 )machine... I installed the latest build of iReport (Windows stand-alone version).Everything appeared to install correctly ... however.. when I attempted to run the program, I get the following error:"Cannot find java exe.""Neither (null)\jre\bin\java.exe nor (null)\vin\java.exe exists"My question is: Even though I installed the "stand-alone" version ... do I have-to install additional files? If so... which, and where can I find them?Thanks for any help you can give me! Link to comment Share on other sites More sharing options...
arundba Posted February 15, 2010 Share Posted February 15, 2010 Code:just setup the JAVA_HOME Environmental variable with the following path. C:\Program Files\jasperserver-pro-3.7\java\jre You will be alright. Refer to the screenshot. Link to comment Share on other sites More sharing options...
tomking23 Posted February 15, 2010 Author Share Posted February 15, 2010 Thank you very much for your response...I had to "ADD" the Environmental variable... to the system properties... as it was not in the list at all ... however... nothing happened...When I try to run iReport... I still get the "Cannot find Java.exe..." error.Moreover... I don't even have the directory referenced in the environmental variable you suggested I add... iReport didn't install that directory (see attached picture of my directory) ...Do I need to install JasperServer and/or JasperReports, in addition to iReport... to get the necessary support files to run iReport?Thanks again ... !Post Edited by tomking23 at 02/15/2010 03:24 Link to comment Share on other sites More sharing options...
arundba Posted February 15, 2010 Share Posted February 15, 2010 hi tom, you don't need to install jasper server. search for java.exe on your system. Set that as the JAVA_HOME variable. once you point the java. you should be able to run ireport.i have iReport on windows 7 pro. Link to comment Share on other sites More sharing options...
arundba Posted February 15, 2010 Share Posted February 15, 2010 if you don't have java on your system, you have to download and install it.jre5 or jre6 will also do. Link to comment Share on other sites More sharing options...
tjnas Posted July 3, 2010 Share Posted July 3, 2010 Thanx Guyz I got my Ireport 3.7.3 working following your advice Link to comment Share on other sites More sharing options...
juvesoft Posted July 1, 2011 Share Posted July 1, 2011 I have win 7 x64 and Jre x64 intalled. IReport 4.0.2 installed.Still I receive the eror instead JAVA_HOME path sugested.Post Edited by juvesoft at 07/01/2011 23:38 Link to comment Share on other sites More sharing options...
aoopvn Posted December 9, 2011 Share Posted December 9, 2011 I'm using win 7 64bit. I installed iReport 4.5 (release on today - 8 Dec 2011) & it brings to me the same result.As what I see:/tools/fckeditor/editor/images/smiley/msn/shades_smile.gif+Reason:The iReport (in "C:Program Files (x86)JaspersoftiReport-4.5.0binireport.exe" for my case) look up absolute name of jre & jdk folders (not something like jre7 or jdk1.7.0_01 folder in installed Java folder, in this case I install the Java Platform (JDK) 7u1)+ Solution1st way:set JAVA_HOME in system variables to your installed Java folder but you have to be sure there are absoulte jre & jdk folders not the jre_x/jdk_x where x is the verion of java runtime as stated above)I prefer the 2nd way which is more flexible & can allow to use multiple java runtime2nd way:Set up the jdkhome in (installed Jaspersoft folder)iReport-4.5.0etcireport.conf to your installed Java folder.Example for my case: step1: create a new folder, eg: "C:Program FilesJavaforJasper45"step2: copy jre7 & jdk1.7.0_01 to that folder then rename to jre & jdk repectively step3: add this line in the ireport.conf jdkhome="c:Program FilesJavaforJasper45"/tools/fckeditor/editor/images/smiley/msn/lightbulb.gifThen it works for me Code: Post Edited by aoopvn at 12/09/2011 06:02Post Edited by aoopvn at 12/09/2011 06:03 Link to comment Share on other sites More sharing options...
istrak23 Posted February 14, 2013 Share Posted February 14, 2013 His solution sounds good, but don't have effect in windows 8 Link to comment Share on other sites More sharing options...
transcend3nt Posted September 25, 2013 Share Posted September 25, 2013 SET Environment Variable with:JAVA_HOME = E:Program FilesJavajre7or C:Program FilesJavajre7 where java.exe can be found in X:Program FilesJavajre7binjava.exe Link to comment Share on other sites More sharing options...
y.sarvinia Posted August 28, 2014 Share Posted August 28, 2014 Im on windows 8 and it worked. thank you! Link to comment Share on other sites More sharing options...
cstevenshermosilla Posted March 29, 2015 Share Posted March 29, 2015 the last solution work good in windows 8. Only edit the ireport.conf in notepad++ in administrator status Link to comment Share on other sites More sharing options...
khireddine.treeteq Posted August 13, 2015 Share Posted August 13, 2015 u just see this video on youtube: it's so helpfull Link to comment Share on other sites More sharing options...
mayur321 Posted August 10, 2016 Share Posted August 10, 2016 It works.... check this link Link to comment Share on other sites More sharing options...
mynameisalam Posted October 23, 2016 Share Posted October 23, 2016 Hi This is because it needs the JRE (Java Runtime Enviroment) which is not installed on your pc or if it is installed then the environment variables are not set.SolutionHard = Set the environment variables which most people don't know i dont mean every one so dont get me wrong.Easy = Install the latest JRE from this link https://www.java.com/en/download/ The installation will set every thing and you are done and good to go. Link to comment Share on other sites More sharing options...
developersougandh Posted January 27, 2017 Share Posted January 27, 2017 Thank you for the input @arundba. http://community.jaspersoft.com/sites/all/libraries/ckeditor/plugins/smiley/images/thumbs_up.gif Link to comment Share on other sites More sharing options...
ijaz.ali Posted November 13, 2017 Share Posted November 13, 2017 Below worked for me successfully. just setup the JAVA_HOME Environmental variable with the following path. C:\Program Files\jasperserver-pro-3.7\java\jre You will be alright. Refer to the screenshot.</td></tr></tbody></table> Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now