webers Posted November 6, 2018 Share Posted November 6, 2018 Hello,I download ireport to create report with talend data integration. I use windows 10 with jre 6.When the report is created, after a few secondes, ireprot stop and closed.I can't modify it.thanks Link to comment Share on other sites More sharing options...
sdgathman Posted November 7, 2018 Share Posted November 7, 2018 I am using iReport 5.6.0 with Java 8. You need to make a small change to WeakListenerImpl.java to use with Java 7 and above: diff --git a/openide.util/src/org/openide/util/WeakListenerImpl.java b/openide.util/src/org/openide/util/WeakListenerImpl.java--- a/openide.util/src/org/openide/util/WeakListenerImpl.java+++ b/openide.util/src/org/openide/util/WeakListenerImpl.java@@ -404,6 +404,7 @@ if (proxyConstructor == null) { Class<?> proxyClass = Proxy.getProxyClass(c.getClassLoader(), c); proxyConstructor = proxyClass.getConstructor(InvocationHandler.class);+ proxyConstructor.setAccessible(true); constructors.put(c, new SoftReference>(proxyConstructor)); }That change breaks Java sandboxing - so don't run any untrusted code in iReport! Link to comment Share on other sites More sharing options...
hozawa Posted November 7, 2018 Share Posted November 7, 2018 Under the etc folder, open the ireport.conf file and specify the "jdkhome" to the absolute path to the jre 6 installation. 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