Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Upgrading jdk-1.5 to jdk-1.6[SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
vinodramu
n00b
n00b


Joined: 23 Nov 2006
Posts: 44

PostPosted: Wed Jan 02, 2008 10:57 am    Post subject: Upgrading jdk-1.5 to jdk-1.6[SOLVED] Reply with quote

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
View user's profile Send private message
Veldrin
Veteran
Veteran


Joined: 27 Jul 2004
Posts: 1945
Location: Zurich, Switzerland

PostPosted: Wed Jan 02, 2008 11:09 am    Post subject: Reply with quote

how about:
Code:
 emerge -a =sun-jdk-1.6*


cheers
V.
Back to top
View user's profile Send private message
vinodramu
n00b
n00b


Joined: 23 Nov 2006
Posts: 44

PostPosted: Wed Jan 02, 2008 11:28 am    Post subject: Reply with quote

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
View user's profile Send private message
Veldrin
Veteran
Veteran


Joined: 27 Jul 2004
Posts: 1945
Location: Zurich, Switzerland

PostPosted: Wed Jan 02, 2008 11:32 am    Post subject: Reply with quote

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
View user's profile Send private message
vinodramu
n00b
n00b


Joined: 23 Nov 2006
Posts: 44

PostPosted: Wed Jan 02, 2008 12:55 pm    Post subject: [Solved] Upgrading jdk-1.5 to jdk-1.6 Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum