Skip site navigation (1) Skip section navigation (2)

Projet Java™ pour FreeBSD : FAQ

Contenu

  1. Existe-t'il un JDK™ 1.3 pour FreeBSD ?
  2. Puis-je utiliser le port Linux du projet Blackdown ?

Les réponses

1. Existe-t'il un JDK™ 1.3 pour FreeBSD ?

Oui. Vous pouvez compiler un JDK FreeBSD natif à partir des sources, ou télécharger des binaires précompilés. Voir la page principale FreeBSD Java pour plus d'informations.

Précédent Haut de page Suivant

2. Puis-je utiliser le port Linux du projet Blackdown ?

Plusieurs personnes ont réussi. Essayez les instructions suivantes : Télécharger l'archive et l'extraire dans un répertoire. Appliquer ensuite le diff suivant :
   --- bin/.java_wrapper.dist      Thu Jun  3 01:14:34 1999
      +++ bin/.java_wrapper   Thu Oct 14 19:17:11 1999
      @@ -31,8 +31,8 @@
      # Resolve symlinks. See 4152645.
      while [ -h "$PRG" ]; do
      ls=`/bin/ls -ld "$PRG"`
      -    link=`/usr/bin/expr "$ls" : '.*-> \(.*\)$'`
      -    if /usr/bin/expr "$link" : '/' > /dev/null; then
      +    link=`/compat/linux/usr/bin/expr "$ls" : '.*-> \(.*\)$'`
      +    if /compat/linux/usr/bin/expr "$link" : '/' > /dev/null; then
      PRG="$link"
      else
      PRG="`/usr/bin/dirname $PRG`/$link"
      @@ -63,7 +63,7 @@
      # Select vm type (if classic vm, also select thread type).
      unset vmtype
      unset ttype
      -DEFAULT_THREADS_FLAG=native
      +DEFAULT_THREADS_FLAG=green
      if [ "x$1" = "x-hotspot" ]; then
      vmtype=hotspot
      ttype=native_threads
      --- jre/bin/.java_wrapper.dist  Thu Jun  3 01:14:34 1999
      +++ jre/bin/.java_wrapper       Thu Oct 14 19:32:06 1999
      @@ -31,8 +31,8 @@
      # Resolve symlinks. See 4152645.
      while [ -h "$PRG" ]; do
      ls=`/bin/ls -ld "$PRG"`
      -    link=`/usr/bin/expr "$ls" : '.*-> \(.*\)$'`
      -    if /usr/bin/expr "$link" : '/' > /dev/null; then
      +    link=`/compat/linux/usr/bin/expr "$ls" : '.*-> \(.*\)$'`
      +    if /compat/linux/usr/bin/expr "$link" : '/' > /dev/null; then
      PRG="$link"
      else
      PRG="`/usr/bin/dirname $PRG`/$link"
      @@ -63,7 +63,7 @@
      # Select vm type (if classic vm, also select thread type).
      unset vmtype
      unset ttype
      -DEFAULT_THREADS_FLAG=native
      +DEFAULT_THREADS_FLAG=green
      if [ "x$1" = "x-hotspot" ]; then
      vmtype=hotspot
      ttype=native_threads

Thanks to Makoto MATSUSHITA (matusita@ics.es.osaka-u.ac.jp)

Précédent Haut de page Suivant