Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
How java-config knows my system?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
yuchen
n00b
n00b


Joined: 25 Jan 2005
Posts: 19

PostPosted: Sun Jun 19, 2005 4:23 pm    Post subject: How java-config knows my system? Reply with quote

I don't know what the ebuild did when it emerges those jdks, e.g. sun-jdk. If I download them from sun and install them manually, what will happen is java-config turns a blind eye to the newly installed jdk. I had skimed through the ebuild and also tried to figure out some assumed, however unexisted files like /etc/java-config... I'm now quite a bit confused... who can help?
Back to top
View user's profile Send private message
dellaxim
Tux's lil' helper
Tux's lil' helper


Joined: 04 Mar 2005
Posts: 138

PostPosted: Sun Jun 19, 2005 5:02 pm    Post subject: Reply with quote

download the .tar.gz jdk file from java then you put it in /usr/portgae/distfiles or wherever your distfile folder is.
Then you use emerge to install it.

Hope this help!
:)
Back to top
View user's profile Send private message
yuchen
n00b
n00b


Joined: 25 Jan 2005
Posts: 19

PostPosted: Sun Jun 19, 2005 6:02 pm    Post subject: Reply with quote

Yesyes, I knew how to emerge it... I just mean how can I manually install an sdk, and let the "java-config" "recognize" the manual installation... Is there and configure files that java-config reads so that it knows the various jdks installed in my system? Thanks.:P
Back to top
View user's profile Send private message
monkey89
Guru
Guru


Joined: 08 Mar 2004
Posts: 596

PostPosted: Sun Jun 19, 2005 7:24 pm    Post subject: Reply with quote

I'd imagine the neccesary files are in /etc/env.d/java, but why do you need to circumvent the portage tree for this? There are plenty of JRE/JDKs in the tree.

-Monkey
Back to top
View user's profile Send private message
yuchen
n00b
n00b


Joined: 25 Jan 2005
Posts: 19

PostPosted: Tue Jun 21, 2005 11:48 am    Post subject: Reply with quote

Thank u for ur great imagination:) But actually I didn't find it... I just don't know how these java sdks got registerred in my system:P
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments 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