On Wed, Jun 20, 2007 at 05:55:37PM -0600, Bob Proulx wrote:
>
> <snip>
> 
> In any case some standard ways of dealing with this are:
> 
> * Install in your $HOME directory instead of /usr/local and then add
>   these paths to your $HOME/.bashrc file.  This is typical for a
>   personal installation.
> 
> * Install a script wrapper in /usr/local/bin that sets these
>   environment variables and then calls the program.  This way there is
>   no need to log out and log back in again and changes take effect
>   immediately.
> 
> * Use the Debian java-package to convert Sun's upstream binary Java
>   distribution into a Debian package and install it.
> 
> I recommend using the java-package method.
> 
>   apt-cache show java-package
> 
>   Description: utility for building Java(TM) 2 related Debian packages
>    This package provides the capability to create a debian package from
>    a Java(TM) 2 distribution by just running make-jpkg <filename>.
>    .
>    This program currently works with the following Java(TM) 2 Runtime
>    Environments and Development Kits:
>    .
>     * Sun Microsystems(TM) 1.4 and 1.5 Standard Edition
>     * IBM(TM) 1.3, 1.4, and 5.0 Standard Edition
>     * Blackdown Java-Linux 1.3 and 1.4 Standard Edition
> 
> This will probably be your best solution.
> 

Sun's JDK is already packaged for debian in the non-free repository.
The sun-java6-* packages in lenny should be what the OP needs.

-- 
Kushal Kumaran                               [EMAIL PROTECTED]


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

Reply via email to