iReport无法开始使用JRE 8

编程入门 行业动态 更新时间:2024-10-26 14:40:59
本文介绍了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/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

本文发布于:2023-11-27 06:27:42,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1636967.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:iReport   JRE

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!