我已经使用Windows安装程序下载并安装了iReport 4.5.但是,当我尝试启动iReport时,它会显示启动屏幕,但无法启动.
I have downloaded and installed the iReport 4.5 using te Windows installer. But when I try to start the iReport it shows the splash screen but does not start.
我的JRE版本是8.
推荐答案还有另一种方法,如果您不想安装较旧的Java版本,可以执行以下操作:
There's another way if you don't want to have older Java versions installed you can do the following:
1)从 https下载iReport-5.6.0.zip. ://sourceforge/projects/ireport/files/iReport/iReport-5.6.0/
2)从 www.oracle/technetwork/java/javase/downloads/java-archive-downloads-javase7-521261.html
3)解压缩iReport,并将其解压缩到包含jre中的bin和etc文件夹的解压缩文件夹中.例如,如果对jre-7u67-windows-x64.tar.gz进行两次解压缩,则最终会得到一个名为jre1.7.0_67的文件夹.将该文件夹放在iReport-5.6.0目录中:
3) Extract the iReport and in the extracted folder that contains the bin and etc folders throw in the jre. For example if you unpack twice the jre-7u67-windows-x64.tar.gz you end up with a folder named jre1.7.0_67. Put that folder in the iReport-5.6.0 directory:
,然后进入etc文件夹并编辑ireport.conf文件,并在其中添加以下行:
and then go into the etc folder and edit the file ireport.conf and add the following line into it:
对于Windows jdkhome =.\ jre1.7.0_67"
For Windows jdkhome=".\jre1.7.0_67"
对于Linux jdkhome ="./jre1.7.0_67"
For Linux jdkhome="./jre1.7.0_67"
注意:jre版本可能会更改!根据您下载的1.7
Note : jre version may change! according to your download of 1.7
现在,如果您从iReport目录中的bin文件夹运行ireport_w.exe,它应该可以正常加载.
now if you run the ireport_w.exe from the bin folder in the iReport directory it should load just fine.
更多推荐
iReport无法开始使用JRE 8
发布评论