Results 1 to 10 of 10

Thread: Cannot install Java.

  1. #1
    Join Date
    Mar 2013
    Beans
    29

    Cannot install Java.

    Hi,

    I have downloaded Java from java.com, I have followed the instructions on the Java website but Java is not installed. The terminal said the package is brocked.

    Need help please.

    Thanks,

    Guillaume

  2. #2
    Join Date
    May 2007
    Location
    Leeds, UK
    Beans
    1,664
    Distro
    Ubuntu 13.10 Saucy Salamander

    Re: Cannot install Java.

    What do you want to do with Java:

    Run Java applets in your web browser?
    Run Java programs?
    Write Java programs?
    Please create new threads for new questions.
    Please wrap code in code tags using the '#' button or enter it in your post like this: [code]...[/code].

  3. #3
    Join Date
    Mar 2013
    Beans
    29

    Re: Cannot install Java.

    Hi,

    Its for running Java applets in Firefox.

    Thanks!

    Guillaume

  4. #4
    Join Date
    Jan 2009
    Location
    Santander, Spain
    Beans
    1,824
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Cannot install Java.

    To install java from oracle, you have to follow the instructions in this link: http://www.ubuntugeek.com/how-to-ins...ntu-12-04.html

  5. #5
    Join Date
    Nov 2012
    Location
    Halloween Town
    Beans
    Hidden!
    Distro
    Xubuntu Development Release

    Re: Cannot install Java.

    Before everything, let's clean up your previous Java 7 installation that could later on create you problems. Open a terminal and run the following:
    Code:
    sudo rm /var/lib/dpkg/info/oracle-java7-installer*
    sudo apt-get purge oracle-java7-installer*
    sudo rm /etc/apt/sources.list.d/*java*
    sudo apt-get update
    Then run the following commands
    Code:
    sudo add-apt-repository ppa:webupd8team/java
    sudo apt-get update
    sudo apt-get install oracle-java7-installer
    Edit: Let us know how it went.

  6. #6
    Join Date
    Jul 2008
    Location
    The Left Coast of the USA
    Beans
    Hidden!
    Distro
    Kubuntu

    Re: Cannot install Java.

    The webupd8 method is simply the easiest way by far and your version will be updated automatically when you do your normal updates. That's why I put it in the Community Wiki.

    The webupd8 team has automated the download from the official site, installation and configuration.
    Last edited by QIII; April 5th, 2013 at 06:51 PM.

  7. #7
    Join Date
    Mar 2013
    Beans
    29

    Re: Cannot install Java.

    Hi,

    Thanks thats work now!

    Guillaume

  8. #8
    Join Date
    Apr 2013
    Beans
    21

    Re: Cannot install Java.

    @Slickymaster I followed your instructions, but it doesn't look like Java was installed, either the JDK or the web plugin or...anything (java -version returns a message stating that the directory doesn't exist). Any idea as to why :S?

  9. #9
    Join Date
    Jan 2009
    Location
    Santander, Spain
    Beans
    1,824
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Cannot install Java.

    Quote Originally Posted by guillaumesoucy View Post
    Hi,

    Thanks thats work now!

    Guillaume
    As you get fixed your problem, please mark the thread as solved: https://wiki.ubuntu.com/UnansweredPo.../SolvedThreads

  10. #10
    Join Date
    Jan 2009
    Location
    Santander, Spain
    Beans
    1,824
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Cannot install Java.

    Quote Originally Posted by fernetekhd View Post
    @Slickymaster I followed your instructions, but it doesn't look like Java was installed, either the JDK or the web plugin or...anything (java -version returns a message stating that the directory doesn't exist). Any idea as to why :S?
    I suggest you open a new thread asking for your problem, you can refer to this thread in the description. what is the ubuntu you are running?

    Could you post the output of any of the commands addressed in order to install oracle java?

    First of all, you have to run the command: sudo apt-get purge openjdk* as it is indicated in the link: http://www.ubuntugeek.com/how-to-ins...ntu-12-04.html

Bookmarks

Posting Permissions

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