Hey, ho--

So I used java-config to switch the user's (my) Java VM from blackdown
to Sun (blackdown is only 1.4.2 but Azureus prefers 1.5). I don't want
to change the whole system VM (because I'm a big chicken).

But anyway, when I switch VMs with java-config, I get this message:

 $ java-config -s sun-jre-bin-1.5.0.03
Env files in /home/motub/.gentoo updated. Source these in your shell's
profile.

Am I the only one who doesn't know quite what to do at this point? I did
figure it out, but I don't find this message at all clear, since the
only 'source' I've done up to this point is 'source /etc/profile', which
is of course not available to me as a user.

So fine, I read the message again, and so tried

$ source ~/.gentoo

which (unsurprisingly, when you think about it):

-bash: source: /home/motub/.gentoo: is a directory

Fine, so then I do

$ source ~/.gentoo/*

and then I was able to get

$ java-config -f
sun-jre-bin-1.5.0.03

(And now Azureus opens the Configuration tab without crashing, yay!) But
I know I was just lucky. I was making this up/guessing wildly as I went
along. That command worked, but I don't even know if that's "right" (the
asterisk). I suppose the source command sensibly only sourced the
"source-able" files in that folder, but I don't know which ones they
were, what needed to change, or if everything that needed to change in
fact did. An export shows that PATH and JAVA_HOME variables are right
(they point to Sun Java), but the JAVAC and JDK_HOME variables still
point to blackdown. Is this a problem? I don't know (and I don't like
that :-) ).

Have I done this correctly? Should I have known how to do this (source
files for a user, rather than root/system-wide) after installation (for
all my time with Gentoo, I haven't really learned all that many system
commands that fall outside the scope of installation routines)?  Was
there a way to 'intuit' this from the message? This whole ~/.gentoo
folder seems new to me. Or should I submit a bug against java-config to
request that this message be a bit more specific in its instruction?

Holly
-- 
[email protected] mailing list

Reply via email to