On 19 February 2013 13:14, Emmanuel Bourg <ebo...@apache.org> wrote: > You have to run: > J2SE_PACKAGE_LIBDIR=./lib ./make-jpkg <downloaded-archive> > java-package also works with the .tar.gz provided by Oracle.
This worked and I built a nice java7 deb. I then tried installing it, and then tomcat6, and it does not attempt to pull in openjdk6! Thank you very much, you have completely solved my problem :-) $ sudo dpkg -i oracle-java7-jdk_7.13_amd64.deb Selecting previously deselected package oracle-java7-jdk. (Reading database ... 111881 files and directories currently installed.) Unpacking oracle-java7-jdk (from oracle-java7-jdk_7.13_amd64.deb) ... Setting up oracle-java7-jdk (7.13) ... update-alternatives: using /usr/lib/jvm/jdk7-oracle/jre/bin/java to provide /usr/bin/java (java) in auto mode. ... $ java -version java version "1.7.0_13" Java(TM) SE Runtime Environment (build 1.7.0_13-b20) Java HotSpot(TM) 64-Bit Server VM (build 23.7-b01, mixed mode) $ sudo apt-get install tomcat6 Reading package lists... Done Building dependency tree Reading state information... Done The following extra packages will be installed: authbind libcommons-collections-java libcommons-dbcp-java libcommons-pool-java libecj-java libservlet2.5-java libtomcat6-java tomcat6-common Suggested packages: libgeronimo-jta-1.0.1b-spec-java ecj ant libecj-java-gcj tomcat6-docs tomcat6-admin tomcat6-examples tomcat6-user The following NEW packages will be installed authbind libcommons-collections-java libcommons-dbcp-java libcommons-pool-java libecj-java libservlet2.5-java libtomcat6-java tomcat6 tomcat6-common 0 upgraded, 9 newly installed, 0 to remove and 0 not upgraded. Need to get 5,119kB of archives. After this operation, 8,462kB of additional disk space will be used. Do you want to continue [Y/n]? n Abort. - d. -- To UNSUBSCRIBE, email to debian-java-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/caj0tu1e8bgj9xzpg_fwjqi3odrmjb-h-tbdrm0qaden2ih7...@mail.gmail.com