| View previous topic :: View next topic |
| Author |
Message |
yuchen n00b

Joined: 25 Jan 2005 Posts: 19
|
Posted: Sun Jun 19, 2005 4:23 pm Post subject: How java-config knows my system? |
|
|
| 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 |
|
 |
dellaxim Tux's lil' helper

Joined: 04 Mar 2005 Posts: 138
|
Posted: Sun Jun 19, 2005 5:02 pm Post subject: |
|
|
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 |
|
 |
yuchen n00b

Joined: 25 Jan 2005 Posts: 19
|
Posted: Sun Jun 19, 2005 6:02 pm Post subject: |
|
|
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. |
|
| Back to top |
|
 |
monkey89 Guru


Joined: 08 Mar 2004 Posts: 596
|
Posted: Sun Jun 19, 2005 7:24 pm Post subject: |
|
|
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 |
|
 |
yuchen n00b

Joined: 25 Jan 2005 Posts: 19
|
Posted: Tue Jun 21, 2005 11:48 am Post subject: |
|
|
| 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 |
|
 |
|