Installing jive on Debian Stretch

Reynald,

you are absolutely right. I could reproduce the problem on Ubuntu 18.04 with java 10.0.1 (the latest default java jdk in Ubuntu 18.04).

I followed the recipe you pointed out on stack overflow. It almost worked - I had to download the jacorb-omgapi-3.4.jar and add org.omg.Timebase to the list of exports. I modified the jive script as follows and then jive worked (and atk):

usr/bin/java –add-modules "java.corba"  –patch-module "java.corba=/home/goetz/tango/jacorb-omgapi-3.4.jar" –add-exports=java.corba/org.omg.CONV_FRAME=ALL-UNNAMED –add-exports=java.corba/org.omg.CORBA_2_5=ALL-UNNAMED –add-exports=java.corba/org.omg.PortableGroup=ALL-UNNAMED –add-exports=java.corba/org.omg.ETF=ALL-UNNAMED –add-exports=java.corba/org.omg.GIOP=ALL-UNNAMED –add-exports=java.corba/org.omg.SSLIOP=ALL-UNNAMED –add-exports=java.corba/org.omg.CSIIOP=ALL-UNNAMED –add-exports=java.corba/org.omg.TimeBase=ALL-UNNAMED -mx128m -DTANGO_HOST=$TANGO_HOST $applet_name $@

I will add something to the documentation so others do not fall into this trap. Maybe we could include this in the official scripts in the future.

Daniel can you try this to see if it works for you?

Andy
I have created a docker image of the latest version of Jive (7.19) which includes openjdk:8: https://hub.docker.com/r/andygotz/tango-jive/

You can try it out on any Linux system where docker is installed with:

docker pull andygotz/tango-jive:7.19
docker run -ti –rm -e DISPLAY=$DISPLAY -e TANGO_HOST=$TANGO_HOST -v /tmp/.X11-unix:/tmp/.X11-unix –net=host andygotz/tango-jive:7.19

It avoids the issue with the Java version by including openjdk:8. Should work on any system where docker works …

Andy

p.s. this uses the X11 DISPLAY of your Linux desktop. To make it work on WIndows you need to run a X11 server on your Windows desktop e.g. Xming.
Edited 1 week ago
 
Register or login to create to post a reply.