Announcement

Collapse
No announcement yet.

Installing sun java

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Installing sun java

    hi,
    I have tried using both adept and synaptic to install Sun-java. They show no results when I search for "sun java". I have enabled all available repositories and also checked the propreitory sofware and commercial software checkboxes. Does anybody know that solution.

    #2
    Re: Installing sun java

    try sun-java

    Comment


      #3
      Re: Installing sun java

      try to install it with apt-get. You can search in the list of available packages with "apt-cache search".

      For example:
      > apt-cache search sun-java

      You will get a list with package-names, now you can install a package with:
      > apt-get install sun-java-bin
      or some other package name ...

      Comment


        #4
        Re: Installing sun java

        Nonsense! If you want Suns Java go to the sun website and download the .bin file. Run it and install it somewhere sensible like /opt/java. Then, if you so wish, add suitable paths in your ~/.bash_profile.

        I install my Javas in /opt/java

        Code:
        $ ls /opt/java
        j2sdk1.4.2_12
        java -> /opt/java/jdk1.6.0/
        jdk1.5.0_07
        jdk1.6.0
        and create a symlink to the one I want to use by default, and use that symlink in my~/.bash_profile:

        Code:
        export JAVA_HOME=/opt/java/java
        export PATH=$JAVA_HOME/bin:$PATH

        Comment


          #5
          Re: Installing sun java

          https://help.ubuntu.com/community/Java

          Comment

          Working...
          X