Find the answer to your Linux question:
Results 1 to 6 of 6
How can I install java on debian?...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux Newbie
    Join Date
    May 2012
    Posts
    117

    Installing Java on debian?


    How can I install java on debian?

  2. #2
    Just Joined!
    Join Date
    Mar 2013
    Posts
    8
    Not entirely sure this will work but you could try opening the command line and typing in sudo apt-get install java.

  3. #3
    Penguin of trust elija's Avatar
    Join Date
    Jul 2004
    Location
    Either at home or at work or down the pub
    Posts
    3,653
    Quote Originally Posted by danielfnj96 View Post
    Not entirely sure this will work but you could try opening the command line and typing in sudo apt-get install java.
    Code:
    sudo apt-get install default-jdk
    or if you set up a root password when installing

    Code:
    su 
    apt-get install default-jdk
    "I used to be with it, then they changed what it was.
    Now what was it isn't it, and what is it is weird and scary to me.
    It'll happen to you too."

    Grandpa Simpson



    The Fifth Continent

  4. $spacer_open
    $spacer_close
  5. #4
    Linux Newbie
    Join Date
    May 2012
    Posts
    117
    Code:
    root@raspberrypi:~# apt-get install default-jdk
    E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem.
    root@raspberrypi:~#

  6. #5
    Trusted Penguin Irithori's Avatar
    Join Date
    May 2009
    Location
    Munich
    Posts
    3,444
    This is not directly related to the java installation, but some inconsistency of your package system.
    Follow the hint.
    You must always face the curtain with a bow.

  7. #6
    Just Joined!
    Join Date
    Apr 2012
    Location
    Australia
    Posts
    36
    Easy enough, just download a .bin from the java.com/en/ site and open your command prompt terminal
    cd into the directory with the downloaded JRE in the directory you want to install to
    then commit the shell command ousing the name of the .bin or .bin.sh installer of the JRE.

    The lower half of this page has a comprehensive explaination of what to do
    Linux SideWinderPhotoColourBalancer Config- Install

Posting Permissions

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