I have 2 java rpm's installed - what is the difference

java-1_6_0-sun & java-1_6_0-openjdk they seem very similar when looking at their /bin directories

do I need both? if not which?

Suse 11.0 x64, Kde 4.2beta (unstable repo), Opera 9.x weekly

The first package is the runtime environment. It is needed if you want to run anything in Java. The second is the java development kit. It is needed if you want to do any development in java. If not, you can remove it.

mattm3a wrote:

>
> The first package is the runtime environment. It is needed if you want
> to run anything in Java. The second is the java development kit. It is
> needed if you want to do any development in java. If not, you can remove
> it.
>
but java-1_6_0-openjdk appears to have the run time and if I try to remove it I get:" java-1_6_0-openjdk is needed by (installed) soprano-backend-sesame-2.1.64-3.9.x86_64" (which is probably how it got installed)


Suse 11.0 x64, Kde 4.2beta (unstable repo), Opera 9.x weekly

Yes,
The jdk is needed not only “for development” - It also is needed when compiling other java applications.

Oftentimes java applications are custom compiled on your machine during normal installations so require “development” packages.

The first package is the runtime environment. It is needed if you want
to run anything in Java. The second is the java development kit. It is
needed if you want to do any development in java. If not, you can remove
it.


mattm3a

mattm3a’s Profile: http://forums.opensuse.org/member.php?userid=1674
View this thread: http://forums.opensuse.org/showthread.php?t=401832

mattm3a wrote:

>
> The first package is the runtime environment. It is needed if you want
> to run anything in Java. The second is the java development kit. It is
> needed if you want to do any development in java. If not, you can remove
> it.
>
but java-1_6_0-openjdk appears to have the run time and if I try to remove it I get:" java-1_6_0-openjdk is needed by (installed) soprano-backend-sesame-2.1.64-3.9.x86_64" (which is probably how it got installed)


Suse 11.0 x64, Kde 4.2beta (unstable repo), Opera 9.x weekly

Yes,
The jdk is needed not only “for development” - It also is needed when
compiling other java applications.

Oftentimes java applications are custom compiled on your machine during
normal installations so require “development” packages.


tsu2

tsu2’s Profile: http://forums.opensuse.org/member.php?userid=2578
View this thread: http://forums.opensuse.org/showthread.php?t=401832