View previous topic :: View next topic |
Author |
Message |
Jen n00b
Joined: 25 Sep 2002 Posts: 12 Location: Mississippi
|
Posted: Wed Sep 25, 2002 9:27 pm Post subject: blackdown java config |
|
|
I just emerged blackdown-jdk, and I am trying to set it as system VM, and I keep getting this:
Code: | #java-config --set-system-vm=blackdown-jdk-1.3.1
blackdown-jdk-1.3.1 not found |
Um, I am not really sure what I am doing wrong. _________________ Jen |
|
Back to top |
|
|
Zu` l33t
Joined: 26 May 2002 Posts: 716 Location: BE
|
Posted: Wed Sep 25, 2002 11:30 pm Post subject: |
|
|
What's the output of:
Code: |
java-config --list-available-vms
|
|
|
Back to top |
|
|
Jen n00b
Joined: 25 Sep 2002 Posts: 12 Location: Mississippi
|
Posted: Thu Sep 26, 2002 4:57 pm Post subject: output |
|
|
Code: | java-config --list-available-vms
[blackdown-jre-1.3.1] Blackdown JRE 1.3.1 (/etc/env.d/java/20blackdown-jre-1.3.1) |
_________________ Jen |
|
Back to top |
|
|
Zu` l33t
Joined: 26 May 2002 Posts: 716 Location: BE
|
Posted: Thu Sep 26, 2002 6:54 pm Post subject: Re: output |
|
|
Jen wrote: | Code: | java-config --list-available-vms
[blackdown-jre-1.3.1] Blackdown JRE 1.3.1 (/etc/env.d/java/20blackdown-jre-1.3.1) |
|
Strange. Seems like you don't have Blackdown JDK. I thought they were installed by pair (JDK and JRE).
On my system:
Code: |
zu@haku zu $ java-config --list-available-vms
[blackdown-jdk-1.3.1] Blackdown JDK 1.3.1 (/etc/env.d/java/20blackdown-jdk-1.3.1)
[blackdown-jre-1.3.1] Blackdown JRE 1.3.1 (/etc/env.d/java/20blackdown-jre-1.3.1)
|
I'd say just emerge blackdown jdk, it's in portage:
Code: |
* dev-java/blackdown-jdk
Latest version available: 1.3.1-r7
Latest version installed: 1.3.1-r7
Homepage: http://www.blackdown.org
Description: Blackdown Java Development Kit 1.3.1
|
Also have a look at the Gentoo Java Howto if you haven't already.
Greets |
|
Back to top |
|
|
Jen n00b
Joined: 25 Sep 2002 Posts: 12 Location: Mississippi
|
Posted: Thu Sep 26, 2002 8:22 pm Post subject: |
|
|
I have emerged it like 5 times.
Code: | >>> original instance of package unmerged safely.
>>> Regenerating /etc/ld.so.cache...
>>> dev-java/blackdown-jdk-1.3.1-r7 merged.
>>> Recording dev-java/blackdown-jdk in "world" favorites file...
* GNU info directory index is up-to-date.
root@slinho# java-config --list-available-vms
[blackdown-jre-1.3.1] Blackdown JRE 1.3.1 (/etc/env.d/java/20blackdown-jre-1.3.1)
[ibm-jdk-1.3.1] IBM JDK 1.3.1 (/etc/env.d/java/20ibm-jdk-1.3.1)
|
_________________ Jen |
|
Back to top |
|
|
Zu` l33t
Joined: 26 May 2002 Posts: 716 Location: BE
|
Posted: Thu Sep 26, 2002 9:20 pm Post subject: |
|
|
Jen wrote: | I have emerged it like 5 times.
Code: | >>> original instance of package unmerged safely.
>>> Regenerating /etc/ld.so.cache...
>>> dev-java/blackdown-jdk-1.3.1-r7 merged.
>>> Recording dev-java/blackdown-jdk in "world" favorites file...
* GNU info directory index is up-to-date.
root@slinho# java-config --list-available-vms
[blackdown-jre-1.3.1] Blackdown JRE 1.3.1 (/etc/env.d/java/20blackdown-jre-1.3.1)
[ibm-jdk-1.3.1] IBM JDK 1.3.1 (/etc/env.d/java/20ibm-jdk-1.3.1)
|
|
Looks good.
Now try:
Code: |
java-config --set-system-vm=blackdown-jdk-1.3.1
|
Notice the difference between JRE and JDK. |
|
Back to top |
|
|
Jen n00b
Joined: 25 Sep 2002 Posts: 12 Location: Mississippi
|
Posted: Thu Sep 26, 2002 9:47 pm Post subject: |
|
|
Code: | root@slinho root # java-config --set-system-vm=blackdown-jdk-1.3.1
blackdown-jdk-1.3.1 not found
|
_________________ Jen |
|
Back to top |
|
|
Zu` l33t
Joined: 26 May 2002 Posts: 716 Location: BE
|
Posted: Thu Sep 26, 2002 10:19 pm Post subject: |
|
|
Jen wrote: | Code: | root@slinho root # java-config --set-system-vm=blackdown-jdk-1.3.1
blackdown-jdk-1.3.1 not found
|
|
Yeah you're right it's not there
I must've overlooked what was in your output.
Very strange though.
Did you try a
Code: |
source /etc/profile
|
so the PATH gets updated?
If that doesn't work, I'm afraid I'm out of suggestions.. |
|
Back to top |
|
|
Jen n00b
Joined: 25 Sep 2002 Posts: 12 Location: Mississippi
|
Posted: Thu Sep 26, 2002 11:15 pm Post subject: |
|
|
Nope, that does not work either, I dunno what the hell...
I was trying to get blackdown to work in hopes that it would solve my problems emerging openoffice. I set VM as IBM 1.3.1, and openoffice still won't emerge. So, I guess I am just S.O.L...
Thanks for trying to help tho! _________________ Jen |
|
Back to top |
|
|
Dazzmann n00b
Joined: 14 Jul 2002 Posts: 14
|
Posted: Fri Sep 27, 2002 7:24 am Post subject: |
|
|
I get the exact same problem here. Does anyone have an answer to this blackdown jdk problem?
Darren |
|
Back to top |
|
|
Jen n00b
Joined: 25 Sep 2002 Posts: 12 Location: Mississippi
|
Posted: Fri Sep 27, 2002 12:35 pm Post subject: |
|
|
Are you trying to use it so openoffice will work? _________________ Jen |
|
Back to top |
|
|
fubar n00b
Joined: 24 Sep 2002 Posts: 23 Location: Germany - Erfurt
|
Posted: Fri Sep 27, 2002 12:37 pm Post subject: |
|
|
i have the same problem... there is no 20blackdown-jdk-1.3.1 file in my /etc/env.d/java/ directory...
@zu: could you post yours? |
|
Back to top |
|
|
TheCoop Veteran
Joined: 15 Jun 2002 Posts: 1814 Location: Where you least expect it
|
Posted: Fri Sep 27, 2002 2:58 pm Post subject: |
|
|
unmerge all jdk's and jre's, including java-config, and then just emerge blackdown-jdk, then try _________________ 95% of all computer errors occur between chair and keyboard (TM)
"One World, One web, One program" - Microsoft Promo ad.
"Ein Volk, Ein Reich, Ein Führer" - Adolf Hitler
Change the world - move a rock |
|
Back to top |
|
|
rizzo Retired Dev
Joined: 30 Apr 2002 Posts: 1067 Location: Manitowoc, WI, USA
|
Posted: Fri Sep 27, 2002 5:13 pm Post subject: |
|
|
TheCoop wrote: | unmerge all jdk's and jre's, including java-config, and then just emerge blackdown-jdk, then try |
While this isn't a desirable solution, this is what I needed to do before my system would see my sun-jdk. I had the IBM jdk on previously and for whatever reason I couldn't set the system-vm to sun. I ended up just removing IBM altogether since I didn't need it anymore. |
|
Back to top |
|
|
PoorMonkey n00b
Joined: 27 Aug 2002 Posts: 2 Location: Knoxville, Tennessee
|
Posted: Fri Sep 27, 2002 9:51 pm Post subject: Possible fix |
|
|
I had the same problem. I fixed it by exiting X, logging in as root (su does not work), emerge unmerge both blackdown-jdk and blackdown-jre, then emerge both and bingo all is good.
Hope this helps
PM |
|
Back to top |
|
|
PoorMonkey n00b
Joined: 27 Aug 2002 Posts: 2 Location: Knoxville, Tennessee
|
Posted: Fri Sep 27, 2002 9:58 pm Post subject: |
|
|
BTW--I forgot to mention that you will want to emerge openoffice in the same fashion (pure root shell) or it will crap out too. Hope this helps.
PM |
|
Back to top |
|
|
Logik n00b
Joined: 15 Aug 2002 Posts: 9 Location: Michigan
|
Posted: Fri Sep 27, 2002 11:53 pm Post subject: |
|
|
the simple reason why java-config --set-system-vm=blackdown-jdk-1.3.1 wont' work is because for some reason the JDK is NOT installed, for whatever reason, now, java-config --set-system-vm=blackdown-jre-1.3.1 SHOULD work, as you have the JRE installed correctly. Something is messed up with the install of the JDK i imagine. But if you're just going to RUN openoffice, i think the JRE will work, as it's just a java runtime environment, i see no need for the JDK in this case anyway. _________________ Kyle |
|
Back to top |
|
|
|