[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Trying Java



Daniel Mashao <daniel@vitasat.ee.uct.ac.za> writes:

[...]

> Everytime I run javac I get no error messages and nothing works. I trioed
> to see what javac was and was suprised to see a lot of "meaningless" links
> 
> /usr/bin/javac -> /etc/alternatives/javac
> /etc/alternatives/javac -> /usr/lib/jdk1.1/bin/javac
> /usr/lib/jdk1.1/bin/javac -> .java_wrapper

There is a purpose with /etc/alternatives. You choose which
alternative you want if many exist. Lets say you later upgrades to
jdk1.2, then you just change (or dpkg will do it for you) the
/etc/alternatives/javac or you can within the blink of an eye switch
between jdk1.2 or jdk1.1 - or some other java distribution (kaffe?) by
moving the symlink.

-- 
( Jonas Steverud  @  www.dtek.chalmers.se/~d4jonas/ !    Wei Wu Wei    )
( U2MoL, Roleplaying, LaTeX, Emacs/Gnus, SCWM, etc. ! To Do Without Do )


Reply to: