On 3/24/06, Marc Benstein
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 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. thanks -H