On Thu, Jul 08, 2004 at 03:17:16PM -0400, H. S. wrote:
> Apparently, _Jacob S._, on 07/08/04 14:51,typed:
> >On Thu, 08 Jul 2004 14:36:17 -0400
> >"H. S." <[EMAIL PROTECTED]> wrote:
> >
> >
> >>In my Testing distribution, I noticed that I have javac already (new 
> >>install a couple of months back). Earlier I used to download Sun's
> >>j2sdk and install that. Now that I already have javac (probably
> >>provided by Debian), in what way would the new installation of j2skd
> >>be affected by it?
> >
> >
> >Have you done an "ls -l" on javac? Last I checked, it was just a symlink
> >to /etc/default/javac or something, which in turn pointed to a
> >nonexistent filename. After I installed Sun's j2re, I changed the
> >symlinks to point to Sun's java and javac.
> 
> Here is what I have:
> /usr/bin/javac -> /etc/alternatives/javac -> /usr/bin/gcj-wrapper-3.3
> /usr/bin/javah -> /etc/alternatives/javah -> /usr/bin/gcjh-wrapper-3.3
> 

gcj is the gnu version of java (opensource). Its not the default, its
the free option, and thus is available with debian.

If you want to ues sun's jdk you can just uninstall gcj, but you should
link javac to somewhere in you path.

What I did was install into /usr/local/j2sdk1.4.2_05, link that to
/usr/local/j2sdk, and then make links from /usr/local/bin to the
executables

> 
> These are provided by these packages:
> 
> ||/ Name             Version          Description
> +++-================-================-=============================
> ii  gcj              3.3.4-1          The GNU Java compiler
> ii  gcj-3.3          3.3.4-2          The GNU compiler for Java(TM)
> 
> 
> 
> I am not sure what "pn" means but I have this installed too:
> ||/ Name                Version           Description
> +++-========================-========================-==================
> pn  free-java-sdk       <none>            (no description available)
> 
> 
> 
> So I guess uninstalling gcj-3.3 would remove the default javac and javah (?)
> 
> ->HS
> 
> 
> -- 
> To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
> with a subject of "unsubscribe". Trouble? Contact 
> [EMAIL PROTECTED]
> 
> 
> +++++++++++++++++++++++++++++++++++++++++++
> This Mail Was Scanned By Mail-seCure System
> at the Tel-Aviv University CC.
> 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to