Autor Tema: problemas con ireport y debian 10  (Leído 706 veces)

0 Usuarios y 1 Visitante están viendo este tema.

eluqueunca

  • General Guarani
  • *
  • Mensajes: 3140
    • Ver Perfil
    • Email
  • Institución: Facultad de Ciencias Agrarias - UNCa
  • Nombre y apellido: Emilio Luque
  • Sistema: Siu-Guarani
problemas con ireport y debian 10
« on: Abril 13, 2021, 06:38:44 pm »
Hola

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

Código: [Seleccionar]
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

Leonel Leonardis

  • Moderador Global
  • *****
  • Mensajes: 3032
    • Ver Perfil
  • Institución: SIU
  • Nombre y apellido: Leonel Leonardis
  • Sistema: SIU-Guaraní
  • Utilizo algun sistéma del SIU: Sí

eluqueunca

  • General Guarani
  • *
  • Mensajes: 3140
    • Ver Perfil
    • Email
  • Institución: Facultad de Ciencias Agrarias - UNCa
  • Nombre y apellido: Emilio Luque
  • Sistema: Siu-Guarani
Re:problemas con ireport y debian 10
« Respuesta #2 on: Abril 24, 2021, 10:43:42 am »
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

Leonel Leonardis

  • Moderador Global
  • *****
  • Mensajes: 3032
    • Ver Perfil
  • Institución: SIU
  • Nombre y apellido: Leonel Leonardis
  • Sistema: SIU-Guaraní
  • Utilizo algun sistéma del SIU: Sí
Re:problemas con ireport y debian 10
« Respuesta #3 on: Abril 26, 2021, 09:01:48 pm »
Hola Emilio,

¿Y si probas con esta solución?

saludos.
2

eluqueunca

  • General Guarani
  • *
  • Mensajes: 3140
    • Ver Perfil
    • Email
  • Institución: Facultad de Ciencias Agrarias - UNCa
  • Nombre y apellido: Emilio Luque
  • Sistema: Siu-Guarani
Re:problemas con ireport y debian 10
« Respuesta #4 on: Abril 27, 2021, 05:37:05 pm »
Hola Leonel

Tampoco. Ni con java 8 ni java 11.

Tenes idea que lleva esa variable DISPLAY?

Emilio

Cita
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#

Leonel Leonardis

  • Moderador Global
  • *****
  • Mensajes: 3032
    • Ver Perfil
  • Institución: SIU
  • Nombre y apellido: Leonel Leonardis
  • Sistema: SIU-Guaraní
  • Utilizo algun sistéma del SIU: Sí
Re:problemas con ireport y debian 10
« Respuesta #5 on: Abril 28, 2021, 02:27:00 pm »
Hola Emilio,

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

Código: [Seleccionar]
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