Java error.

Gregory Nou gregorynou at altern.org
Fri Dec 2 15:40:59 PST 2005


Mehmet Fatih AKBULUT wrote:
> hi all.
> i tried to install java on my freebsd5.4
> but when installing got the error below.
> any idea how to overcome this error ?
> 
> 
> \
> fi
> /usr/ports/java/jdk15/work/control/build/bsd-i586/gensrc/sun/nio/cs/StandardCharsets.java:226:
> <identifier> expected
> Java HotSpot(TM) Client VM warning: Can't detect initial thread stack
> location
>                ^
> /usr/ports/java/jdk15/work/control/build/bsd-i586/gensrc/sun/nio/cs/StandardCharsets.java:226:
> unclosed character literal
> Java HotSpot(TM) Client VM warning: Can't detect initial thread stack
> location
>                                        ^
> /usr/ports/java/jdk15/work/control/build/bsd-i586/gensrc/sun/nio/cs/StandardCharsets.java:227:
> ')' expected
>     private static final class Aliases
>                          ^
> 
The errors you get are really weird.
Maybe you should check if there isn't a quote (") missing somewhere before.
I'm currently running jdk15 on current, and never had problems with it.
If you still have the problem, could you send me the file 
/usr/ports/java/jdk15/work/control/build/bsd-i586/gensrc/sun/nio/cs/StandardCharsets.java 
?
Could you also tell us which version of linux-jdk you have ?

Cheers,

-- 
Gregory


More information about the freebsd-questions mailing list