Re: Portable ImageJ

Posted by ctrueden on
URL: http://imagej.273.s1.nabble.com/Portable-ImageJ-tp3700446p3700449.html

Hi Christophe,

Maybe I am missing something, but you should be able to just copy over
the files from the various ImageJ distributions. For Mac OS X, you
would copy the ImageJ.app bundle to the USB stick. For Windows, copy
ImageJ.exe. For Linux, the run script (though you might want to create
a desktop file for your preferred window manager). Also copy over
ij.jar, and the various folders (plugins, macros, etc.). As long as
there is enough room on the USB drive, everything should work the same
double-clicking from there.

Regarding IJ_Prefs.txt, I checked the source, and ImageJ looks for the
file in the user's home directory. There does not appear to be an easy
way to reconfigure that.

Out of curiosity, for Mac OS X, why would you want to put a version of
Java on the key instead of using the system Java?

-Curtis

On 1/30/07, Volker Bäcker <[hidden email]> wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hello,
>
> > I saw somebody do an (MacOSX) Icon for a Java program, but I cannot
> > remember how. Sorry.
>
> I did this. I created an applescript, that calls a linux shell script,
> that starts the java application.
> I saved the applescript as application and created an alias that I moved
> to the desktop.
> That worked fine, but maybe there is a simpler way to do it.
>
> Cheers,
> Volker
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.6 (MingW32)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iD8DBQFFv4yrxZKX7A/4oMERAsGSAKCVKZGB3xJvRUvxk2FC4vNIlUFbUgCfcsVl
> odzB/tWOztokx6bSCwVDMAY=
> =Z//2
> -----END PGP SIGNATURE-----
>
> --
> passerelle antivirus du campus CNRS de Montpellier
> --
>