Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
*Prevent Blackdown-jdk with java Use flag enabled?- Solved *
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
drbenway
n00b
n00b


Joined: 26 Jan 2006
Posts: 56

PostPosted: Sun Sep 24, 2006 7:43 pm    Post subject: *Prevent Blackdown-jdk with java Use flag enabled?- Solved * Reply with quote

Hi.

I have been using gentoo now for about 6 months, this weekend I have replaced my main desktop linux (which was suse) with gentoo - I am really liking it !.

After i enable the java use flag when I try and emerge a package that uses it (i.e firefox or openoffice) it trys to install blackdown-java.

I have installed sun-jre-bin and sun-jdk I have chosen sun-jdk as default java with java-config.

I have also edited these files.

/etc/java-config-2/build/jdk.conf -

(I added this line)

*=sun-jdk

and added the following lines to /etc/java-config-2/virtuals

jre=sun-jre-bin
jdk=sun-jdk

But still it wants to download blackdown-java.

Any ideas how to prevent it ?
_________________
Studies show that 9 out of 10 paedophiles use Windows ...
------------------------------------------------------------------------------------------------


Last edited by drbenway on Sun Sep 24, 2006 9:17 pm; edited 1 time in total
Back to top
View user's profile Send private message
tuam
l33t
l33t


Joined: 04 May 2004
Posts: 765
Location: CGN, Germany

PostPosted: Sun Sep 24, 2006 7:55 pm    Post subject: Reply with quote

You will need java 1 versions of the sun's, too. I don't remember the exact version, but you should merge the latest 1.4 ones, like this
Code:
# equery l -p sun-j
$(quite a few lines)
# emerge -av =dev-java/sun-jre-bin-1.4.x.x_rx =dev-java/sun-jdk-1.4.x.x_rx


More info:
http://www.gentoo.org/doc/en/java.xml
http://www.gentoo.org/proj/en/java/java-upgrade.xml

FF,

Daniel
_________________
Logic clearly dictates that the needs of the many outweigh the needs of the few. - Spock
The needs of the one outweigh the needs of the many. - Kirk
I refuse to let arithmetic decide questions like that. - Picard
Back to top
View user's profile Send private message
drbenway
n00b
n00b


Joined: 26 Jan 2006
Posts: 56

PostPosted: Sun Sep 24, 2006 9:17 pm    Post subject: Reply with quote

Cheers Daniel.

That has done it !

Thanks man.

:D
_________________
Studies show that 9 out of 10 paedophiles use Windows ...
------------------------------------------------------------------------------------------------
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming 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