View previous topic :: View next topic |
Author |
Message |
DaggyStyle Watchman
Joined: 22 Mar 2006 Posts: 5925
|
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 |
|
|
Kaste Guru
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 |
|
|
DaggyStyle Watchman
Joined: 22 Mar 2006 Posts: 5925
|
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 |
|
|
obvio171 n00b
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 |
|
|
|