Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
default jdk sun, but want blackdown
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
duby2291
Guru
Guru


Joined: 17 Oct 2004
Posts: 583

PostPosted: Fri Jul 14, 2006 10:38 pm    Post subject: default jdk sun, but want blackdown Reply with quote

I'm installing gentoo on a new machine, and as I type in emerge -e system, it is trying to pull in Sun's jdk as the defaault virtual. The problem is that I dont want to use suns jdk. It is a pain in the ass. With blackdown it gets pulled in on its own, and it just works. With sun I have to go to there site, down load it then figure out why everything that depends on java is failing to compile. With blackdown I emerge it set it as the vm using java-config and everything works. So I was wondering how to make blackdown the default virtual?
Back to top
View user's profile Send private message
ArsDangor
Guru
Guru


Joined: 20 May 2003
Posts: 477

PostPosted: Fri Jul 14, 2006 11:13 pm    Post subject: Reply with quote

Just add the following line to /etc/portage/profile/virtuals:
Code:
virtual/jre dev-java/blackdown-jre
If you also want blackdown as your JDK (it sucks, but it's your choice), add
Code:
virtual/jdk dev-java/blackdown-jdk
to the same file.
_________________
Cómo usar Portage correctamente
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