Page 1 of 8 123 ... LastLast
Results 1 to 10 of 74

Thread: HOWTO: Building your own Java 1.5 package

  1. #1
    Join Date
    Feb 2005
    Beans
    Hidden!

    Post HOWTO: Building your own Java 1.5 package

    I have pasted this same trick numerous times already (half tired of doing it too), but now that Sun Java 1.5 is no longer available on backports I thought I'd post a HOWTO about it.
    1. Download Java 2 Platform Standard Edition 5.0
    2. There, select one of these:
      • Download JDK 5.0 Update 5
      • Download JRE 5.0 Update 5
    3. After you have reviewed and accepted the License Agreement, download Linux self-extracting file (the one with the .bin extension).
    4. In sequence, execute these commands in Terminal mode (Applications -> System Tools -> Terminal):
      Code:
      sudo apt-get install fakeroot java-package
    5. Code:
      fakeroot make-jpkg downloaded_package_name.bin

      * To get the name of the newly created debian package, let's do:
    6. ls


      * Now to install it :
    7. sudo dpkg -i newly_created_package.deb (whatever the newly Sun- DEBian package is named).


    * Hoary: http://www.ubuntuguide.org/#extrarepositories
    * Works on Breezy too.
    Last edited by bored2k; October 4th, 2005 at 03:29 AM.
    Sylvia: Look at what you've done to him!
    Christof: I have given Truman the chance to lead a normal life. The world, the place you live in, is the sick place.

  2. #2
    Join Date
    Aug 2005
    Beans
    92
    Distro
    Ubuntu

    Re: HOWTO: Building your own Java 1.5 package

    Nice one!

    This might be a stupid question, but why not just alien the rpm?
    Backticks are deprecated! Use $(command) instead!

  3. #3
    Join Date
    May 2005
    Location
    Lecce, Italy
    Beans
    6,168
    Distro
    Ubuntu

    Re: HOWTO: Building your own Java 1.5 package

    Thanks for the guide, I will need it when I install Breezy.

  4. #4

    Re: HOWTO: Building your own Java 1.5 package

    Creating temporary directory: /tmp/make-jpkg.XXXXiGwUre
    Loading plugins: blackdown-j2re.sh blackdown-j2sdk.sh common.sh ibm-j2re.sh ibm-j2sdk.sh j2re.sh j2sdk-doc.sh j2sdk.sh j2se.sh sun-j2re.sh sun-j2sdk-doc.sh sun-j2sdk.sh

    No matching plugin was found.
    Removing temporary directory: done

    What to do when you get this message after fakeroot? Running Breezy.

  5. #5
    manicka Guest

    Re: HOWTO: Building your own Java 1.5 package

    Worked perfectly here in breezy.. thankyou

  6. #6
    Join Date
    Feb 2005
    Beans
    Hidden!

    Re: HOWTO: Building your own Java 1.5 package

    Quote Originally Posted by sumadartson
    Nice one!

    This might be a stupid question, but why not just alien the rpm?
    Alien is like playing the lottery. It might work, it might not. Plus, this is the correct version of building a package for debian/ubuntu/et al.
    Sylvia: Look at what you've done to him!
    Christof: I have given Truman the chance to lead a normal life. The world, the place you live in, is the sick place.

  7. #7
    Join Date
    Apr 2005
    Beans
    21

    Re: HOWTO: Building your own Java 1.5 package

    Can you post your source.list? I did and apt get but it's telling me that it can't find java-package.

    Other bit of info, i've just installed breezy so if you could post the source.list for breezy.

  8. #8
    Join Date
    Sep 2005
    Beans
    73

    Re: HOWTO: Building your own Java 1.5 package

    the same here no package found

  9. #9
    Join Date
    Feb 2005
    Beans
    Hidden!

    Re: HOWTO: Building your own Java 1.5 package

    Quote Originally Posted by TakisX
    the same here no package found
    http://www.ubuntuguide.org/#extrarepositories

    Retry
    Sylvia: Look at what you've done to him!
    Christof: I have given Truman the chance to lead a normal life. The world, the place you live in, is the sick place.

  10. #10
    Join Date
    Oct 2005
    Location
    belgrade
    Beans
    9

    Re: HOWTO: Building your own Java 1.5 package

    bored2k, I tried following the instructions and got this far:

    ''nemanja@naemanija:~/Desktop/OvdeIdeSkidanje$ fakeroot make-jpkg jre-1_5_0_05-linux-i586-1.bin
    Creating temporary directory: /tmp/make-jpkg.XXXXIKpSwK
    Loading plugins: blackdown-j2re.sh blackdown-j2sdk.sh common.sh ibm-j2re.sh ibm-j2sdk.sh j2re.sh j2sdk.sh j2se.sh sun-j2re.sh sun-j2sdk.sh

    No matching plugin was found.
    Removing temporary directory: done
    nemanja@naemanija:~/Desktop/OvdeIdeSkidanje$''

    What should my next move be?

    I am a total (ubuntu) linux newbie(a couple of days experience).

Page 1 of 8 123 ... LastLast

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
  •