Re: Sun JRE, JSDK and J2EE on debian

From: Kristian Rink (krink_at_pm-planc.de)
Date: 06/30/05

  • Next message: Marco Calviani: "boot.log not present"
    Date: Thu, 30 Jun 2005 09:13:10 +0200
    To: prabusubroto@arcor.de
    
    

    Hi there;

    prabusubroto@arcor.de schrieb:

    >I am trying to have JRE and SDK on my debian because my boss push me to use Sun Java. I downloaded the JRE, converted it to deb package with alien like this:
    > alien -d -i ./j2re-1_4_2_08-linux-i586.rpm
    >
    >it succeeded.
    >
    >But once I installed it, I have a ridiculous thing. lookslike the java home directory and java class path have not been defined.
    >
    >So how should I install my Sun JRE? Should I just define the path of java home directory and java class (lib) path? But how should I do that?
    >
    >
    Probably you should edit the configuration file of your favorite shell
    to set variables like JAVA_HOME, CLASSPATH and possibly PATH according
    to your installation to ensure the jre environment is found. If you're
    using bash, try putting something like this into your $HOME/.bashrc :

    export JAVA_HOME=/path/to/your/jre
    export PATH=$PATH:$JAVA_HOME/bin

    As for the CLASSPATH, I think you don't have to set this manually with
    current JRE packages anymore unless including additional classes (JDBC
    drivers, java-mail and the like).

    Cheers,
    Kris

    -- 
    Kristian Rink 	-- Programmierung/Systembetreuung
    planConnect GmbH * Strehlener Str. 12 - 14 * 01069 Dresden
    Tel. 0351 4657716 * Fax 0351 4657707 * krink@pm-planc.de
    -- 
    To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org 
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
    

  • Next message: Marco Calviani: "boot.log not present"