Find the answer to your Linux question:
Results 1 to 5 of 5
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    Installing Java on debian?


    How can I install java on debian?

  2. #2
    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,907
    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
    Should you be sitting wondering,
    Which Batman is the best,
    There's only one true answer my friend,
    It's Adam Bloody West!


    The Fifth Continent

  4. $spacer_open
    $spacer_close
  5. #4
    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,760
    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.

Posting Permissions

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