* me lyman [Mon, 11 Oct 2004 at 15:43 -0600]
> I have some inline questions...
> 
<snip what="doable stuff"/>
>
> > 4. ln -s /usr/local/lib/jdk1.5.0 /usr/local/lib/jdk
> 
> I think I've done this before.
> 

this just sets up a symbolic link from 'jdk' to 'jdk1.5.0' so when you
get 'jdk1.5.2' you can update 'jdk' to point to that and change nothing
else. :)

> > 5.  Install java-virtual-machine-dummy and make
> > /etc/java-vm look like this (3 lines):
> > 
> >     /usr/local/lib/jdk/bin/java
> > 
> >     COMPLIANT
> 
> I'm worried about this. I'm not sure what you mean by 'Install' - is
> that a command? Something like 'apt-get install
> java-virtual-machine-dummy'?

that's exactly right

> 
> I can edit the java-vm file... do you mean you want the first line:
> /usr/local/lib/jdk/bin/java
> followed by a blank line followed by:
> COMPLIANT
> ??

Also correct.

> 
> > 
> > 6. update-alternatives --config java # (select java-vm)
> > 7. update-alternatives --install javac javac /usr/local/lib/jdk/bin/javac 1 
> > --slave javac.1.gz javac.1.gz /usr/local/lib/jdk/man/man1/javac.1
> > 8. update-alternatives --config javac # (select /usr/local/lib/jdk/bin/javc)
> > 9. You might need to
> >     ln -s /etc/alternatives/javac /usr/bin/javac
> 
> I really don't know what these are either... sorry... could you help
> me understand?

This is the fun part...
6. Run that command, and it will give you a list of numbers and
coresponding paths for the link to point to, select the number that
corresponds with 'java-vm'
7. This is a command to add an option to the alternatives for 'javac'.
it adds the option of selecting '/usr/local/lib/jdk/bin/javac' to be run
when you type 'javac' (see man update-alternatives for more info)
WARNING: the previous message should have said
/usr/local/lib/*jdk*/bin/javac (*'s around correction) so if you copy
and paste, be sure to put that jdk in, and I fixed it in the quoted
message above.
8. select the newly added alternative as in step 6
9. this command will put a symbolic link in /usr/bin that points to
/etc/alternatives/javac so when you run javac, it will use the
alternatives and run your currently preferred javac


> Thanks for your patience!

np, call again if you need help understanding some of that.

Von Fugal

Attachment: signature.asc
Description: Digital signature

____________________
BYU Unix Users Group 
http://uug.byu.edu/ 
___________________________________________________________________
List Info: http://uug.byu.edu/cgi-bin/mailman/listinfo/uug-list

Reply via email to