[Error] jdk14 aus ports

Hi, aufgrund einer neuen Festplatte, hab ich am WE FreeBSD 5.2.1 neu aufgesetzt.
Nun wollte ich heute jdk14 installieren.

Ich hab es aus den ports installiert udn die entsprechenden Files von Sun geholt.
Daraufhin hat er nun eine ganze weile gebaut und brach plötzlich mit Fehler ab.

Ich bin leider nicht wissend genug, um den Fehler einzuschätzen, an was es leigen könnte.

Vieleicht kann mit hier von euch jemand helfen :)

Danke schonmal
Tigion

---------------------- schnipp --------------------------------

/usr/ports/java/jdk14/work/control/build/bsd-i586/gensrc/java/util/CurrencyData.java:1: 'class' or 'interface' expected
Java HotSpot(TM) Client VM warning: Can't detect initial thread stack location
^
/usr/ports/java/jdk14/work/control/build/bsd-i586/gensrc/java/util/CurrencyData.java:1: unclosed character literal
Java HotSpot(TM) Client VM warning: Can't detect initial thread stack location
^
2 errors
gmake[4]: *** [.compile.classlist] Error 1
gmake[4]: Leaving directory `/usr/ports/java/jdk14/work/j2se/make/java/java'
gmake[3]: *** [optimized] Error 2
gmake[3]: Leaving directory `/usr/ports/java/jdk14/work/j2se/make/java/java'
gmake[2]: *** [all] Error 1
gmake[2]: Leaving directory `/usr/ports/java/jdk14/work/j2se/make/java'
gmake[1]: *** [all] Error 1
gmake[1]: Leaving directory `/usr/ports/java/jdk14/work/j2se/make'
gmake: *** [j2se-build] Error 2
*** Error code 2

Stop in /usr/ports/java/jdk14.
root@RedThree[jdk14]#>
 
Ich bin eben auf eine Lösung hier im forum gestossen.

Zu finden hier: Workaround

ptarh schrieb:
Für alle, die ein ähnliches Problem haben, oder haben werden, hier ist das workaround:

Workaround:
Robert Corsaro posted the following workaround (subject
//usr/ports/java/jdk14 on 25 March):
> I had the same problem and found the offensive file
>
(/usr/ports/java/jdk14/work/control/build/bsd-i586/gensrc/java/util/Currency
Data.java)
> and deleted the first line, which was :
> Java HotSpot(TM) Client VM warning: Can't detect initial thread stack

This seems to work also with my installation. The compilation continued
successfully afterwards.
I didn't test, if the class CurrencyData is now working correctly.

Ein Auskommentieren der ersten Zeile tut es auch schon.

Gruss Tigion
 
Zurück
Oben