execution n run command??

Discussion in 'Linux & BSD' started by @n!e, Jul 28, 2003.

  1. @n!e

    @n!e Guest

    hi, i've install my j2sdk on my linux(mandrake) platform.
    but the problem is i'm required to repeat typing the following phrase in order to view/compile/run my java application.


    export JAVA_HOME=/usr/local/bin/j2sdk1.4.1_02
    export PATH=$JAVA_HOME/bin:$PATH


    is there any way to avoid this everytime i run my application on different terminal(console)??

    thanks in advance.:confused:
     
  2. Zedric

    Zedric NTFS Guru Folding Team

    Messages:
    4,006
    Location:
    Sweden
    Yeah, put these lines in your .login file. I think that's the right place for it.