Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Oct 2005 18:33:42 -0700 (PDT)
From:      Tanya N kessler <audiocollage@sbcglobal.net>
To:        freebsd-java@freebsd.org
Subject:   Re: Help: Install JDK 1.5 on FreeBSD 5.4 AMD64
Message-ID:  <20051027013342.17940.qmail@web80807.mail.yahoo.com>
In-Reply-To: <20051026114759.77140.qmail@web80806.mail.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
O.K., I am back to square one.  I have:

COMPAT_IA32
COMPAT_LINUX32
LINPROCFS

all in kernel.  I have:

linprocfs /usr/compat/linux/proc linprocfs rw 0 0 in
fstab.  I have:

linux_enable="YES" in rc.conf.  I have:

WITH_LIB32 in /etc/make.conf I have:

linux-sun-jdk14 installed and javac works so does java
-version.  I have: 

necessary files needed to build native jdk15 in
/usr/ports/distfiles.

When I try to build native jdk15, I get this:

execv(): Bad address
Error trying to exec
/usr/local/linux-sun-jdk1.4.2/bin/javac.
Check if file exists and permissions are set
correctly.
gmake[3]: *** [.compile.classlist] Error 1
gmake[3]: Leaving directory
`/usr/ports/java/jdk15/work/j2se/make/java/java'
gmake[2]: *** [all] Error 1
gmake[2]: Leaving directory
`/usr/ports/java/jdk15/work/j2se/make/java'
gmake[1]: *** [all] Error 1
gmake[1]: Leaving directory
`/usr/ports/java/jdk15/work/j2se/make'
gmake: *** [j2se-build] Error 2
*** Error code 2

When I try to run the failed command by hand in
/usr/ports/java/jdk15/work/j2se/make/java/java I get
this:

../../../src/share/classes/java/io/ObjectStreamClass.java:869:
warning: non-varargs call of varargs method with
inexact argument type for last parameter;
cast to java.lang.Object for a varargs call
cast to java.lang.Object[] for a non-varargs call and
to suppress this warning
                return cons.newInstance(null);
                                        ^
../../../src/share/classes/java/io/ObjectStreamClass.java:949:
warning: non-varargs call of varargs method with
inexact argument type for last parameter;
cast to java.lang.Object for a varargs call
cast to java.lang.Object[] for a non-varargs call and
to suppress this warning
                readObjectNoDataMethod.invoke(obj,
null);
                                                   ^
../../../src/share/classes/java/io/ObjectStreamClass.java:977:
warning: non-varargs call of varargs method with
inexact argument type for last parameter;
cast to java.lang.Object for a varargs call
cast to java.lang.Object[] for a non-varargs call and
to suppress this warning
                return writeReplaceMethod.invoke(obj,
null);
                                                     
^
../../../src/share/classes/java/io/ObjectStreamClass.java:1006:
warning: non-varargs call of varargs method with
inexact argument type for last parameter;
cast to java.lang.Object for a varargs call
cast to java.lang.Object[] for a non-varargs call and
to suppress this warning
                return readResolveMethod.invoke(obj,
null);
                                                     ^
../../../src/share/classes/sun/misc/ProxyGenerator.java:335:
warning: non-varargs call of varargs method with
inexact argument type for last parameter;
cast to java.lang.Class for a varargs call
cast to java.lang.Class[] for a non-varargs call and
to suppress this warning
            hashCodeMethod =
Object.class.getMethod("hashCode", null);
                                                      
         ^
../../../src/share/classes/sun/misc/ProxyGenerator.java:338:
warning: non-varargs call of varargs method with
inexact argument type for last parameter;
cast to java.lang.Class for a varargs call
cast to java.lang.Class[] for a non-varargs call and
to suppress this warning
            toStringMethod =
Object.class.getMethod("toString", null);
                                                      
         ^
../../../src/share/classes/sun/security/jca/ProviderConfig.java:243:
warning: non-varargs call of varargs method with
inexact argument type for last parameter;
cast to java.lang.Object for a varargs call
cast to java.lang.Object[] for a non-varargs call and
to suppress this warning
                        obj = cons.newInstance(new
String[] { argument });
                                                      
     ^
../../../src/share/classes/javax/xml/transform/TransformerException.java:329:
warning: non-varargs call of varargs method with
inexact argument type for last parameter;
cast to java.lang.Class for a varargs call
cast to java.lang.Class[] for a non-varargs call and
to suppress this warning
                        null);
                        ^
../../../src/share/classes/javax/xml/transform/TransformerException.java:334:
warning: non-varargs call of varargs method with
inexact argument type for last parameter;
cast to java.lang.Object for a varargs call
cast to java.lang.Object[] for a non-varargs call and
to suppress this warning
                    exception = (Throwable)
meth.invoke(exception, null);
                                                      
            ^
../../../src/share/classes/sun/net/www/protocol/http/HttpURLConnection.java:1186:
warning: non-varargs call of varargs method with
inexact argument type for last parameter;
cast to java.lang.Object for a varargs call
cast to java.lang.Object[] for a non-varargs call and
to suppress this warning
                            return
(IOException)ctr.newInstance(args);
                                                      
         ^
../../../src/share/classes/com/sun/jmx/mbeanserver/StandardMetaDataImpl.java:637:
warning: non-varargs call of varargs method with
inexact argument type for last parameter;
cast to java.lang.Object for a varargs call
cast to java.lang.Object[] for a non-varargs call and
to suppress this warning
            result = meth.invoke(instance,null);
                                          ^
../../../src/share/classes/com/sun/jmx/mbeanserver/MBeanInstantiatorImpl.java:162:
warning: non-varargs call of varargs method with
inexact argument type for last parameter;
cast to java.lang.Object for a varargs call
cast to java.lang.Object[] for a non-varargs call and
to suppress this warning
            moi= cons.newInstance(null);
                                  ^
Note: * uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe
operations.
Note: Recompile with -Xlint:unchecked for details.
12 warnings




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20051027013342.17940.qmail>