Benjamin,
My immediate guess is 'Yes'.  You would have to right a script that set up
and re-exported all of your PATH and JAVA environment variables and then
launch the respective application.  Sort of 'overriding' the default
variables setup in .bash_profile (or wherever you set them up), i.e.:

For netomat:
export PATH=/usr/local/java/jre1.1.6/bin:$PATH
<path-to-netmat>/netomat


For StarOffice:
export PATH=/usr/local/java/jre1.1.7v1a/bin:$PATH
<path-to-star-office>/soffice


Another possibility is to change only the link in the script.  For example,
I point to my jre-1.1.7-v1a with a 'jre' link:

ln -s /usr/local/java/jre-1.1.7-v1a  jre

so that /usr/local/java/jre points to the 1.1.7 files.  You could write
scripts that remove and recreate this link at runtime.  This way you don't
have to mess with your path pointer for the java files.  I am assuming you
don not need any other version-specific variables set.

Hope this wasn't too pedantic.

Tim





Benjamin Sher wrote:

> Dear Timothy:
>
> Thank you so much for your help.
>
> Question: Can I run both JRE 1.1.6 AND JRE 1.1.7. I USE JRE 1.1.6 for
> the special web browser called Netomat (http://www.netomat.net). They
> say you can use any JRE above 1.1.6. I've tried but 1.1.7_v3 does not
> work with Netomat. But I would like to use Java in StarOffice. So, can I
> run two JRE's on my system?
>
> Thank you so much.
>
> Benjamin
> --
> Benjamin and Anna Sher
> Email:[EMAIL PROTECTED]
> Sher's Russian Web
> http://www.websher.net

--
To reply to me, please remove __DIE_SPAMMERS__ from my reply-to address.


Reply via email to