Hi again, Miquel, On Tue, Mar 15, 2005 at 08:54:37PM -0500, Miguel wrote: > >> 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.
Lovely. That worked well. However, a general question - does it tell you this on any of the assessable java sites? I have not seen anything like this, but of course I could be wrong. I also created JMOL_HOME and a link in my bin directory to jmol. The app is now running fine, but it keeps repeating two warnings to my main window:- 16/03/2005 14:36:31 java.util.prefs.FileSystemPreferences checkLockFile0ErrorCode WARNING: Could not lock System prefs.Unix error code 1212652808. 16/03/2005 14:36:31 java.util.prefs.FileSystemPreferences syncWorld WARNING: Couldn't flush system prefs: java.util.prefs.BackingStoreException: Couldn't get file lock Is this a serious problem. > Now, assuming that you need to take care of mozilla ... I do not think I do. I have another older version JRE in the mozilla tree itself, which I think got downloaded when my internet banking told me to. It just inserted it direct. > 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. Is there any advantage in version 5.0. I managed to download it on to my laptop as I can connect that by broadband and for various reasons I can not connect htis linux box by broadband. I could move it over and install it and then also clean up the mozialla plugins. > >> (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 have updated gcc at various times. I plan to install FC2 as I bought the RedHat Bible for FC2. > > I plan to upgrade linux on my laptop first and see whether > > stuff still works without disrupting production on my main machine. > > Good idea. Indeed. I have seen that people have had some problems with Gaussian 98 and Gamess beyond RH 7.3. > > 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. Thanks for all your help. I am begining to get my head around this now. Brian. > > 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 -- Brian Salter-Duke (Brian Duke) [EMAIL PROTECTED] Post: 626 Melbourne Rd, Spotswood, VIC, 3015, Australia Phone 03-93992847. http://members.iinet.net.au/~linden1/brian/ ------------------------------------------------------- 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

