problemas con ireport y debian 10

Hola

Al intentar ejecutar iReport 5.6 en debian 10 me sale lo siguiente:

ireport --jdkhome /usr/lib/jvm/java-11-openjdk-amd64
OpenJDK 64-Bit Server VM warning: Ignoring option MaxPermSize; support was removed in 8.0
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.netbeans.ProxyURLStreamHandlerFactory (file:/home/guarani/Descargas/iReport-5.6.0/platform9/lib/boot.jar) to method java.net.URL.getURLStreamHandler(java.lang.String)
WARNING: Please consider reporting this to the maintainers of org.netbeans.ProxyURLStreamHandlerFactory
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release

Hay alguna solución conocida para este inconveniente?

Emilio

Hola Emilio,

Hay otro foro similar: http://foro.comunidad.siu.edu.ar/index.php?topic=21766

Parece que se soluciona con esto:
https://backstage.forgerock.com/knowledge/kb/article/a15048811
https://community.jaspersoft.com/questions/1173006/warning-illegal-reflective-access-operation-has-occurred
https://issues.apache.org/jira/browse/GROOVY-8339

saludos.
2

Hola Leonel

No se solucionó.
La libreria que da error es distinta. En el caso que mencionas es groovy y en el mio boot
Probé instalar java-8 y sigue el fallo diciendo que la variable DISPLAY no esta seteada.
Seguiré investigando.

Emilio

Hola Emilio,

¿Y si probas con esta solución?

saludos.
2

Hola Leonel

Tampoco. Ni con java 8 ni java 11.

Tenes idea que lleva esa variable DISPLAY?

Emilio

root@emilio:~# chmod -R 777 /dev/shm root@emilio:~# cd iReport-5.6.0/bin/ root@emilio:~/iReport-5.6.0/bin# ./ireport Cannot find java. Please use the --jdkhome switch. root@emilio:~/iReport-5.6.0/bin# ./ireport --jdkhome /usr/lib/jvm/adoptopenjdk-8-hotspot-amd64 ./../platform9/lib/nbexec: WARNING: environment variable DISPLAY is not set OpenJDK 64-Bit Server VM warning: ignoring option MaxPermSize=512m; support was removed in 8.0 root@emilio:~/iReport-5.6.0/bin# ./ireport --jdkhome /usr/lib/jvm/ adoptopenjdk-8-hotspot-amd64/ .java-1.11.0-openjdk-amd64.jinfo .adoptopenjdk-8-hotspot-amd64.jinfo java-11-openjdk-amd64/ default-java/ openjdk-11/ java-1.11.0-openjdk-amd64/ root@emilio:~/iReport-5.6.0/bin# ./ireport --jdkhome /usr/lib/jvm/default-java/ ./../platform9/lib/nbexec: WARNING: environment variable DISPLAY is not set OpenJDK 64-Bit Server VM warning: Ignoring option MaxPermSize; support was removed in 8.0 WARNING: An illegal reflective access operation has occurred WARNING: Illegal reflective access by org.netbeans.ProxyURLStreamHandlerFactory (file:/root/iReport-5.6.0/platform9/lib/boot.jar) to method java.net.URL.getURLStreamHandler(java.lang.String) WARNING: Please consider reporting this to the maintainers of org.netbeans.ProxyURLStreamHandlerFactory WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations WARNING: All illegal access operations will be denied in a future release root@emilio:~/iReport-5.6.0/bin#

Hola Emilio,

Yo también hace tiempo que no puede levantar el iReport, me dice:


lleonardis@lleonardis-H81M-H:~/Downloads/iReport-5.6.0/bin$ ./ireport
Java HotSpot(TM) 64-Bit Server VM warning: Ignoring option MaxPermSize; support was removed in 8.0
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.netbeans.ProxyURLStreamHandlerFactory (file:/home/lleonardis/Downloads/iReport-5.6.0/platform9/lib/boot.jar) to method java.net.URL.getURLStreamHandler(java.lang.String)
WARNING: Please consider reporting this to the maintainers of org.netbeans.ProxyURLStreamHandlerFactory
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release

Pero estoy usando el plugin de Netbeans en lugar de iReport:
https://www.youtube.com/watch?v=RMLJ1aYOPMs
https://sourceforge.net/projects/ireport/files/iReport%20Plugin%20for%20NetBeans/
https://sourceforge.net/projects/ireport/files/iReport%20Plugin%20for%20NetBeans/iReport-5.6.0/

Te dejo captura de como se ve!!!

Si no queres usar el plugin de Netbeans vas a tener que ver el tema de la versión de Java, para cambiar la version de Java podes ver este hilo.

saludos.
2


Screenshot from 2021-04-28 14-17-26.png

Screenshot from 2021-04-28 14-17-26.png