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

Re: Bug#742864: ITP: openjdk-8 -- OpenJDK 8 - Open source implementation of the Java Platform Standard Edition 8



Le 30/05/2014 07:32, Daniel Svensson a écrit :
> It would be nice if there are multiple versions of the jre-package, one
> normal, and one for each of the compact profiles:
> 
> https://blogs.oracle.com/jtc/entry/a_first_look_at_compact

Hi Daniel,

That's an interesting idea. I tried to build the compact JRE images with
'make images profiles' but I got this error:

## Starting profiles
make[2]: Entering directory '/home/ebourg/openjdk8/jdk/make'
make[3]: Entering directory '/home/ebourg/openjdk8/jdk/make'
make[3]: *** No rule to make target
'/home/ebourg/openjdk8/build/images/beanless/java/util/jar/Pack200\$Packer.class',
needed by '/home/ebourg/openjdk8/build/images/libprofile_1/rt.jar'.  Stop.
make[3]: *** Waiting for unfinished jobs....
Removed method
addPropertyChangeListener(java.beans.PropertyChangeListener) from
java/util/logging/LogManager
Removed method
removePropertyChangeListener(java.beans.PropertyChangeListener) from
java/util/logging/LogManager
make[3]: Leaving directory '/home/ebourg/openjdk8/jdk/make'
make[2]: *** [profile_1] Error 2
BuildJdk.gmk:113: recipe for target 'profile_1' failed
make[2]: Leaving directory '/home/ebourg/openjdk8/jdk/make'
/home/ebourg/openjdk8//make/Main.gmk:147: recipe for target
'profiles-only' failed
make[1]: *** [profiles-only] Error 2
make[1]: Leaving directory '/home/ebourg/openjdk8/build'
debian/rules:968: recipe for target 'stamps/build' failed
make: *** [stamps/build] Error 1


Assuming this can be resolved there are some points open for discussion:

- How do we name the new packages? openjdk-8-jre-compact<n> would make
sense.

- Since these compact JREs do not provide the full Java API they can't
satisfy the java8-runtime and java8-runtime-headless virtual packages.
We'll have to introduce new virtual packages, I suggest
java8-runtime-compact<n>. As I understand the compact profiles do not
contain UI classes, so there is no need to have -headless variants here.

- What would be the install directory for the compact JREs? Currently
the full JRE/JDK is installed in /usr/lib/jvm/java-8-openjdk-<arch>. The
compact JREs could go into /usr/lib/jvm/java-8-openjdk-compact<n>-<arch>.

Emmanuel Bourg


Reply to: