Re: error building java/jdk15
Rich Winkel skrev: On Mon, Apr 14, 2008 at 09:31:22AM -0400, Mikhail Teterin wrote: It is trying to build JDK-1.5 using 1.4.2 and failing. I would've recommended installing linux-sun-jdk15, but that will not work any more either: http://www.freebsd.org/cgi/query-pr.cgi?pr=122513 You have to use diablo-jdk15 to build native JDK ports... I ran into the same problem. So I installed diablo-jdk15 and tried to build jdk15 under 7.0-RELEASE. But it seems diablo-jdk15 needs libraries (libc.so.6, libpthread.so.2) which aren't present in 7.0. What to do?? Thanks!! Rich i think those are provided by lthe linux emulations port(s) /Kim ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: error building java/jdk15
Sam Fourman Jr. skrev: I wonder if someone has a work around for this, I have been unable to use my web java apps in FreeBSD 7.0 they worked fine in PC-BSD 1.4 (FreeBSD 6.2) thank you for your help Sam Fourman Jr. actually I solved it by pkg_delete linux_java14 or what it's called :) and then installing the diablo JDK. MATLAB needs the linux one to work, so I installed that afterwards... not sure how pretty that is, since it seems the javac binary is provided by both environments or something like that. /Kim ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to [EMAIL PROTECTED]
error building java/jdk15
I'm trying to install openoffice.org-2, and it needs jdk15 which gives this error for me: /usr/local/linux-sun-jdk1.4.2/bin/jar tf ../../tools/crypto/jgss/jgss_kerberos.jar sun/security/jgss/spi \ /usr/ports/java/jdk15/work/control/build/bsd-i586/tmp/java/.installed.files rm -f -r /usr/ports/java/jdk15/work/control/build/bsd-i586/classes/sun/security/krb5 /bin/cp ../../tools/crypto/jgss/jgss_kerberos.jar /usr/ports/java/jdk15/work/control/build/bsd-i586/classes cd /usr/ports/java/jdk15/work/control/build/bsd-i586/classes; /usr/local/linux-sun-jdk1.4.2/bin/jar xf jgss_kerberos.jar sun/security/krb5 cd /usr/ports/java/jdk15/work/control/build/bsd-i586/classes; rm -f jgss_kerberos.jar /usr/local/linux-sun-jdk1.4.2/bin/jar tf ../../tools/crypto/jgss/jgss_kerberos.jar sun/security/krb5 \ /usr/ports/java/jdk15/work/control/build/bsd-i586/tmp/java/.installed.files rm -f /usr/ports/java/jdk15/work/control/build/bsd-i586/lib/classlist /usr/local/linux-sun-jdk1.4.2/bin/javac -d /usr/ports/java/jdk15/work/control/build/bsd-i586/lib -target 1.5 ../../tools/sharing/AddJsum.java javac: invalid target release: 1.5 Usage: javac options source files where possible options include: -gGenerate all debugging info -g:none Generate no debugging info -g:{lines,vars,source}Generate only some debugging info -nowarn Generate no warnings -verbose Output messages about what the compiler is doing -deprecation Output source locations where deprecated APIs are used -classpath path Specify where to find user class files -sourcepath pathSpecify where to find input source files -bootclasspath path Override location of bootstrap class files -extdirs dirs Override location of installed extensions -d directorySpecify where to place generated class files -encoding encoding Specify character encoding used by source files -source release Provide source compatibility with specified release -target release Generate class files for specific VM version -help Print a synopsis of standard options gmake[4]: *** [/usr/ports/java/jdk15/work/control/build/bsd-i586/lib/classlist] Error 2 gmake[4]: Leaving directory `/usr/ports/java/jdk15/work/j2se/make/java/redist' gmake[3]: *** [optimized] Error 2 gmake[3]: Leaving directory `/usr/ports/java/jdk15/work/j2se/make/java/redist' 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. *** Error code 1 Stop in /usr/ports/java/jdk15. *** Error code 1 Stop in /usr/ports/editors/openoffice.org-2. I'm thinking this could be related to another java already installed on my system? i have: linux-sun-jdk-1.4.2.16 Sun Java Development Kit 1.4 for Linux diablo-jre-1.5.0.07.01_9 Java Runtime Environment 1.5.0_07.01 installed already. This is 7.0-release. Not sure what other information is relevant, just shoot me if I should have provided more:) /Kim ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to [EMAIL PROTECTED]