iReport无法开始使用JRE 8 [英] iReport not starting using JRE 8

查看:60
本文介绍了iReport无法开始使用JRE 8的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经使用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.net/projects/ireport/files/iReport/iReport-5.6.0/

2)从 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的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆