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

Re: How to install proper Java? (1.3.1 or 1.4.1 SDK)



On Sun, Dec 01, 2002 at 10:35:41AM -0800, Lukas Latz wrote:
> After installing J2SE 1.4.1 the non-apt way (*.tar.gz) I found it
> doesn't like the libraries it finds on my Debian Woody (stable).  Went
> back to blackdown.org and followed instructions to add their site to
> my /etc/apt/sources.list
> .
> They say:
> 
> Add the following line to /etc/apt/sources.list
> deb ftp://<mirror>/<path-to-java-directory>/debian <dist> non-free
> (replace <dist> with potato, woody or sid)

My line also mentions main.

> Had to play around with it for a while before deselect *update was
> able to get anything at all.  It ended up looking like this:
> 
> deb ftp://metalab.unc.edu/pub/linux/devel/lang/java/blackdown.org/debian woody non-free
>
> With this entry, the update of the cache seems to run smoothly, but
> suspiciously few MB are actually downloaded. When I ran dselect
> *select to install the J2SDK and demos (which do turn up properly in
> the list), dselect warns that they depend on java-common and that
> seems to be missing.

Append " main" to the end of the blackdown line in your sources.list.
java-common is available from debian as part of Woody, but I think you
mean j2se-common, and that package is the only package that is
non-non-free (main).

> And indeed, when I do install, not a lot happens and afterwards the
> stuff you would expect to find like java, javac or javah are to be
> found nowhere on the HD.

You did check in /usr/lib/j2se/1.3/bin (this is where j2sdk1.3's javac
is located)

> Im getting the impression that the blackdown.org debs are broken. Can
> I just install from the 1.3.1 regular .tar.gz installer or will I get
> library problems from that like from the 1.4.1 installer?

I didn't have any problems with the blackdown debs.

-- 
Seneca
seneca-cunningham@rogers.com



Reply to: