-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Stan Goodman wrote:
> ** Reply to message from G T Smith <[EMAIL PROTECTED]>
> on Fri, 07 Sep 2007 15:21:38 +0100
> 
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>>
>> Stan Goodman wrote:
>>> The system is x86_64 openSuSE v10.2.
>>>
>>> Previously, it contained jre v1.4.2, and PATH contained the string
>>> </usr/lib64/jvm/jre/bin>.
>>>
<snip>
>>>
>>> but seems to ignore completely the question of changing existing 
>>> directories.
>>> How to go about this?
>>>
>> The first thing is that Java is a bit special about it handles these
>> things, the system path is usually irrelevant to java. JAVA_HOME is
>> important... as are a few other variables...
> 
> So far, I have been using full pathname to call java 1.6.0 to start java
> applications (because PATH isn't correct for this version, as I said). I 
> would,
> however, like to make the needed correction, if for no other reason than to
> shorten the command line in the scripts that call these apps. But I take your
> point -- the other variables are important.
> 
> The jre that I installed was indeed installed through YaST from an rpm 
> package:
> <jre-1.6.0_02-fcs>, because I find it in YaST's Software Management tool. I do
> not find the jdk; what is the method I need to use for removing it properly,
> after which I will try to find the appropriate rpm package? 
> 
> Although I removed the jre v1.4.2 package using YaST, I now find the following
> two installed packages in Software Management:
> 
> jre-1_4_2-gci-compat
> jre-1_4_2-gci-compat.32bit
> 
> I don't recognize these; shall I remove them, since there is no corresponding
> jre?
> 
> 
>> Look at the following
>>
>> /etc/java/java.conf
>> /etc/profile.d/alljava.sh
>>
>> to get an idea of what is happening.
>>
>> I would recommend using the SuSE rpms (particularly on x64 systems) as
>> things are a bit non standard (in a rather elegant manner).
> 

Firstly with the SuSE Java installation I would have expected a symbolic
link from /usr/bin/java to /etc/alternatives/java for later
configurations (this is a link into the the java installation tree. This
rather hides some of the messy version numbering bits so is largely
version tolerant...)... or some such..

The other two are hangovers from 1.4.2 which was only available in a
32bit form...

I do not remember seeing any java stuff in the system path in the past
on SuSE but I tend to work with Eclipse so this usually well hidden...
Java is supposed to be OS agnostic so it carrys around it own
environment. ...


- --
==============================================================================
I have always wished that my computer would be as easy to use as my
telephone.
My wish has come true. I no longer know how to use my telephone.

Bjarne Stroustrup
==============================================================================
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org

iD8DBQFG4aYXasN0sSnLmgIRAhpdAKCDVVGNKoNTgGFbXJSnnmpIfcq7BwCfaL41
uewfKh68ZWiTk+IGBh/6BAE=
=ixvf
-----END PGP SIGNATURE-----
-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to