Personal tools
  • Help

jist:MultiUserLinuxSetup

From NITRC Wiki

Jump to: navigation, search

Crain, Bhaskar, Aaron - Please detail the "preferred" method for setting up multi-user MIPAV/JIST.

The problem: I could not load the JIST plugin into MIPAV, it just kept coming up with the dialog box saying the plugin was not compatible with MIPAV.

My machine: I am using Linux and MIPAV 4.4 (the newest) and my own JIST 1.7 build. Though most of that information is not relevant.

What is relevant is that I installed MIPAV as root on my Linux machine.

$ sudo sh ./installMIPAV

I installed it into /usr/local/mipav4.4 (not really relevant).

When one installs mipav as root, it puts the wrong plugin directory in the lax.class.path directory in the ${MIPAV}/mipav.lax file.

What it put was

.....jar:lib/jhall.jar:/root/mipav/plugins:/root/mipav/plugins/plugins.jar:lax.jar

Note the "root" part.

The fix: There seem to be two ways to fix this:

1) Fix the global mipav.lax file:

In $MIPAV/mipav.lax, I changed the above line to "/home/craig/mipav/plugins:/home/craig/mipav/plugins/plugins.jar".

this is not the best solution for multi-user solutions. In fact, definitely the wrong solution. Pretend I didn't even write this part.

2) Change the CLASSPATH environment variable.

Probably a better way to do it would be to call mipav differently:

$ env CLASSPATH=/home/craig/mipav/plugins:${CLASSPATH} /usr/local/mipav4.4/mipav

Better yet is to create an alias or something like that to do that thing above. On a Windows machine there is probably some way of doing it, but I don't use Windows.

3)  ??

Not sure how to do this but what would be best is to change the LOCAL mipav.preferences file to include the persons own /home/<user>/mipav/plugins directory. I can't find the correct variable to set in mipav.preferences.

This one makes the most sense, but can't figure out how to implement it yet.

Powered by MediaWiki
  • This page was last modified 13:42, 27 January 2010.
  • This page has been accessed 1,212 times.
  •