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

Hugo Garcia wrote:
> On 3/24/06, Marc Benstein <[EMAIL PROTECTED]> wrote:
>> Hugo Garcia wrote:
>>> Hi
>>>
>>> What is the proper procedure to replace the java implementation
>>> supplied with 10.1-b8 with Sun java? If possible I would like to use
>>> the alternative mechanism. I am a newbie with the alternative
>>> mechanism.
>> I don't know if the beta comes with a Sun Java package, but the ones
>> from 10.0 should work fine if it doesn't. You will need jpackage-utils
>> as well.
>>
>> The proper way to changed java/javac is by using update-alternatives
>> --config java and update-alternatives --config javac
>>
> 
> I will try changing using alternatives as you suggest.
> 
> The problem with the the Java supplied from 10.0 is that Java 1.5 is a
> JRE which can be used to run Java but NOT for developeing in Java. In

Err.. why?
$ rpm -ql java-1_5_0-sun-devel|grep -w javac
/usr/lib64/jvm/java-1.5.0-sun-1.5.0_06/bin/javac
/usr/share/man/man1/javac-java-1_5_0-sun.1.gz

The java-1_5_0-sun-devel package has the javac compiler.

It's the same scheme for 1.4.2 and 1.5.0:
- - java-VERSION-sun: that's the JRE
- - java-VERSION-sun-devel: that's the javac compiler and JNI
- - java-VERSION-sun-alsa: ALSA support for the Java Sound API
- - java-VERSION-sun-plugin: the Java plugin for browsers
(and a few more: -demo, -jdbc, -src)
(and where "VERSION" is either "1_4_2" or "1_5_0")

Why do you say that Java 5 supplied on SUSE 10.0 is only the JRE ?

> essense all Java developers have to hack 10.0 and are always having to
> resolve conflicts in the system. I am hoping 10.1 does provide a
> mechamism to change the Java settings.

I really don't see what you mean. Works very well here on 10.0, I have
both 1_4_2 and 1_5_0 installed, and I compile quite a lot of Java code
(and Eclipse, and JBoss, and Tomcat, and Spring, ...).

cheers
- --
  -o) Pascal Bleser     http://linux01.gwdg.de/~pbleser/
  /\\ <[EMAIL PROTECTED]>       <[EMAIL PROTECTED]>
 _\_v The more things change, the more they stay insane.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)

iD8DBQFEJG+Pr3NMWliFcXcRAqU0AKCdzQPJqAHUNaNRJmega+320HZylQCeKyID
8lfXiq1XkVBiv7hSUdinT7c=
=SWaO
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to