Thanks for the tips, also to Glenn Holmer who answered in a separate email. I got it to work now by telling the application to work specifically with the 1.4.2 version in /usr/java, which leaves other stuff unaffected and working with the SuSE standard version of java. Best regards, Alex. On Sat, 11 Oct 2003, John Lamb wrote:
Alex Angerhofer wrote:
Hi list,
for a particular application I need java 1.4.2. SuSE Linux 8.2 which is running here comes with 1.4.1. What would be the correct way to install the updated version? I just finished trying a (Redhat?) rpm from Sun's web site which installs it in /usr/java instead of the SuSE default location in /usr/lib/java. After symlinking it seemed to work okay with my application but it broke other stuff, among other things galeon. Therefore I am now back to square 1 and would be very greatful to learn how to self-install this thing correctly.
Best regards, Alex.
Try writing a shell script for your application: something like the following should work:
#!/bin/sh PATH=/usr/java/jre/bin:$PATH /usr/local/bin/application
Make it executable and put it somewhere useful (e.g. /usr/local/bin). Make sure /usr/lib/java is symlinked to BlackdownJava2 and hopefully your script will tell this particular application to use Sun Java.
-- JDL
Non enim propter gloriam, diuicias aut honores pugnamus set propter libertatem solummodo quam Nemo bonus nisi simul cum vita amittit.
-- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com