Questions and Answers

0 Like 0 Dislike

Bruce Barton

How do I install the Rappture Java bindings on a HUB built from the Open Source recipe?

I have followed the instructions for installing a HUB using the Debian package approach. I’ve installed Java on the VM and have it running in a workspace. Now I would like to install the Java bindings for Rappture. Is there a recipe?

Report abuse

3 Responses

  1. 0 Like 0 Dislike

    George A Howlett

    The version of Rappture in the current Debian packages release doesn’t contain bindings for Java applications. This was officially added last December. It will hopefully find its way into a new Debian package soon a month or so? I can’t speak for the Debian HUB package schedule. John Rosheck is the person to ask about that.

    If you need this feature sooner, you can a) wait a few days (7-10) for a tar ball containing a pre-compiled version built for the hub VM or b) build your own version of Rappture on the hub VM. Either way, I will first verify that this works without a hitch for you. Just let me know if this is what you want to do.

    Reply Report abuse

    Please login to answer the question.

  2. 0 Like 0 Dislike

    John B Rosheck

    We’ve prepared a new version of rappture with java bindings. I’ve tested the following installation steps and it should go well.

    First, change the /etc/apt/sources.list file. Find the lines pointing to our repository at packages.hubzero.org and change the ‘lenny’ to ‘buck’. ‘buck’ is our testing repository. Don’t change any of the lines for the standard debian repositories.

    Next run: apt-get update

    Now remove the old version by running: dpkg —purge hubzero-rappture then run: ls -la /apps/rappture You will still see a dated directory for previous version of rappture but it won’t do any harm if you leave it. If there are any links left in that directory then remove those since they’ll cause the new install to fail.

    Lastly, run the command: apt-get install hubzero-rappture and your new version should be installed.

    To test the new rappture, start a workspace and copy the directory /apps/rappture/examples into your own local directory. Then cd into that the local copy of the directory and run the command: ./demo.bash fermi This will run several version of the fermi demo one of which will be a java version.

    Reply Report abuse

    Please login to answer the question.

  3. 0 Like 0 Dislike

    John B Rosheck

    If updating the virtual machine, you will need to change the network settings to ‘NAT’ when retrieving or updating packages. The network settings will then need to be set back to ‘host-only’ mode for proper workspace operation.

    Reply Report abuse

    Please login to answer the question.

  • Copyright © 2022 Hubzero
  • Powered by Hubzero®