View previous topic :: View next topic |
Author |
Message |
DaggyStyle Watchman
![Watchman Watchman](/images/ranks/rank-G-2-watchman.gif)
![](images/avatars/182793287489b53393316c.gif)
Joined: 22 Mar 2006 Posts: 5910
|
Posted: Sat Dec 09, 2006 4:29 pm Post subject: convincing system of which java to use |
|
|
I have sun-jdk latest and blackdown-jre installed, now how do I cause the system to know to use the jdk and not try to install blackdown jdk?
the jre is for the plugins |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Kaste Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/56471305143b8cbbc56dac.gif)
Joined: 21 Dec 2005 Posts: 546 Location: /home Sweet /home
|
Posted: Sat Dec 09, 2006 4:31 pm Post subject: |
|
|
Read up on it here: http://www.gentoo.org/doc/en/java.xml
Edit: I am not sure i understood your question properly. Are you already using the jre properly but want a jdk from a different packages, i.e. blackdown jre + sun jdk and then not have blackdown jdk installed? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
DaggyStyle Watchman
![Watchman Watchman](/images/ranks/rank-G-2-watchman.gif)
![](images/avatars/182793287489b53393316c.gif)
Joined: 22 Mar 2006 Posts: 5910
|
Posted: Sat Dec 09, 2006 5:27 pm Post subject: |
|
|
Kaste wrote: | Read up on it here: http://www.gentoo.org/doc/en/java.xml
Edit: I am not sure i understood your question properly. Are you already using the jre properly but want a jdk from a different packages, i.e. blackdown jre + sun jdk and then not have blackdown jdk installed? |
not helping much, I have blackdown jre for its 64 bit plugin for ff
I need the sun jdk for the compiler
when I try to emerge eclipse, portage wants to emerge blackdown-jdk too
but I need it to see sun's jdk
moreover when I add java to make.conf, it runs to fecth blackdown-jdk too
understand? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
obvio171 n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/gallery/Marvel/Marvel_-_Gambit.gif)
Joined: 20 Mar 2004 Posts: 14 Location: Brazil
|
Posted: Sun Jan 28, 2007 6:44 am Post subject: |
|
|
You have to set it using java-config-1
Code: | # java-config-1 -L
The following JDKs are available for generation-1:
1) Sun JDK 1.4.2.13 [sun-jdk-1.4.2.13]
*) Blackdown JDK 1.4.2.03 [blackdown-jdk-1.4.2.03]
# java-config-1 -S 1
Now using sun-jdk-1.4 for the generation-1 system JDK
|
Hope that helps. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|