Hello Sam:

     Somebody please help me to resolve this error. Please find error
message in the attachment.
[... snip! ...]

/home/samkraju/OpenJDK/jdk7/build/linux-i586/gensrc/java/nio/charset/CharsetEncoder.java:142:
 cannot find symbol
symbol  : class $replType$
location: class java.nio.charset.CharsetEncoder
    private $replType$ replacement;

This is the /bin/bash versus /bin/dash issue on recent release(s) of Ubuntu.

There are a couple of related bug IDs:

   http://bugs.sun.com/view_bug.do?bug_id=6681798
   https://bugs.launchpad.net/ubuntu/+source/dash/+bug/61463

Also this thread on build-dev (at) openjdk.java.net:

   http://mail.openjdk.java.net/pipermail/build-dev/2008-May/001047.html

The workaround (according to Martin) is 'sudo dpkg-reconfigure dash' and answer 
no

HTH - Tim

Reply via email to