View previous topic :: View next topic |
Author |
Message |
vinodramu n00b
Joined: 23 Nov 2006 Posts: 44
|
Posted: Wed Jan 02, 2008 10:57 am Post subject: Upgrading jdk-1.5 to jdk-1.6[SOLVED] |
|
|
Hi All,
I am trying to upgrade the jdk-1.5 to jdk-1.6 in my system.
I executed following commands:
# emerge virtual/jdk
# java-config --list-available-vms
While executing java-config --list-available-vms command i got following result.
The following VMs are available for generation-2:
*) Sun JDK 1.5.0.11 [sun-jdk-1.5]
So i cannot able to proceed further. If anybody knows how to upgrade the
jdk-1.5 to jdk-1.6 on gentoo linux, please help me to proceed.
Thanks a lot!
Vinod Ramu.
Last edited by vinodramu on Tue Jan 29, 2008 4:18 am; edited 2 times in total |
|
Back to top |
|
|
Veldrin Veteran
Joined: 27 Jul 2004 Posts: 1945 Location: Zurich, Switzerland
|
Posted: Wed Jan 02, 2008 11:09 am Post subject: |
|
|
how about:
Code: | emerge -a =sun-jdk-1.6* |
cheers
V. |
|
Back to top |
|
|
vinodramu n00b
Joined: 23 Nov 2006 Posts: 44
|
Posted: Wed Jan 02, 2008 11:28 am Post subject: |
|
|
Hi,
Thanks for your quick response Veldrin.
I executed "emerge -a =sun-jdk-1.6*" , i got following result
These are the packages that would be merged, in order:
Calculating dependencies /
!!! All ebuilds that could satisfy "=sun-jdk-1.6*" have been masked.
!!! One of the following masked packages is required to complete your request:
- dev-java/sun-jdk-1.6.0-r2 (masked by: ~x86 keyword)
- dev-java/sun-jdk-1.6.0-r1 (masked by: ~x86 keyword)
- dev-java/sun-jdk-1.6.0.01 (masked by: ~x86 keyword)
For more information, see MASKED PACKAGES section in the emerge man page or
refer to the Gentoo Handbook.
cheers,
Vinod . |
|
Back to top |
|
|
Veldrin Veteran
Joined: 27 Jul 2004 Posts: 1945 Location: Zurich, Switzerland
|
Posted: Wed Jan 02, 2008 11:32 am Post subject: |
|
|
that should not be...
run `emerge --sync`, then try again.
your portage tree is outdated. As a thumb rule, try to sync you portage tree once a week. and do some update with `emerge -aDu world` or at least `emerge -aDu system`
cheers
V. |
|
Back to top |
|
|
vinodramu n00b
Joined: 23 Nov 2006 Posts: 44
|
Posted: Wed Jan 02, 2008 12:55 pm Post subject: [Solved] Upgrading jdk-1.5 to jdk-1.6 |
|
|
Hi,
Thanks alot Veldrin for your reply
I followed your instruction and upgraded my system jdk-1.5 to jdk-1.6 successfully.
cheers,
Vinod. |
|
Back to top |
|
|
|