>> However, the java runtime on your system is very old ... it needs to be
>> updated.
>
> I realised this. I found I had the rpm.bin for j2re1.4.0_02. I think I
> downloaded it long ago with an old version of jmol which I never
> followed through with. I installed this and it put everything in
> /usr/java/j2re1.4.0_02, but "java -version" still finds the old version.

Good.

Do the following:

#create a symbolic link to /usr/java/home ... good practice
su
cd /usr/java
ln -s j2re1.4.0_02 home
#edit the default path on the system
emacs /etc/profile
--------insert this at the bottom of the file---------
#add java to the front of the path for all users
export JAVA_HOME=/usr/java/home
PATH=$JAVA_HOME/bin:$PATH
--------done----------

Now, log out and log back in

java -version

This should allow you to run the app.



Now, assuming that you need to take care of mozilla ...

su
cd /usr/lib/mozilla-*
cd plugins
ln -s /usr/java/home/jre/plugin/i386/ns610/libjavaplugin_oji.so .

I am not running Java 1.4.2, so I don't exactly remember whether that
ns610 directory is there or not, but that is the general idea ... put a
symbolic link to the correct libjavaplugin_oji.so in your
/usr/lib/mozilla-*/plugins directory.


> Do I need to put /usr/java/j2re1.4.0_02 in my path, or create links, or
> delete the old java - /usr/bin/java or what?

Do what I said above to put /usr/java/home/bin on the path before anything
else.

> Or is this just too old also and I need to download version 5.0?

No. 1.4.2 is just fine. Since it installed on your machine then I would
leave it alone.

>> (RedHat 7.2 was announced in Jan 2002 ... you may want to consider
>> installing something newer)
>
> I am very doubtfull about whether some ab initio codes run well on more
> recent RHs.

There were changes to gcc along the way.
You would probably be OK running up to RH9
Perhaps even Fedora Core 1 would work OK.

> I plan to upgrade linux on my laptop first and see whether
> stuff still works without disrupting production on my main machine.

Good idea.

> I ran j2re-1_4_0_02-linux-i586-rpm.bin and it gave me
> j2re-1_4_0_02-fcs-linux-i586.rpm. I then ran that as explained above.

Good.

>> Now, given the age of 7.2, this may not work ... but I suspect that it
>> will.
>
> It seemed to.


Miguel



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_ide95&alloc_id396&op=click
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to