Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 04 Jan 2006 14:03:22 -0500
From:      "Hans C. Kaspersetz" <hans@cyberxdesigns.com>
To:        freebsd-java@freebsd.org
Subject:   Java  JDK15 Port Fails to Make
Message-ID:  <43BC1BFA.7040304@cyberxdesigns.com>

next in thread | raw e-mail | index | archive | help
I am trying to install Java JDK15 from ports and it fails to make.  I am 
trying to build it on: 5.3-RELEASE FreeBSD 5.3-RELEASE #0.  My failure 
is very similar to the failure reported in this post:

http://lists.freebsd.org/pipermail/freebsd-java/2005-April/003763.html

Actually my errors are exactly the same.  I looked through the archives 
and could not find the resolution for this problem.  Please help.  I 
have pasted in my error below.

Hans

-- 
Hans C. Kaspersetz
Cyber X Designs

hans at cyberxdesigns.com
http://www.cyberxdesigns.com

----------------  snip ------------------------------------------

../../../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.
21 errors
12 warnings
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

Stop in /usr/ports/java/jdk15.





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