Find the answer to your Linux question:
Results 1 to 5 of 5

Thread: Enabling Java

Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    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
    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

    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
    export PATH=$PATH:/path of java/bin
    in my case
    export PATH=$PATH:/usr/java/jdk1.5.0_05/bin


    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. $spacer_open
  5. #4
    Linux Guru kkubasik's Avatar
    Join Date
    Mar 2004
    Lat: 39:03:51N Lon: 77:14:37W
    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.
    Avoid the Gates of Hell. Use Linux
    A Penny for your Thoughts

    Formerly Known as qub333

  6. #5

    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