Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
blackdown java config
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
Jen
n00b
n00b


Joined: 25 Sep 2002
Posts: 12
Location: Mississippi

PostPosted: Wed Sep 25, 2002 9:27 pm    Post subject: blackdown java config Reply with quote

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
View user's profile Send private message
Zu`
l33t
l33t


Joined: 26 May 2002
Posts: 716
Location: BE

PostPosted: Wed Sep 25, 2002 11:30 pm    Post subject: Reply with quote

What's the output of:

Code:

java-config --list-available-vms
Back to top
View user's profile Send private message
Jen
n00b
n00b


Joined: 25 Sep 2002
Posts: 12
Location: Mississippi

PostPosted: Thu Sep 26, 2002 4:57 pm    Post subject: output Reply with quote

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
View user's profile Send private message
Zu`
l33t
l33t


Joined: 26 May 2002
Posts: 716
Location: BE

PostPosted: Thu Sep 26, 2002 6:54 pm    Post subject: Re: output Reply with quote

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
View user's profile Send private message
Jen
n00b
n00b


Joined: 25 Sep 2002
Posts: 12
Location: Mississippi

PostPosted: Thu Sep 26, 2002 8:22 pm    Post subject: Reply with quote

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
View user's profile Send private message
Zu`
l33t
l33t


Joined: 26 May 2002
Posts: 716
Location: BE

PostPosted: Thu Sep 26, 2002 9:20 pm    Post subject: Reply with quote

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
View user's profile Send private message
Jen
n00b
n00b


Joined: 25 Sep 2002
Posts: 12
Location: Mississippi

PostPosted: Thu Sep 26, 2002 9:47 pm    Post subject: Reply with quote

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
View user's profile Send private message
Zu`
l33t
l33t


Joined: 26 May 2002
Posts: 716
Location: BE

PostPosted: Thu Sep 26, 2002 10:19 pm    Post subject: Reply with quote

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 :oops:
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
View user's profile Send private message
Jen
n00b
n00b


Joined: 25 Sep 2002
Posts: 12
Location: Mississippi

PostPosted: Thu Sep 26, 2002 11:15 pm    Post subject: Reply with quote

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
View user's profile Send private message
Dazzmann
n00b
n00b


Joined: 14 Jul 2002
Posts: 14

PostPosted: Fri Sep 27, 2002 7:24 am    Post subject: Reply with quote

I get the exact same problem here. Does anyone have an answer to this blackdown jdk problem?

Darren
Back to top
View user's profile Send private message
Jen
n00b
n00b


Joined: 25 Sep 2002
Posts: 12
Location: Mississippi

PostPosted: Fri Sep 27, 2002 12:35 pm    Post subject: Reply with quote

Are you trying to use it so openoffice will work?
_________________
Jen
Back to top
View user's profile Send private message
fubar
n00b
n00b


Joined: 24 Sep 2002
Posts: 23
Location: Germany - Erfurt

PostPosted: Fri Sep 27, 2002 12:37 pm    Post subject: Reply with quote

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
View user's profile Send private message
TheCoop
Veteran
Veteran


Joined: 15 Jun 2002
Posts: 1814
Location: Where you least expect it

PostPosted: Fri Sep 27, 2002 2:58 pm    Post subject: Reply with quote

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
View user's profile Send private message
rizzo
Retired Dev
Retired Dev


Joined: 30 Apr 2002
Posts: 1067
Location: Manitowoc, WI, USA

PostPosted: Fri Sep 27, 2002 5:13 pm    Post subject: Reply with quote

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
View user's profile Send private message
PoorMonkey
n00b
n00b


Joined: 27 Aug 2002
Posts: 2
Location: Knoxville, Tennessee

PostPosted: Fri Sep 27, 2002 9:51 pm    Post subject: Possible fix Reply with quote

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
View user's profile Send private message
PoorMonkey
n00b
n00b


Joined: 27 Aug 2002
Posts: 2
Location: Knoxville, Tennessee

PostPosted: Fri Sep 27, 2002 9:58 pm    Post subject: Reply with quote

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
View user's profile Send private message
Logik
n00b
n00b


Joined: 15 Aug 2002
Posts: 9
Location: Michigan

PostPosted: Fri Sep 27, 2002 11:53 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo 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