IcedTea with gcc 4.3 and Minimum JDK version

Andrew John Hughes gnu_andrew at member.fsf.org
Fri Mar 21 14:01:23 PDT 2008


On 21/03/2008, Michael Franz <mvfranz at gmail.com> wrote:
>
>
> >
> >
> >
> > Earlier versions of the same codebase have been used to compile
> > OpenJDK so it seems odd that you'd run into a problem here.  Can you
> > include the line that leads to that error? Which javac does it use?
> >
> >
> >
> > --
> > Andrew :-)
>
> Is this what you are asking for?
> /usr/bin/java -jar /opt/local/share/java/eclipse-ecj.jar -bootclasspath
> :/opt/local/share/java/libgcj-4.3.0.jar:/opt/local/share/java/libgcj-tools-4.3.0.jar::
>  -nowarn -g -d lib/hotspot-tools -source 1.6 -sourcepath
> rt:hotspot-tools:openjdk/jdk/src/share/classes:openjdk/jdk/src/solaris/classes:openjdk/langtools/src/share/classes:openjdk/jaxp/src/share/classes:openjdk/corba/src/share/classes:openjdk/jaxws/src/share/classes:generated
> @hotspot-tools-source-files.txt
>  ----------
> 1. ERROR in
> hotspot-tools/sun/jvmstat/perfdata/monitor/PerfStringMonitor.java
> (at line 103)
>         return new String(b, 0, i, defaultCharset);
>                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> The constructor String(byte[], int, int, Charset) is undefined
>  ----------
>
>

Yes.  What does /usr/bin/java -version give? I'd suggest using gij as
the java (which is what IcedTea should do by default) rather than
mixing the Sun/Apple JDK up with GCJ class libraries.
-- 
Andrew :-)

Document Freedom Day - March 26th
http://documentfreedom.org

Support Free Java!
Contribute to GNU Classpath and the OpenJDK
http://www.gnu.org/software/classpath
http://openjdk.java.net

PGP Key: 94EFD9D8 (http://subkeys.pgp.net)
Fingerprint: F8EF F1EA 401E 2E60 15FA  7927 142C 2591 94EF D9D8



More information about the distro-pkg-dev mailing list