Find the answer to your Linux question:
Results 1 to 5 of 5
i download and install java software from Sun's web site. When i use the java command in terminal window it said "this command not found" and my java programs not ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Mar 2006
    Posts
    15

    Enabling Java


    i download and install java software from Sun's web site.
    When i use the java command in terminal window it said "this command not found"
    and my java programs not working (like azureus)

    How can i enable java support? Thanks from now...!:

  2. #2
    Linux Enthusiast
    Join Date
    Aug 2005
    Location
    Hell
    Posts
    514
    Quote Originally Posted by buraq
    i download and install java software from Sun's web site.
    How did you "install" Java? The better ways of installing Java in Debian are described here.

  3. #3
    Linux User
    Join Date
    Feb 2006
    Posts
    484
    Hi

    If you installed java to a not original place like /usr/local the system not know about the program, not see the binaries.

    for example i installed java to /usr/java and my system didn't find it.
    You must export the java binaries path.
    write this to the .bashrc in your home directory
    code:
    export PATH=$PATH:/path of java/bin
    in my case
    export PATH=$PATH:/usr/java/jdk1.5.0_05/bin

    or

    add java binaries path to the file /etc/profile

    have fun!
    And please forgive me my english is very wrong but i hope you will understand it.

  4. #4
    Linux Guru kkubasik's Avatar
    Join Date
    Mar 2004
    Location
    Lat: 39:03:51N Lon: 77:14:37W
    Posts
    2,396
    Just for the record, if you want it to be a lot easier and integrated into debians package management system (ie, every time you upgrade, debian won't re-install gcj over your java install) try this little tut.

    http://blog.kubasik.net/articles/200...-based-systems
    Avoid the Gates of Hell. Use Linux
    A Penny for your Thoughts

    Formerly Known as qub333

  5. #5
    Just Joined!
    Join Date
    Mar 2006
    Posts
    15

    thank you iwanabeguru ant others

    I solved my problem as iwanabeguru said. thank iwanabeguru and other guys for your helps

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •