linux-jdk-1.4.2 problems

Brian Behlendorf brian at hyperreal.org
Mon Jul 28 12:26:12 PDT 2003


I realize the linux-sun-jdk1.4.2 port is called instable, but since it's
required to bootstrap a build of ports/java/jdk14, I didn't know if it was
supposed to be *this* broken:

 minotaur# /usr/local/linux-sun-jdk1.4.2/bin/java -version
 #
 # HotSpot Virtual Machine Error, Internal Error
 # Please report this error at
 # http://java.sun.com/cgi-bin/bugreport.cgi
 #
 # Java VM: Java HotSpot(TM) Client VM (1.4.2-b28 mixed mode)
 #
 # Error ID: 4F533F4C494E55580E43505001C9
 #

 Heap at VM Abort:
 Heap

At which point it soaks up 100% of the CPU.  I'll find an old native 1.4.1
build to bootstrap from, but if there's a more stable package to download
we may want to modify jdk14/Makefile to do that.

Assuming it is the linux-sun-jdk14 port that's desired to bootstrap, the
following is needed in order to build the jdk14 port:


*** Makefile.orig       Sat Mar 15 01:57:58 2003
--- Makefile    Mon Jul 28 10:13:31 2003
***************
*** 36,42 ****
  .if defined(NATIVE_BOOTSTRAP)
  JDK14DIR?=    ${LOCALBASE}/jdk${JDK_VERSION}
  .else
! JDK14DIR?=    ${LOCALBASE}/linux-sun-jdk${JDK_VERSION}
  .endif

  # workaround to handle both 'zip' and 'tar.gz' distfiles
--- 36,42 ----
  .if defined(NATIVE_BOOTSTRAP)
  JDK14DIR?=    ${LOCALBASE}/jdk${JDK_VERSION}
  .else
! JDK14DIR?=    ${LOCALBASE}/linux-sun-jdk1.4.2
  .endif

  # workaround to handle both 'zip' and 'tar.gz' distfiles




	Brian



More information about the freebsd-java mailing list