Differences between revisions 5 and 6
Revision 5 as of 2007-10-11 16:37:03
Size: 1252
Comment: updated for M3 (0.03) binary JDK ebuild
Revision 6 as of 2009-09-20 21:55:33
Size: 1260
Editor: localhost
Comment: converted to 1.6 markup
Deletions are marked like this. Additions are marked like this.
Line 4: Line 4:
 * JDK: attachment:harmony-jdk-bin-0.03.580985.ebuild, You will also need Java VM environment descriptor file attachment:harmony-jdk-bin.env  * JDK: [[attachment:harmony-jdk-bin-0.03.580985.ebuild]], You will also need Java VM environment descriptor file [[attachment:harmony-jdk-bin.env]]

Harmony JDK can be installed using Gentoo native package manager, portage.

At this moment, binary ebuild for the M3 stable snapshot is available:

Instruction to try out

  • 0) configure portage overlay

$ echo 'PORTDIR_OVERLAY="/usr/local/portage"' >> /etc/make.conf
  • 1) put the ebuild files in place

$ mkdir -p /usr/local/portage/dev-java/harmony-jdk-bin/files
$ mv harmony-jdk-bin-0.02.551077.ebuild /usr/local/portage/dev-java/harmony-jdk-bin
$ mv harmony-jdk-bin.env /usr/local/portage/dev-java/harmony-jdk-bin/files
  • 2) regenerate the ebuild manifest and digest files

$ ebuild /usr/local/portage/dev-java/harmony-jdk-bin/harmony-jdk-bin-0.02.551077.ebuild digest
  • 3) configure keywords to accept unstable package

$ echo 'dev-java/harmony-jdk-bin ~x86' >> /etc/portage/package.keywords
  • 4) install the package

$ emerge harmony-jdk-bin
  • 5) make sure that the harmony-jdk-bin is in the list of installed VMs, and choose it as default

$ java-config -L
$ java-config --set-user-vm=harmony-jdk-bin
$ java -version

GentooEbuilds (last edited 2009-09-20 21:55:33 by localhost)