molotov
August 27th, 2004, 11:18
/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.
helium#


I havn't googled around yet, so don't spend too much (if any work) on this. I might try the experimental patchset later to see if that helps. Anyone know of a mythical (never exists) easy fix?

molotov
September 1st, 2004, 11:53
Follow up:
http://lists.freebsd.org/pipermail/freebsd-java/2004-July/002568.html


To fix this.
Do not run 'make clean', but edit
/usr/local/ports/java/jdk14/work/control/build/bsd-i586/gensrc/java/util/CurrencyData.java,
remove the first line and run 'make' again.

For some reason (I don't know what) the first line of this file gets
corrupted sometimes.

Ronald.


Keep in mind, youll probably need to remove the local dir, and make it read /usr/ports/...