[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: New work on java-package



On 2 January 2012 18:29, David Gerard <dgerard@gmail.com> wrote:
> 2012/1/2 Cédric Pineau <cedric.pineau@gmail.com>:

>>  I've put back support for oracle-java6 >= update10.
>>  Do you need previous java6 releases to be supported too ?

> Me? No, I'm interested in current versions that haven't been packaged
> because of Oracle taking back the licence :-)
> I'll try it tomorrow (back at work) and will report back!


It seems to make a functional package. Tomcat starts and two of our
internal apps start, so that's good so far :-)

This is exactly what I did to try it out, using my Ubuntu 10.04 AMD64
desktop as the build box:

1. sudo apt-get install debhelper
2. Get the zip of java-package from github, unzip to a suitable
directory. cd there.
    /home/fun/bin/cedricpineau-java-package-b77d4f0
3. Move all files from ./lib/* to the same directory.
4. Edit make-jpkg and change lib_dir="/usr/share/java-package" to
point to /home/fun/bin/cedricpineau-java-package-b77d4f0
5. Download the self-extracting bin file from Oracle to
/home/fun/Downloads/jdk-6u30-linux-x64.bin
6. ./make-jpkg /home/fun/Downloads/jdk-6u30-linux-x64.bin

This gives quite a lot of warnings, which I'll email Cédric directly
if he'd find them useful.

The resulting file has some unresolved dependencies, so I installed it
(on a relatively clean Ubuntu 10.04 AMD64 VM) by:

sudo dpkg -i /home/bmjadmin/oracle-j2sdk1.6_1.6.0+update30_amd64.deb
sudo apt-get install -f


- d.


Reply to: