Re: install both jdk15 and jdk 16 from port
Dan Nelson wrote: In the last episode (May 14), vuthecuong said: do I will have conflict etc problems when install both jdk15 and jdk 16 from ports? Nope; all the jdk ports install into separate directories. There is a javavmwrapper port that installs as /usr/local/bin/java and decides on the best jvm to use based on some environment variables (see the javavm manpage for details). You can always override its choice by setting JAVA_HOME to whichever jvm you want. -- Dan Nelson dnel...@allantgroup.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org Thanks for the response -- View this message in context: http://www.nabble.com/install-both-jdk15-and-jdk-16-from-port-tp23553116p23554700.html Sent from the freebsd-questions mailing list archive at Nabble.com. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
install both jdk15 and jdk 16 from port
do I will have conflict etc problems when install both jdk15 and jdk 16 from ports? regards -- View this message in context: http://www.nabble.com/install-both-jdk15-and-jdk-16-from-port-tp23553116p23553116.html Sent from the freebsd-questions mailing list archive at Nabble.com. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: install both jdk15 and jdk 16 from port
In the last episode (May 14), vuthecuong said: do I will have conflict etc problems when install both jdk15 and jdk 16 from ports? Nope; all the jdk ports install into separate directories. There is a javavmwrapper port that installs as /usr/local/bin/java and decides on the best jvm to use based on some environment variables (see the javavm manpage for details). You can always override its choice by setting JAVA_HOME to whichever jvm you want. -- Dan Nelson dnel...@allantgroup.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: jdk15
Hello Kaline, hi there Ivan... What I did was to install the native freebsd jdk, that is diablo-jdk (port java/diablo-jdk) and then I installed java/jdk-15 port. i'll try that. thanks... will report how it went... after waiting for about 12 hours of compiling i got this awesome crap: 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 I am curious what exactly are your errors? I received some problems in compiling Object.java if I remember correctly. i guess the same. not much of a java fan myself - i just need it for other stuff to work. the offending class seems to be: /usr/ports/java/jdk15/work/control/build/bsd-i586/gensrc/sun/nio/cs/StandardCharsets.java and something about non-varargs call of varargs method... whatever that means... Regards Ivan -- Tangra Mega Rock: http://www.radiotangra.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: jdk15
Hello Kaline, hi there Ivan... What I did was to install the native freebsd jdk, that is diablo-jdk (port java/diablo-jdk) and then I installed java/jdk-15 port. i'll try that. thanks... will report how it went... didn't do much. it installed very quickly but after i run the make in the jdk15 port again i got the same errors. not really sure about those arguments calls/methods -- Tangra Mega Rock: http://www.radiotangra.com wasn't tangra a rock band in the 80's?! ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-java To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: jdk15
Hello On 6/29/07, kalin mintchev [EMAIL PROTECTED] wrote: What I did was to install the native freebsd jdk, that is diablo-jdk (port java/diablo-jdk) and then I installed java/jdk-15 port. i'll try that. thanks... will report how it went... didn't do much. it installed very quickly I do not know how you installed diablo-jdk it but it definitely takes time when installed from ports. First it asks you to download the sources for diablo-jdk from http://www.freebsdfoundation.org/downloads/java.shtml. Due to licensing issues you have to manually download it to /usr/ports/distfiles after you accept the license agreement and rerun 'make install' for diablo-jdk port. I myself have been using diablo-jdk on my developement laptop and it is fully-operational JDK. If you require some JDK, diablo-jdk will do fine. If you require specifically Sun JDK, there are more steps. but after i run the make in the jdk15 port again i got the same errors. I was able to roughly recall my memories on how I installed sun-jdk. First, I started java/jdk-15 port (sun jdk) and it asked me to manually download to /usr/ports/distfiles java sources from sun's site. After I fetched them and rerun the installation for java/jdk-15, it installed some of its dependencies and failed at installing java/linux-sun-jdk-15, again asking me to fetch some file from sun's site. This time the file was the java precompiled binaries for linux and after I fetched it, the installation process for java/jdk-15 was able to start the installation for java/linux-sun-jdk-15. I did not monitor the process closely from now on but it failed again. Then I simply installed java/diablo-jdk-15 and it went fine. Then I returned to java/jdk-15, cleaned the port, repeated the installation and it succeeded. not really sure about those arguments calls/methods If you can, please paste them here. I am curious about them. -- Tangra Mega Rock: http://www.radiotangra.com wasn't tangra a rock band in the 80's?! Yes, it was. Then there as a Bulagrian radio with the same name, which now an Internet radio and broadcats at the address above. Regards Ivan -- Tangra Mega Rock: http://www.radiotangra.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: jdk15
I do not know how you installed diablo-jdk it but it definitely takes time when installed from ports. First it asks you to download the sources for diablo-jdk from http://www.freebsdfoundation.org/downloads/java.shtml. Due to licensing issues you have to manually download it to /usr/ports/distfiles after you accept the license agreement and rerun 'make install' for diablo-jdk port. yea... i did all that stuff for both ports too. all the downloads, etc. i've been using freebsd as main os on my laptops for 5 years now - have never used windows. and java has historically been a pain in the ass to set up on freebsd. right now i just wanted it to use it for openoffice. the thing is after i did diablo there is a java vm installed but the openoffice i got on this install using the pkg_add is complaining about it. the setup script crashes and hangs. of course there is a large log on it but i also have a day job... one thing i did forget about is to clean the jdk15 port. stupid. anyway it's doing it now again how long did it take to build on your machine? not really sure about those arguments calls/methods If you can, please paste them here. I am curious about them. if it happens again i'll send you the whole output... wasn't tangra a rock band in the 80's?! Yes, it was. Then there as a Bulagrian radio with the same name, which now an Internet radio and broadcats at the address above. yea... i saw that. interesting. is the radio out of bulgaria? Regards Ivan -- Tangra Mega Rock: http://www.radiotangra.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-java To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: jdk15
On 6/29/07, kalin mintchev [EMAIL PROTECTED] wrote: yea... i did all that stuff for both ports too. all the downloads, etc. i've been using freebsd as main os on my laptops for 5 years now - have never used windows. and java has historically been a pain in the ass to set up on freebsd. Well, except the problems with linux-sun-jdk, i found diablo-jdk easy to install. right now i just wanted it to use it for openoffice. the thing is after i did diablo there is a java vm installed So you installed diablo-jdk successfully, right? but the openoffice i got on this install using the pkg_add is complaining about it. the setup script crashes and hangs. of course there is a large log on it but i also have a day job... I installed openoffice from ports as well, it compiled for 12 hours :) If you have diablo-jdk just try to install it from ports as well. I myself prefer ports to packages. one thing i did forget about is to clean the jdk15 port. stupid. anyway it's doing it now again how long did it take to build on your machine? I do not remember :) not really sure about those arguments calls/methods If you can, please paste them here. I am curious about them. if it happens again i'll send you the whole output... wasn't tangra a rock band in the 80's?! Yes, it was. Then there as a Bulagrian radio with the same name, which now an Internet radio and broadcats at the address above. yea... i saw that. interesting. is the radio out of bulgaria? Yes, it is, I am listening to it from US. Regards Ivan -- Tangra Mega Rock: http://www.radiotangra.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
gmake in jail from ports linking to ld-linux.so.2 ??? Re: building jdk15 in a jail -- __mb_cur_max Undefined Symbol
On Mar 3, 2007, at 5:18 PM, Bill Moran wrote: On Mar 3, 2007, at 4:01 PM, Chad Leigh -- Shire.Net LLC wrote: Hi I am trying to build jdk15 inside my jail with PREFIX set to /usr/ public (At one time I successfully got jdk 1.4 to build after much hacking) I have the option for builing inside a jail set. We get to the point where the linux java is installed and it is actually building the jdk # Start of jdk build /libexec/ld-elf.so.1: /usr/local/lib/libiconv.so.3: Undefined symbol __mb_cur_max *** Error code 1 Stop in /usr/ports/java/jdk15. # I am not exactly sure what it is doing at this point in order to hack round it.libiconv a fresh install from ports Turns out that the issue is that gmake cannot run. I have not figured out why yet, having removed and reinstalled libiconv and gmake and getting the same error. But it is not java related. I'll redirect this to -questions If anyone has an idea on why gmake would fail as above on a fresh install, 6.2-RELEASE from a day or two ago, I would appreciate it. Please CC me as I am not currently subscribed to -questions, though I am on -java Not a direct answer to your question, but when I needed to do this a few months ago, I just did a make package on my workstation, then shipped the package up to the jail system and installed it with pkg_add. Doesn't solve the problem, but if you're in a pinch, it's a handy workaround. Bill -- Thanks! That is an idea too. Maybe I will do that. - However, I want to figure why gmake is not working in the jail when I install from ports. Using the same directory tree on the base machine it works, but not in the jail. gmake gives the error /libexec/ld-elf.so.1: /usr/local/lib/libiconv.so.3: Undefined symbol __mb_cur_max when built and run inside the jail but not when built and run pn the base machine. doing an ldd on the base machine shows # ldd /usr/local/bin/gmake /usr/local/bin/gmake: libintl.so.6 = /usr/local/lib/libintl.so.6 (0x8809b000) libiconv.so.3 = /usr/local/lib/libiconv.so.3 (0x880a4000) libc.so.6 = /lib/libc.so.6 (0x88191000) # but in the jail it shows # ldd /usr/public/bin/gmake /usr/public/bin/gmake: libintl.so.6 = /usr/local/lib/libintl.so.6 (0x8809b000) libiconv.so.3 = /usr/local/lib/libiconv.so.3 (0x880a4000) libc.so.6 = /usr/local/lib/libc.so.6 (0x88191000) ld-linux.so.2 (0x882ae000) # and I can't see why this would be the case. Both are building from the same port, same os, everything (indeed same machine) Any ideas appreciated! I am trying things and googling as well etc but I appreciate insight others may have on this. Has been stumping me for several hours today already :-( Please CC on any responses for now. I am resubscribing to -questions but don't know how long it will take to come back at me thanks Chad --- Chad Leigh -- Shire.Net LLC Your Web App and Email hosting provider chad at shire.net ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: building jdk15 in a jail -- __mb_cur_max Undefined Symbol
On Mar 3, 2007, at 4:01 PM, Chad Leigh -- Shire.Net LLC wrote: Hi I am trying to build jdk15 inside my jail with PREFIX set to /usr/ public (At one time I successfully got jdk 1.4 to build after much hacking) I have the option for builing inside a jail set. We get to the point where the linux java is installed and it is actually building the jdk # Start of jdk build /libexec/ld-elf.so.1: /usr/local/lib/libiconv.so.3: Undefined symbol __mb_cur_max *** Error code 1 Stop in /usr/ports/java/jdk15. # I am not exactly sure what it is doing at this point in order to hack round it.libiconv a fresh install from ports Turns out that the issue is that gmake cannot run. I have not figured out why yet, having removed and reinstalled libiconv and gmake and getting the same error. But it is not java related. I'll redirect this to -questions If anyone has an idea on why gmake would fail as above on a fresh install, 6.2-RELEASE from a day or two ago, I would appreciate it. Please CC me as I am not currently subscribed to -questions, though I am on -java Sorry Chad --- Chad Leigh -- Shire.Net LLC Your Web App and Email hosting provider chad at shire.net ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: building jdk15 in a jail -- __mb_cur_max Undefined Symbol
On Mar 3, 2007, at 4:01 PM, Chad Leigh -- Shire.Net LLC wrote: Hi I am trying to build jdk15 inside my jail with PREFIX set to /usr/ public (At one time I successfully got jdk 1.4 to build after much hacking) I have the option for builing inside a jail set. We get to the point where the linux java is installed and it is actually building the jdk # Start of jdk build /libexec/ld-elf.so.1: /usr/local/lib/libiconv.so.3: Undefined symbol __mb_cur_max *** Error code 1 Stop in /usr/ports/java/jdk15. # I am not exactly sure what it is doing at this point in order to hack round it.libiconv a fresh install from ports Turns out that the issue is that gmake cannot run. I have not figured out why yet, having removed and reinstalled libiconv and gmake and getting the same error. But it is not java related. I'll redirect this to -questions If anyone has an idea on why gmake would fail as above on a fresh install, 6.2-RELEASE from a day or two ago, I would appreciate it. Please CC me as I am not currently subscribed to -questions, though I am on -java Not a direct answer to your question, but when I needed to do this a few months ago, I just did a make package on my workstation, then shipped the package up to the jail system and installed it with pkg_add. Doesn't solve the problem, but if you're in a pinch, it's a handy workaround. -- Bill Moran http://www.potentialtech.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
gmake in jail from ports linking to ld-linux.so.2 ??? Re: building jdk15 in a jail -- __mb_cur_max Undefined Symbol
On Mar 3, 2007, at 5:18 PM, Bill Moran wrote: On Mar 3, 2007, at 4:01 PM, Chad Leigh -- Shire.Net LLC wrote: Hi I am trying to build jdk15 inside my jail with PREFIX set to /usr/ public (At one time I successfully got jdk 1.4 to build after much hacking) I have the option for builing inside a jail set. We get to the point where the linux java is installed and it is actually building the jdk # Start of jdk build /libexec/ld-elf.so.1: /usr/local/lib/libiconv.so.3: Undefined symbol __mb_cur_max *** Error code 1 Stop in /usr/ports/java/jdk15. # I am not exactly sure what it is doing at this point in order to hack round it.libiconv a fresh install from ports Turns out that the issue is that gmake cannot run. I have not figured out why yet, having removed and reinstalled libiconv and gmake and getting the same error. But it is not java related. I'll redirect this to -questions If anyone has an idea on why gmake would fail as above on a fresh install, 6.2-RELEASE from a day or two ago, I would appreciate it. Please CC me as I am not currently subscribed to -questions, though I am on -java Not a direct answer to your question, but when I needed to do this a few months ago, I just did a make package on my workstation, then shipped the package up to the jail system and installed it with pkg_add. Doesn't solve the problem, but if you're in a pinch, it's a handy workaround. Bill -- Thanks! That is an idea too. Maybe I will do that. - However, I want to figure why gmake is not working in the jail when I install from ports. Using the same directory tree on the base machine it works, but not in the jail doing an ldd on the base machine shows # ldd /usr/local/bin/gmake /usr/local/bin/gmake: libintl.so.6 = /usr/local/lib/libintl.so.6 (0x8809b000) libiconv.so.3 = /usr/local/lib/libiconv.so.3 (0x880a4000) libc.so.6 = /lib/libc.so.6 (0x88191000) # but in the jail it shows # ldd /usr/public/bin/gmake /usr/public/bin/gmake: libintl.so.6 = /usr/local/lib/libintl.so.6 (0x8809b000) libiconv.so.3 = /usr/local/lib/libiconv.so.3 (0x880a4000) libc.so.6 = /usr/local/lib/libc.so.6 (0x88191000) ld-linux.so.2 (0x882ae000) # and I can't see why this would be the case. Both are building from the same port, same os, everything (indeed same machine) Any ideas appreciated! I am trying things and googling as well etc but I appreciate insight others may have on this. Has been stumping me for several hours today already :-( Please CC on any responses for now. I am resubscribing to -questions but don't know how long it will take to come back at me thanks Chad --- Chad Leigh -- Shire.Net LLC Your Web App and Email hosting provider chad at shire.net ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
JDK15 port installation
I'm trying to install the JDK15 port (need a JVM for gallery remote), but it seems to crash on the mozilla dependancy. Here is the output where it crashes: c++ -o nsType1.o -c -DOSTYPE=\FreeBSD6\ -DOSARCH=\FreeBSD\ -DHAVE_DEPENDENT_LIBS -I../.. -I./.. -I../../../dist/include/xpcom -I../../../dist/include/string -I../../../dist/include/widget -I../../../dist/include/pref -I../../../dist/include/caps -I../../../dist/include/locale -I../../../dist/include/uconv -I../../../dist/include/view -I../../../dist/include/necko -I../../../dist/include/imglib2 -I../../../dist/include/unicharutil -I../../../dist/include/gfx -I../../../dist/include -I/usr/local/include/nspr -I/usr/local/include -I/usr/local/include -I/usr/include -I. -I/usr/local/include/freetype2 -I/usr/local/include -I/usr/X11R6/include -fPIC -I/usr/X11R6/include -I/usr/X11R6/include -I/usr/X11R6/include -fno-rtti -fno-exceptions -Wall -Wconversion -Wpointer-arith -Wcast-align -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wno-long-long -O2 -fno-strict-aliasing -pipe -fshort-wchar -pipe -DNDEBUG -DTRIMMED -O -DXTHREADS -DXUSE_MTSAFE_API -I/usr/local/include/gtk-2.0 -I/usr/local/lib/gtk-2.0/include -I/usr/local/include/atk-1.0 -I/usr/local/include/cairo -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/X11R6/include -I/usr/local/include/freetype2 -I/usr/local/include -I/usr/X11R6/include -I/usr/X11R6/include -I/usr/X11R6/include -DMOZILLA_CLIENT -include ../../../mozilla-config.h nsType1.cpp nsType1.cpp:371: error: invalid conversion from `int (*)(const FT_Vector*, void*)' to `int (*)(FT_Vector*, void*)' nsType1.cpp:371: error: invalid conversion from `int (*)(const FT_Vector*, void*)' to `int (*)(FT_Vector*, void*)' nsType1.cpp:371: error: invalid conversion from `int (*)(const FT_Vector*, const FT_Vector*, void*)' to `int (*)(FT_Vector*, FT_Vector*, void*)' nsType1.cpp:371: error: invalid conversion from `int (*)(const FT_Vector*, const FT_Vector*, const FT_Vector*, void*)' to `int (*)(FT_Vector*, FT_Vector*, FT_Vector*, void*)' gmake[4]: *** [nsType1.o] Error 1 gmake[4]: Leaving directory `/usr/ports/www/mozilla/work/mozilla/gfx/src/ps' gmake[3]: *** [libs] Error 2 gmake[3]: Leaving directory `/usr/ports/www/mozilla/work/mozilla/gfx/src' gmake[2]: *** [libs] Error 2 gmake[2]: Leaving directory `/usr/ports/www/mozilla/work/mozilla/gfx' gmake[1]: *** [tier_9] Error 2 gmake[1]: Leaving directory `/usr/ports/www/mozilla/work/mozilla' gmake: *** [default] Error 2 *** Error code 2 Stop in /usr/ports/www/mozilla. *** Error code 1 Stop in /usr/ports/www/mozilla. *** Error code 1 Stop in /usr/ports/java/jdk15. *** Error code 1 Stop in /usr/ports/java/jdk15. Can anybody tell me where I can find info on how to solve this problem or provide another option to get gallery remote to work? Thanks in advance, FYI, port distribution is up to date. Alain ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: JDK15 port installation
In the last episode (Jan 18), Alain G. Fabry said: I'm trying to install the JDK15 port (need a JVM for gallery remote), but it seems to crash on the mozilla dependancy. Here is the output where it crashes: Try the diablo-jdk15 port instead; it's a precompiled package. -- Dan Nelson [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
linux-sun-jdk15, Syntax error: word unexpected (expecting ))
I'm trying to install jdk15 because I need it to access the ilom on some Sun x4100 boxes. Has anyone else seen or know how to handle this error message? I tried both bash and tcsh with a clean env just to see if that might be mucking something up. No luck... # make -D DISABLE_VULNERABILITIES extract == Warning: This JDK may be unstable. You are advised to use the native FreeBSD 1.5 JDK, in ports/java/jdk15. This Java VM will attempt to obtain some system information by accessing files in linux's procfs. You must install the Linux emulation procfs filesystem for this to work correctly. The JVM will exhibit various problems otherwise. This can be accomplished by adding the following line to your /etc/fstab file: linprocfs /compat/linux/proc linprocfs rw 0 0 and then, as root, executing the commands: kldload linprocfs mount /compat/linux/proc == === Extracting for linux-sun-jdk-1.5.0.09 = MD5 Checksum OK for jdk-1_5_0_09-linux-i586.bin. = SHA256 Checksum OK for jdk-1_5_0_09-linux-i586.bin. === linux-sun-jdk-1.5.0.09 depends on file: /compat/linux/etc/fedora-release - found /usr/ports/java/linux-sun-jdk15/work/install.sfx: 1: Syntax error: word unexpected (expecting )) *** Error code 2 Stop in /usr/ports/java/linux-sun-jdk15. I'm running FreeBSD 6.1-RELEASE-p10 and I already have linux-firefox-2.0 working well with linux-sun-jdk-1.4.2.12. And as of yesterday, all my ports are current. Any suggestions? -- Andy Harrison ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: linux-sun-jdk15, Syntax error: word unexpected (expecting ))
On Wed, 22 Nov 2006 10:07:44 -0500 Andy Harrison wrote: I'm trying to install jdk15 because I need it to access the ilom on some Sun x4100 boxes. Has anyone else seen or know how to handle this error message? I tried both bash and tcsh with a clean env just to see if that might be mucking something up. No luck... # make -D DISABLE_VULNERABILITIES extract == Warning: This JDK may be unstable. You are advised to use the native FreeBSD 1.5 JDK, in ports/java/jdk15. This Java VM will attempt to obtain some system information by accessing files in linux's procfs. You must install the Linux emulation procfs filesystem for this to work correctly. The JVM will exhibit various problems otherwise. This can be accomplished by adding the following line to your /etc/fstab file: linprocfs /compat/linux/proc linprocfs rw 0 0 and then, as root, executing the commands: kldload linprocfs mount /compat/linux/proc == === Extracting for linux-sun-jdk-1.5.0.09 = MD5 Checksum OK for jdk-1_5_0_09-linux-i586.bin. = SHA256 Checksum OK for jdk-1_5_0_09-linux-i586.bin. === linux-sun-jdk-1.5.0.09 depends on file: /compat/linux/etc/fedora-release - found /usr/ports/java/linux-sun-jdk15/work/install.sfx: 1: Syntax error: word unexpected (expecting )) *** Error code 2 Stop in /usr/ports/java/linux-sun-jdk15. I'm running FreeBSD 6.1-RELEASE-p10 and I already have linux-firefox-2.0 working well with linux-sun-jdk-1.4.2.12. And as of yesterday, all my ports are current. Any suggestions? You didn't mention if by a chance you did follow those instructions about linprocfs... WBR -- Boris Samorodov (bsam) Research Engineer, http://www.ipt.ru Telephone Internet SP FreeBSD committer, http://www.FreeBSD.org The Power To Serve ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: linux-sun-jdk15, Syntax error: word unexpected (expecting ))
On 11/22/06, Boris Samorodov [EMAIL PROTECTED] wrote: You didn't mention if by a chance you did follow those instructions about linprocfs... Yes, it's mounted. # grep lin /etc/fstab linprocfs /compat/linux/proc linprocfs rw 0 0 # mount | grep lin linprocfs on /usr/compat/linux/proc (linprocfs, local) -- Andy Harrison ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: linux-sun-jdk15, Syntax error: word unexpected (expecting ))
On Wed, 22 Nov 2006 10:07:44 -0500 Andy Harrison wrote: I'm trying to install jdk15 because I need it to access the ilom on some Sun x4100 boxes. Has anyone else seen or know how to handle this error message? I tried both bash and tcsh with a clean env just to see if that might be mucking something up. No luck... # make -D DISABLE_VULNERABILITIES extract == Warning: This JDK may be unstable. You are advised to use the native FreeBSD 1.5 JDK, in ports/java/jdk15. This Java VM will attempt to obtain some system information by accessing files in linux's procfs. You must install the Linux emulation procfs filesystem for this to work correctly. The JVM will exhibit various problems otherwise. This can be accomplished by adding the following line to your /etc/fstab file: linprocfs /compat/linux/proc linprocfs rw 0 0 and then, as root, executing the commands: kldload linprocfs mount /compat/linux/proc == === Extracting for linux-sun-jdk-1.5.0.09 = MD5 Checksum OK for jdk-1_5_0_09-linux-i586.bin. = SHA256 Checksum OK for jdk-1_5_0_09-linux-i586.bin. === linux-sun-jdk-1.5.0.09 depends on file: Where did you get the version 1.5.0.09? I checked out cvsweb, and there is 1.5.0.07. /compat/linux/etc/fedora-release - found /usr/ports/java/linux-sun-jdk15/work/install.sfx: 1: Syntax error: word unexpected (expecting )) *** Error code 2 Stop in /usr/ports/java/linux-sun-jdk15. I'm running FreeBSD 6.1-RELEASE-p10 and I already have linux-firefox-2.0 working well with linux-sun-jdk-1.4.2.12. And as of yesterday, all my ports are current. Any suggestions? WBR -- Boris Samorodov (bsam) Research Engineer, http://www.ipt.ru Telephone Internet SP FreeBSD committer, http://www.FreeBSD.org The Power To Serve ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: linux-sun-jdk15, Syntax error: word unexpected (expecting ))
On 11/22/06, Boris Samorodov [EMAIL PROTECTED] wrote: Where did you get the version 1.5.0.09? I checked out cvsweb, and there is 1.5.0.07. Doh! Sorry... totally spaced out. I forgot that last month I had updated the Makefile to try to use the new version since 1.5.0.07 can no longer be obtained from the Sun website. # diff old.Makefile Makefile [EMAIL PROTECTED]:/usr/ports/java/linux-sun-jdk15] 5c5 # $FreeBSD: /repoman/r/pcvs/ports/java/linux-sun-jdk15/Makefile,v 1.21 2006/06/13 19:51:13 glewis Exp $ --- # $FreeBSD: ports/java/linux-sun-jdk15/Makefile,v 1.21 2006/06/13 19:51:13 glewis Exp $ 10c10 PORTEPOCH=2 --- #PORTEPOCH= 2 35c35 JDK_REVISION= 07 --- JDK_REVISION= 09 So anyway, probably not a good question for this list ;) -- Andy Harrison ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
ports/java/jdk15
Hello All, Trying to build java 1.5.0 and it looks like it's needs linux java 1.4.2? is this right? === linux-sun-jdk-1.4.2.12 You must manually fetch the J2SE SDK self-extracting file for the Linux platform (j2sdk-1_4_2_12-linux-i586.bin) from http://javashoplm.sun.com/ECom/docs/Welcome.jsp?StoreId=22PartDetailId=j2sdk-1.4.2_12-oth-JPRSiteId=JSCTransactionId=noreg, place it in /usr/ports/distfiles and then run make again. *** Error code 1 Stop in /usr/ports/java/linux-sun-jdk14. *** Error code 1 Stop in /usr/ports/java/jdk15. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ports/java/jdk15
B. Cook wrote: Hello All, Trying to build java 1.5.0 and it looks like it's needs linux java 1.4.2? is this right? === linux-sun-jdk-1.4.2.12 You must manually fetch the J2SE SDK self-extracting file for the Linux platform (j2sdk-1_4_2_12-linux-i586.bin) from http://javashoplm.sun.com/ECom/docs/Welcome.jsp?StoreId=22PartDetailId=j2sdk-1.4.2_12-oth-JPRSiteId=JSCTransactionId=noreg, place it in /usr/ports/distfiles and then run make again. *** Error code 1 Stop in /usr/ports/java/linux-sun-jdk14. *** Error code 1 Stop in /usr/ports/java/jdk15. Yes, that's right. jdk14 is needed to compile jdk15, welcome to the world of Java ;) Because of license issues you have to fetch the linux jdk14 binary as well as some distfiles required by jdk15 manually as indicated above. However you don't have to build jdk15 as there is an official FreeBSD binary available! See: http://docs.freebsd.org/cgi/mid.cgi?44343C8E.2050707 Just install java/diablo-jdk15 and it will install the binary --jona ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ports/java/jdk15
On 07/09/2006 18:05, B. Cook wrote: Hello All, Trying to build java 1.5.0 and it looks like it's needs linux java 1.4.2? is this right? Yes, jdk port needs java tools to build itself, it uses precompiled linux binary (linux-sun-jdk14) for the first time. Note you can use diablo-jdk15 or diablo-jre15 to get precompiled FreeBSD binaries. Regards, Karol -- Karol Kwiatkowski freebsd at orchid dot homeunix dot org OpenPGP: http://www.orchid.homeunix.org/carlos/gpg/0x06E09309.asc signature.asc Description: OpenPGP digital signature
Re: ports/java/jdk15
Jona Joachim wrote: B. Cook wrote: Hello All, Trying to build java 1.5.0 and it looks like it's needs linux java 1.4.2? is this right? === linux-sun-jdk-1.4.2.12 You must manually fetch the J2SE SDK self-extracting file for the Linux platform (j2sdk-1_4_2_12-linux-i586.bin) from http://javashoplm.sun.com/ECom/docs/Welcome.jsp?StoreId=22PartDetailId=j2sdk-1.4.2_12-oth-JPRSiteId=JSCTransactionId=noreg, place it in /usr/ports/distfiles and then run make again. *** Error code 1 Stop in /usr/ports/java/linux-sun-jdk14. *** Error code 1 Stop in /usr/ports/java/jdk15. Yes, that's right. jdk14 is needed to compile jdk15, welcome to the world of Java ;) Because of license issues you have to fetch the linux jdk14 binary as well as some distfiles required by jdk15 manually as indicated above. However you don't have to build jdk15 as there is an official FreeBSD binary available! See: http://docs.freebsd.org/cgi/mid.cgi?44343C8E.2050707 Just install java/diablo-jdk15 and it will install the binary --jona So if I just wanted a java binary.. I could also just install the java/diablo-jre15 :) (I'm trying that route.. ) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ports/java/jdk15
B. Cook wrote: Hello All, Trying to build java 1.5.0 and it looks like it's needs linux java 1.4.2? is this right? === linux-sun-jdk-1.4.2.12 You must manually fetch the J2SE SDK self-extracting file for the Linux platform (j2sdk-1_4_2_12-linux-i586.bin) from http://javashoplm.sun.com/ECom/docs/Welcome.jsp?StoreId=22PartDetailId=j2sdk-1.4.2_12-oth-JPRSiteId=JSCTransactionId=noreg, place it in /usr/ports/distfiles and then run make again. *** Error code 1 Stop in /usr/ports/java/linux-sun-jdk14. *** Error code 1 Stop in /usr/ports/java/jdk15. Yes, it uses linux-jdk to build a native one from the sources. -- Cheers, Gabor ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ports/java/jdk15
B. Cook wrote: Jona Joachim wrote: B. Cook wrote: Hello All, Trying to build java 1.5.0 and it looks like it's needs linux java 1.4.2? is this right? === linux-sun-jdk-1.4.2.12 You must manually fetch the J2SE SDK self-extracting file for the Linux platform (j2sdk-1_4_2_12-linux-i586.bin) from http://javashoplm.sun.com/ECom/docs/Welcome.jsp?StoreId=22PartDetailId=j2sdk-1.4.2_12-oth-JPRSiteId=JSCTransactionId=noreg, place it in /usr/ports/distfiles and then run make again. *** Error code 1 Stop in /usr/ports/java/linux-sun-jdk14. *** Error code 1 Stop in /usr/ports/java/jdk15. Yes, that's right. jdk14 is needed to compile jdk15, welcome to the world of Java ;) Because of license issues you have to fetch the linux jdk14 binary as well as some distfiles required by jdk15 manually as indicated above. However you don't have to build jdk15 as there is an official FreeBSD binary available! See: http://docs.freebsd.org/cgi/mid.cgi?44343C8E.2050707 Just install java/diablo-jdk15 and it will install the binary --jona So if I just wanted a java binary.. I could also just install the java/diablo-jre15 That depends on what you need. The JRE (Java Runtime Environment) comes with the Java Virtual Machine and standard libraries: everything you need to run Java binaries. However, if you want to want to compile Java applications from source you will need the JDK (Java Development Kit) which comes with the JRE + the javac compiler and everything else you need to create Java bytecode. --jona ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
jdk15
Hi again And thanks for the advice on installing jdk... but can you point me in the direction of where to get the installers if I dont go about using the port to install. I had tried jdk14, but its not for amd64. I also read that OOo needs jdk14. Is this true? Having said that I would still like to get jdk15 installed for use with some jinit apps. Thanks Eoghan ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: jdk15
eoghan wrote: Hi again And thanks for the advice on installing jdk... but can you point me in the direction of where to get the installers if I dont go about using the port to install. I had tried jdk14, but its not for amd64. I also read that OOo needs jdk14. Is this true? Having said that I would still like to get jdk15 installed for use with some jinit apps. Thanks Eoghan trisha% pwd /usr/ports/editors/openoffice.org-2.0 trisha% grep JAVA_VERSION Makefile JAVA_VERSION= 1.4+ (OOo can use 1.4 or 1.5) A quick google using freebsd java would've gotten you http://www.freebsdfoundation.org/downloads/java.shtml for JDK packages HTH, Micah ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: jdk15
On 23 Jul 2006, at 17:13, Micah wrote: eoghan wrote: Hi again And thanks for the advice on installing jdk... but can you point me in the direction of where to get the installers if I dont go about using the port to install. I had tried jdk14, but its not for amd64. I also read that OOo needs jdk14. Is this true? Having said that I would still like to get jdk15 installed for use with some jinit apps. Thanks Eoghan trisha% pwd /usr/ports/editors/openoffice.org-2.0 trisha% grep JAVA_VERSION Makefile JAVA_VERSION= 1.4+ (OOo can use 1.4 or 1.5) A quick google using freebsd java would've gotten you http:// www.freebsdfoundation.org/downloads/java.shtml for JDK packages HTH, Micah Thanks for that Micah. Installed amd64 package from that foundation. Eoghan ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
seeking advice on building jdk15
Hi gang. I'm running FreeBSD 5.4-STABLE and want to run OpenOffice but I discovered I needed Java first. I updated my port tree and followed the port instructions to manually download the ingredients from Sun and store them in /usr/ports/distfiles: bsd-jdk15-patches-3.tar.bz2 jdk-1_5_0-bin-scsl.zip jdk-1_5_0-src-scsl.zip j2sdk-1_4_2_11-linux-i586.bin After much compilin' activity I woke up this morning with a failed build. It ended with: - ../../../src/share/classes/com/sun/jmx/mbeanserver/MBeanInstantiatorImpl.java:162: warning: non-varargs call of varargs method with inexact argument type forlast 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. - The full error output is attached. Peter __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com Java HotSpot(TM) Client VM warning: Can't detect initial thread stack location /usr/ports/java/jdk15/work/control/build/bsd-i586/gensrc/sun/nio/cs/StandardCharsets.java:226: identifier expected Java HotSpot(TM) Client VM warning: Can't detect initial thread stack location ^ /usr/ports/java/jdk15/work/control/build/bsd-i586/gensrc/sun/nio/cs/StandardCharsets.java:226: unclosed character literal Java HotSpot(TM) Client VM warning: Can't detect initial thread stack location ^ /usr/ports/java/jdk15/work/control/build/bsd-i586/gensrc/sun/nio/cs/StandardCharsets.java:227: ')' expected private static final class Aliases ^ /usr/ports/java/jdk15/work/control/build/bsd-i586/gensrc/sun/nio/cs/StandardCharsets.java:389: identifier expected Java HotSpot(TM) Client VM warning: Can't detect initial thread stack location ^ /usr/ports/java/jdk15/work/control/build/bsd-i586/gensrc/sun/nio/cs/StandardCharsets.java:389: unclosed character literal Java HotSpot(TM) Client VM warning: Can't detect initial thread stack location ^ /usr/ports/java/jdk15/work/control/build/bsd-i586/gensrc/sun/nio/cs/StandardCharsets.java:390: ')' expected private static final class Classes ^ /usr/ports/java/jdk15/work/control/build/bsd-i586/gensrc/sun/nio/cs/StandardCharsets.java:429: identifier expected Java HotSpot(TM) Client VM warning: Can't detect initial thread stack location ^ /usr/ports/java/jdk15/work/control/build/bsd-i586/gensrc/sun/nio/cs/StandardCharsets.java:429: unclosed character literal Java HotSpot(TM) Client VM warning: Can't detect initial thread stack location ^ /usr/ports/java/jdk15/work/control/build/bsd-i586/gensrc/sun/nio/cs/StandardCharsets.java:430: ')' expected private static final class Cache ^ /usr/ports/java/jdk15/work/control/build/bsd-i586/gensrc/sun/nio/cs/StandardCharsets.java:226: cannot find symbol symbol : class TM location: class sun.nio.cs.StandardCharsets Java HotSpot(TM) Client VM warning: Can't detect initial thread stack location ^ /usr/ports/java/jdk15/work/control/build/bsd-i586/gensrc/sun/nio/cs/StandardCharsets.java:226: cannot find symbol symbol : class Java location: class sun.nio.cs.StandardCharsets Java HotSpot(TM) Client VM warning: Can't detect initial thread stack location ^ /usr/ports/java/jdk15/work/control/build/bsd-i586/gensrc/sun/nio/cs/StandardCharsets.java:389: cannot find symbol symbol : class TM location: class sun.nio.cs.StandardCharsets Java HotSpot(TM) Client VM warning: Can't detect initial thread stack location ^ /usr/ports/java/jdk15/work/control/build/bsd-i586/gensrc/sun/nio/cs/StandardCharsets.java:389: cannot find symbol symbol : class Java location: class sun.nio.cs.StandardCharsets Java HotSpot(TM) Client VM warning: Can't detect initial thread stack location ^ /usr/ports/java/jdk15/work/control/build/bsd-i586/gensrc/sun/nio/cs/StandardCharsets.java:429: cannot find symbol symbol : class TM location: class sun.nio.cs.StandardCharsets Java HotSpot(TM) Client VM warning: Can't detect initial thread stack
Re: seeking advice on building jdk15
On 6/12/06, Peter [EMAIL PROTECTED] wrote: Hi gang. I'm running FreeBSD 5.4-STABLE and want to run OpenOffice but I discovered I needed Java first. I updated my port tree and followed the port instructions to manually download the ingredients from Sun and store them in /usr/ports/distfiles: bsd-jdk15-patches-3.tar.bz2 jdk-1_5_0-bin-scsl.zip jdk-1_5_0-src-scsl.zip j2sdk-1_4_2_11-linux-i586.bin After much compilin' activity I woke up this morning with a failed build. It ended with: Bootstrap with diablo-jdk15, linux-sun-jdk14 is a pain in the ass. -- BSD Podcasts @: http://bsdtalk.blogspot.com/ http://freebsdforall.blogspot.com/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: seeking advice on building jdk15
I succeeded in building jdk14 instead. My manual downloads were: j2sdk-1_4_2_11-linux-i586.bin j2sdk-1_4_2-bin-scsl.zip j2sdk-1_4_2-src-scsl.zip bsd-jdk14-patches-8.tar.gz The port instructions added an extra step. It had me mount a simulated linux proc filesystem: linprocfs on /usr/compat/linux/proc (linprocfs, local) I am now in the middle of compiling OpenOffice which was my original goal. What is the bootstrap you speak of? Peter --- Nikolas Britton [EMAIL PROTECTED] wrote: On 6/12/06, Peter [EMAIL PROTECTED] wrote: Hi gang. I'm running FreeBSD 5.4-STABLE and want to run OpenOffice but I discovered I needed Java first. I updated my port tree and followed the port instructions to manually download the ingredients from Sun and store them in /usr/ports/distfiles: bsd-jdk15-patches-3.tar.bz2 jdk-1_5_0-bin-scsl.zip jdk-1_5_0-src-scsl.zip j2sdk-1_4_2_11-linux-i586.bin After much compilin' activity I woke up this morning with a failed build. It ended with: Bootstrap with diablo-jdk15, linux-sun-jdk14 is a pain in the ass. -- BSD Podcasts @: http://bsdtalk.blogspot.com/ http://freebsdforall.blogspot.com/ __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: seeking advice on building jdk15
On 6/12/06, Peter [EMAIL PROTECTED] wrote: I succeeded in building jdk14 instead. My manual downloads were: j2sdk-1_4_2_11-linux-i586.bin j2sdk-1_4_2-bin-scsl.zip j2sdk-1_4_2-src-scsl.zip bsd-jdk14-patches-8.tar.gz The port instructions added an extra step. It had me mount a simulated linux proc filesystem: linprocfs on /usr/compat/linux/proc (linprocfs, local) I am now in the middle of compiling OpenOffice which was my original goal. What is the bootstrap you speak of? Right here in the jdk15 Makefile: .if !defined(WITH_LINUX_BOOTSTRAP) .if ${MACHINE_ARCH} == i386 NATIVE_BOOTSTRAP_JDKS+= ${LOCALBASE}/diablo-jdk1.5.0 .endif NATIVE_BOOTSTRAP_JDKS+= ${LOCALBASE}/jdk1.5.0 \ ${LOCALBASE}/jdk1.4.2 .endif If you install the diablo-jdk15 port first you can use it to build the jdk15 port (bootstrapping) and you won't need to mess with linux-sun-jdk14. After your done installing jdk15 you can remove diablo-jdk15 from the system, it's only a build requirement and now that jdk15 is built and installed you can use that to bootstrap future jdk15 builds. So... it's really simple: # cd /usr/ports/java/diablo-jdk15; make install # cd ../jdk15; make install clean # cd ../diablo-jdk15; make deinstall clean -- BSD Podcasts @: http://bsdtalk.blogspot.com/ http://freebsdforall.blogspot.com/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Compiling java/jdk15 for amd64?
Hello, as you can see in ports/77656, java/jdk15 won't compile cleanly on amd64. There is a workaround mentioned, but that doesn't work for me either. As binary packages for i386 were released, is there a way to compile a native jdk15 for amd64 with that i386 packages? I have the compatibility layer installed with build32.sh, so they should work. Another question is that, is it worth to compile for amd64 or the i386 packages are fast and reliable enough on amd64? Cheers, Gabor Kovesdan ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: jdk15 on 6.0
After several failed attempts at the package route, this was certainly a welcome surprise: http://www.freebsdfoundation.org/downloads/java.shtml Thanks to everyone for their help and suggestions! -james On Apr 3, 2006, at 12:55 PM, james g. wrote: Thanks everyone for the tips. I'm going to give the package route a shot, as the additional swap space just isn't cutting it. Cheers, James On Apr 3, 2006, at 8:14 AM, Jon Brisbin wrote: Anish Mistry wrote: You could always just to do a make package on another machine with 6.0 and then just pkg_add on your older system. This is what I did when I installed JDK 1.5 on our BSD boxes. It sounds like, with so little physical RAM, that the JVM is only allocating a very small percentage of that to the JVM that starts up when the build gets bootstrapped. The jvmg probably needs to be manually set using an -Xms/-Xmx value that will give it enough room to work with. To the JVM, swap space isn't the same as physical RAM. I have had problems running java applications that have to swap. With Java, physical RAM is crucial. If you could even put at least 512MB in that box just for the build, then take it out to run it, you would probably succeed. Barring that, you're next best bet is probably going to be building it on another box, then doing a pkg_add. -- Thanks! Jon Brisbin Webmaster NPC International, Inc. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions- [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions- [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: jdk15 on 6.0
james g. escribió: After several failed attempts at the package route, this was certainly a welcome surprise: http://www.freebsdfoundation.org/downloads/java.shtml I have downloaded diablo-jre-freebsd6-1.5.0.06.00.tbz from the link above, ha, by the way i have a FreeBSD 6.1 box, when i try to install it i got this messages: pkg_add diablo-jre-freebsd6-1.5.0.06.00.tbz pkg_add: could not find package xorg-libraries-6.8.2 ! pkg_add: could not find package javavmwrapper-2.0_5 ! I dont want to install xorg- related libreries :( what are the steps to install java whitout X? Does anybody know where i can find a how to? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: jdk15 on 6.0
Anish Mistry wrote: You could always just to do a make package on another machine with 6.0 and then just pkg_add on your older system. This is what I did when I installed JDK 1.5 on our BSD boxes. It sounds like, with so little physical RAM, that the JVM is only allocating a very small percentage of that to the JVM that starts up when the build gets bootstrapped. The jvmg probably needs to be manually set using an -Xms/-Xmx value that will give it enough room to work with. To the JVM, swap space isn't the same as physical RAM. I have had problems running java applications that have to swap. With Java, physical RAM is crucial. If you could even put at least 512MB in that box just for the build, then take it out to run it, you would probably succeed. Barring that, you're next best bet is probably going to be building it on another box, then doing a pkg_add. -- Thanks! Jon Brisbin Webmaster NPC International, Inc. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: jdk15 on 6.0
Thanks everyone for the tips. I'm going to give the package route a shot, as the additional swap space just isn't cutting it. Cheers, James On Apr 3, 2006, at 8:14 AM, Jon Brisbin wrote: Anish Mistry wrote: You could always just to do a make package on another machine with 6.0 and then just pkg_add on your older system. This is what I did when I installed JDK 1.5 on our BSD boxes. It sounds like, with so little physical RAM, that the JVM is only allocating a very small percentage of that to the JVM that starts up when the build gets bootstrapped. The jvmg probably needs to be manually set using an -Xms/-Xmx value that will give it enough room to work with. To the JVM, swap space isn't the same as physical RAM. I have had problems running java applications that have to swap. With Java, physical RAM is crucial. If you could even put at least 512MB in that box just for the build, then take it out to run it, you would probably succeed. Barring that, you're next best bet is probably going to be building it on another box, then doing a pkg_add. -- Thanks! Jon Brisbin Webmaster NPC International, Inc. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions- [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
jdk15 on 6.0
FreeBSD Land: I've seen this question asked on this very list, and once or twice on the web, but have yet to find a solution. I'm attempting to compile jdk15 on an older machine, and at first attempted it on a 4.11 install. The failures there encouraged me to finally upgrade the machine to 6.0. So now, I have a fully patched, fresh 6.0 installation. The machine has 128MB physical ram, and I doubled the default swap space. When I continued to run into memory errors while attempting to compile the jdk, I added an additional swap file of 512MB. Even with all this additional swap space, I'm getting the following compilation error every time: `/usr/ports/java/jdk15/work/control/build/bsd-i586/hotspot-i586/tmp/ bsd_i486_compiler2/jvmg' gmake[3]: Entering directory `/usr/ports/java/jdk15/work/control/ build/bsd-i586/hotspot-i586/tmp/bsd_i486_compiler2/jvmg' Compiling ../generated/adfiles/ad_i486.cpp virtual memory exhausted: Cannot allocate memory gmake[3]: *** [ad_i486.o] Error 1 gmake[3]: Leaving directory `/usr/ports/java/jdk15/work/control/build/ bsd-i586/hotspot-i586/tmp/bsd_i486_compiler2/jvmg' gmake[2]: *** [the_vm] Error 2 gmake[2]: Leaving directory `/usr/ports/java/jdk15/work/control/build/ bsd-i586/hotspot-i586/tmp/bsd_i486_compiler2/jvmg' gmake[1]: *** [jvmg] Error 2 gmake[1]: Leaving directory `/usr/ports/java/jdk15/work/control/build/ bsd-i586/hotspot-i586/tmp' gmake: *** [jvmg] Error 2 *** Error code 2 Stop in /usr/ports/java/jdk15. Does jdk15 really require more swapspace? I don't making the additional swap file larger, but pushing 1GB of swap already is leading me to believe there is another cause. Any help is greatly appreciated, as I'd really like to get jdk15 installed and running on this specific machine, despite it's age. Cheers, James ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: jdk15 on 6.0
On 4/2/06, james g. [EMAIL PROTECTED] wrote: FreeBSD Land: I've seen this question asked on this very list, and once or twice on the web, but have yet to find a solution. I'm attempting to compile jdk15 on an older machine, and at first attempted it on a 4.11 install. The failures there encouraged me to finally upgrade the machine to 6.0. So now, I have a fully patched, fresh 6.0 installation. The machine has 128MB physical ram, and I doubled the default swap space. When I continued to run into memory errors while attempting to compile the jdk, I added an additional swap file of 512MB. Even with all this additional swap space, I'm getting the following compilation error every time: `/usr/ports/java/jdk15/work/control/build/bsd-i586/hotspot-i586/tmp/ bsd_i486_compiler2/jvmg' gmake[3]: Entering directory `/usr/ports/java/jdk15/work/control/ build/bsd-i586/hotspot-i586/tmp/bsd_i486_compiler2/jvmg' Compiling ../generated/adfiles/ad_i486.cpp virtual memory exhausted: Cannot allocate memory gmake[3]: *** [ad_i486.o] Error 1 gmake[3]: Leaving directory `/usr/ports/java/jdk15/work/control/build/ bsd-i586/hotspot-i586/tmp/bsd_i486_compiler2/jvmg' gmake[2]: *** [the_vm] Error 2 gmake[2]: Leaving directory `/usr/ports/java/jdk15/work/control/build/ bsd-i586/hotspot-i586/tmp/bsd_i486_compiler2/jvmg' gmake[1]: *** [jvmg] Error 2 gmake[1]: Leaving directory `/usr/ports/java/jdk15/work/control/build/ bsd-i586/hotspot-i586/tmp' gmake: *** [jvmg] Error 2 *** Error code 2 Stop in /usr/ports/java/jdk15. Does jdk15 really require more swapspace? I don't making the additional swap file larger, but pushing 1GB of swap already is leading me to believe there is another cause. Any help is greatly appreciated, as I'd really like to get jdk15 installed and running on this specific machine, despite it's age. Cheers, James ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] AFAICT yes, it is possible that 1Gb (try 2Gb to be sure) swap will solve it. I can start trying to imagine how long it would take to compile jdk15, though. And even if you do succeed, an average java application can take about 100Mb of RAM right from the start. So you should really choose between a newer box and a sensible programming language. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: jdk15 on 6.0
On Apr 2, 2006, at 11:41 AM, Andrew Pantyukhin wrote: On 4/2/06, james g. [EMAIL PROTECTED] wrote: FreeBSD Land: I've seen this question asked on this very list, and once or twice on the web, but have yet to find a solution. I'm attempting to compile jdk15 on an older machine, and at first attempted it on a 4.11 install. The failures there encouraged me to finally upgrade the machine to 6.0. So now, I have a fully patched, fresh 6.0 installation. The machine has 128MB physical ram, and I doubled the default swap space. When I continued to run into memory errors while attempting to compile the jdk, I added an additional swap file of 512MB. Even with all this additional swap space, I'm getting the following compilation error every time: `/usr/ports/java/jdk15/work/control/build/bsd-i586/hotspot-i586/tmp/ bsd_i486_compiler2/jvmg' gmake[3]: Entering directory `/usr/ports/java/jdk15/work/control/ build/bsd-i586/hotspot-i586/tmp/bsd_i486_compiler2/jvmg' Compiling ../generated/adfiles/ad_i486.cpp virtual memory exhausted: Cannot allocate memory gmake[3]: *** [ad_i486.o] Error 1 gmake[3]: Leaving directory `/usr/ports/java/jdk15/work/control/ build/ bsd-i586/hotspot-i586/tmp/bsd_i486_compiler2/jvmg' gmake[2]: *** [the_vm] Error 2 gmake[2]: Leaving directory `/usr/ports/java/jdk15/work/control/ build/ bsd-i586/hotspot-i586/tmp/bsd_i486_compiler2/jvmg' gmake[1]: *** [jvmg] Error 2 gmake[1]: Leaving directory `/usr/ports/java/jdk15/work/control/ build/ bsd-i586/hotspot-i586/tmp' gmake: *** [jvmg] Error 2 *** Error code 2 Stop in /usr/ports/java/jdk15. Does jdk15 really require more swapspace? I don't making the additional swap file larger, but pushing 1GB of swap already is leading me to believe there is another cause. Any help is greatly appreciated, as I'd really like to get jdk15 installed and running on this specific machine, despite it's age. Cheers, James AFAICT yes, it is possible that 1Gb (try 2Gb to be sure) swap will solve it. I can start trying to imagine how long it would take to compile jdk15, though. And even if you do succeed, an average java application can take about 100Mb of RAM right from the start. So you should really choose between a newer box and a sensible programming language. Thanks for the tip. I upped the additional swapfile size to 2GB and tried again, with the same results. Granted I understand that expecting so much from this little machine is really pushing it, it will eventually just be running a small java- based server, that unfortunately requires jdk15. I wouldn't ever choose it on purpose. With a total swap size of roughly 2.5GB still generating failures, is this a lost cause, or should I be looking for additional solutions? Cheers, James ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: jdk15 on 6.0
james g. wrote: On Apr 2, 2006, at 11:41 AM, Andrew Pantyukhin wrote: On 4/2/06, james g. [EMAIL PROTECTED] wrote: FreeBSD Land: I've seen this question asked on this very list, and once or twice on the web, but have yet to find a solution. I'm attempting to compile jdk15 on an older machine, and at first attempted it on a 4.11 install. The failures there encouraged me to finally upgrade the machine to 6.0. So now, I have a fully patched, fresh 6.0 installation. The machine has 128MB physical ram, and I doubled the default swap space. When I continued to run into memory errors while attempting to compile the jdk, I added an additional swap file of 512MB. Even with all this additional swap space, I'm getting the following compilation error every time: `/usr/ports/java/jdk15/work/control/build/bsd-i586/hotspot-i586/tmp/ bsd_i486_compiler2/jvmg' gmake[3]: Entering directory `/usr/ports/java/jdk15/work/control/ build/bsd-i586/hotspot-i586/tmp/bsd_i486_compiler2/jvmg' Compiling ../generated/adfiles/ad_i486.cpp virtual memory exhausted: Cannot allocate memory gmake[3]: *** [ad_i486.o] Error 1 gmake[3]: Leaving directory `/usr/ports/java/jdk15/work/control/build/ bsd-i586/hotspot-i586/tmp/bsd_i486_compiler2/jvmg' gmake[2]: *** [the_vm] Error 2 gmake[2]: Leaving directory `/usr/ports/java/jdk15/work/control/build/ bsd-i586/hotspot-i586/tmp/bsd_i486_compiler2/jvmg' gmake[1]: *** [jvmg] Error 2 gmake[1]: Leaving directory `/usr/ports/java/jdk15/work/control/build/ bsd-i586/hotspot-i586/tmp' gmake: *** [jvmg] Error 2 *** Error code 2 Stop in /usr/ports/java/jdk15. Does jdk15 really require more swapspace? I don't making the additional swap file larger, but pushing 1GB of swap already is leading me to believe there is another cause. Any help is greatly appreciated, as I'd really like to get jdk15 installed and running on this specific machine, despite it's age. Cheers, James AFAICT yes, it is possible that 1Gb (try 2Gb to be sure) swap will solve it. I can start trying to imagine how long it would take to compile jdk15, though. And even if you do succeed, an average java application can take about 100Mb of RAM right from the start. So you should really choose between a newer box and a sensible programming language. Thanks for the tip. I upped the additional swapfile size to 2GB and tried again, with the same results. Granted I understand that expecting so much from this little machine is really pushing it, it will eventually just be running a small java-based server, that unfortunately requires jdk15. I wouldn't ever choose it on purpose. With a total swap size of roughly 2.5GB still generating failures, is this a lost cause, or should I be looking for additional solutions? Hmm. I successfully compiled jdk15 with 256 MB RAM and 1 GB swap on an i386 machine. I suspect some other problem with your system. I can offer no speculation to the nature of your problem though. Greets, Helge ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: jdk15 on 6.0
On 4/2/06, james g. [EMAIL PROTECTED] wrote: Granted I understand that expecting so much from this little machine is really pushing it, it will eventually just be running a small java- based server, that unfortunately requires jdk15. I wouldn't ever choose it on purpose. With a total swap size of roughly 2.5GB still generating failures, is this a lost cause, or should I be looking for additional solutions? /usr/ports/java/linux-sun-jdk15/ perhaps? -- -- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: jdk15 on 6.0
On Sunday 02 April 2006 14:36, james g. wrote: On Apr 2, 2006, at 11:41 AM, Andrew Pantyukhin wrote: On 4/2/06, james g. [EMAIL PROTECTED] wrote: FreeBSD Land: I've seen this question asked on this very list, and once or twice on the web, but have yet to find a solution. I'm attempting to compile jdk15 on an older machine, and at first attempted it on a 4.11 install. The failures there encouraged me to finally upgrade the machine to 6.0. So now, I have a fully patched, fresh 6.0 installation. The machine has 128MB physical ram, and I doubled the default swap space. When I continued to run into memory errors while attempting to compile the jdk, I added an additional swap file of 512MB. Even with all this additional swap space, I'm getting the following compilation error every time: `/usr/ports/java/jdk15/work/control/build/bsd-i586/hotspot-i586/ tmp/ bsd_i486_compiler2/jvmg' gmake[3]: Entering directory `/usr/ports/java/jdk15/work/control/ build/bsd-i586/hotspot-i586/tmp/bsd_i486_compiler2/jvmg' Compiling ../generated/adfiles/ad_i486.cpp virtual memory exhausted: Cannot allocate memory gmake[3]: *** [ad_i486.o] Error 1 gmake[3]: Leaving directory `/usr/ports/java/jdk15/work/control/ build/ bsd-i586/hotspot-i586/tmp/bsd_i486_compiler2/jvmg' gmake[2]: *** [the_vm] Error 2 gmake[2]: Leaving directory `/usr/ports/java/jdk15/work/control/ build/ bsd-i586/hotspot-i586/tmp/bsd_i486_compiler2/jvmg' gmake[1]: *** [jvmg] Error 2 gmake[1]: Leaving directory `/usr/ports/java/jdk15/work/control/ build/ bsd-i586/hotspot-i586/tmp' gmake: *** [jvmg] Error 2 *** Error code 2 Stop in /usr/ports/java/jdk15. Does jdk15 really require more swapspace? I don't making the additional swap file larger, but pushing 1GB of swap already is leading me to believe there is another cause. Any help is greatly appreciated, as I'd really like to get jdk15 installed and running on this specific machine, despite it's age. Cheers, James AFAICT yes, it is possible that 1Gb (try 2Gb to be sure) swap will solve it. I can start trying to imagine how long it would take to compile jdk15, though. And even if you do succeed, an average java application can take about 100Mb of RAM right from the start. So you should really choose between a newer box and a sensible programming language. Thanks for the tip. I upped the additional swapfile size to 2GB and tried again, with the same results. Granted I understand that expecting so much from this little machine is really pushing it, it will eventually just be running a small java- based server, that unfortunately requires jdk15. I wouldn't ever choose it on purpose. With a total swap size of roughly 2.5GB still generating failures, is this a lost cause, or should I be looking for additional solutions? You could always just to do a make package on another machine with 6.0 and then just pkg_add on your older system. -- Anish Mistry pgpE8ZzGxZTxG.pgp Description: PGP signature
Error bulding Java jdk15 - FAQ?
Hi there, I'm having trouble building jdk15 under FreeBSD 6.1-PRERELEASE, with world, kernel and ports up to date. It dies with [...] /usr/bin/gcc -fno-strict-aliasing -fPIC -W -Wall -Wno-unused -Wno-parentheses -pipe -fno-omit-frame-pointer -D__MEDIALIB_OLD_NAMES -D__USE_J2D_NAMES -DMLIB_NO_LIBSUNMATH -DMOTIF_VERSION=2 -Di586 -DARCH='i586' -DRELEASE='1.5.0-p2' -DFULL_VERSION='1.5.0-p2-root_23_mar_2006_10_49' -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_ALLBSD_SOURCE -I. -I/usr/ports/java/jdk15/work/control/build/bsd-i586/tmp/sun/sun.awt/awt/CClassHeaders -I../../../src/solaris/javavm/export -I../../../src/share/javavm/export -I../../../src/share/javavm/include -I../../../src/solaris/javavm/include -I../../../src/share/native/common -I../../../src/solaris/native/common -I../../../src/share/native/sun/awt -I../../../src/solaris/native/sun/awt -I/usr/X11R6/include -I/usr/X11R6/include -I/usr/X11R6/include/X11/extensions -I../../../src/solaris/native/sun/awt/font -I../../../src/share/native/sun/awt/debug -I../../../src/share/native/sun/awt/../font -I../../../src/solaris/native/sun/awt/../font -I../../../src/share/native/sun/awt/image -I../../../src/share/native/sun/awt/image/cvutils -I../../../src/share/native/sun/awt/shell -I../../../src/share/native/sun/awt/alphacomposite -I../../../src/share/native/sun/awt/medialib -I../../../src/solaris/native/sun/awt/medialib -I../../../src/share/native/sun/awt/../java2d -I../../../src/solaris/native/sun/awt/../java2d -I../../../src/share/native/sun/awt/../java2d/loops -I../../../src/share/native/sun/awt/../java2d/pipe -I../../../src/share/native/sun/awt/../java2d/opengl -I../../../src/solaris/native/sun/awt/../java2d/opengl -I../../../src/share/native/sun/awt/../dc/doe -I../../../src/share/native/sun/awt/../dc/path -I../../../src/solaris/native/sun/awt/../jdga -c -o /usr/ports/java/jdk15/work/control/build/bsd-i586/tmp/sun/sun.awt/awt/obj/BufImgSurfaceData.o ../../../src/share/native/sun/awt/image/BufImgSurfaceData.c In file included from ../../../src/solaris/native/sun/awt/awt.h:20, from ../../../src/solaris/native/sun/awt/color.h:10, from ../../../src/solaris/native/sun/awt/img_util_md.h:8, from ../../../src/share/native/sun/awt/image/BufImgSurfaceData.c:17: /usr/X11R6/include/X11/Intrinsic.h:1181: error: syntax error before _X_SENTINEL /usr/X11R6/include/X11/Intrinsic.h:1325: error: syntax error before _X_SENTINEL /usr/X11R6/include/X11/Intrinsic.h:1392: error: syntax error before _X_SENTINEL /usr/X11R6/include/X11/Intrinsic.h:1399: error: syntax error before _X_SENTINEL /usr/X11R6/include/X11/Intrinsic.h:1423: error: syntax error before _X_SENTINEL /usr/X11R6/include/X11/Intrinsic.h:1475: error: syntax error before _X_SENTINEL /usr/X11R6/include/X11/Intrinsic.h:1498: error: syntax error before _X_SENTINEL /usr/X11R6/include/X11/Intrinsic.h:1572: error: syntax error before _X_SENTINEL /usr/X11R6/include/X11/Intrinsic.h:1593: error: syntax error before _X_SENTINEL /usr/X11R6/include/X11/Intrinsic.h:1604: error: syntax error before _X_SENTINEL /usr/X11R6/include/X11/Intrinsic.h:1615: error: syntax error before _X_SENTINEL /usr/X11R6/include/X11/Intrinsic.h:1630: error: syntax error before _X_SENTINEL /usr/X11R6/include/X11/Intrinsic.h:1645: error: syntax error before _X_SENTINEL ../../../src/share/native/sun/awt/image/BufImgSurfaceData.c: In function `Java_sun_awt_image_BufImgSurfaceData_freeNativeICMData': ../../../src/share/native/sun/awt/image/BufImgSurfaceData.c:83: warning: cast to pointer from integer of different size ../../../src/share/native/sun/awt/image/BufImgSurfaceData.c: In function `BufImg_SetupICM': ../../../src/share/native/sun/awt/image/BufImgSurfaceData.c:257: warning: cast to pointer from integer of different size ../../../src/share/native/sun/awt/image/BufImgSurfaceData.c:276: warning: cast from pointer to integer of different size gmake[4]: *** [/usr/ports/java/jdk15/work/control/build/bsd-i586/tmp/sun/sun.awt/awt/obj/BufImgSurfaceData.o] Error 1 gmake[4]: Leaving directory `/usr/ports/java/jdk15/work/j2se/make/sun/awt' gmake[3]: *** [optimized] Error 2 gmake[3]: Leaving directory `/usr/ports/java/jdk15/work/j2se/make/sun/awt' gmake[2]: *** [all] Error 1 gmake[2]: Leaving directory `/usr/ports/java/jdk15/work/j2se/make/sun' gmake[1]: *** [all] Error 1 gmake[1]: Leaving directory `/usr/ports/java/jdk15/work/j2se/make' gmake: *** [j2se-build] Error 2 *** Error code 2 --- i have linux.ko loaded and linprocfs on /usr/compat/linux/proc (linprocfs, local) mounted. I also have these 2 ports installed already: javavmwrapper-2.0_6 Wrapper script for various Java Virtual Machines linux-sun-jdk-1.4.2.10 Sun Java Development Kit 1.4 for Linux Any idea? Thanks!! Beto ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Error Compiling jdk15
Warren Liddell writes: Below is the erro msg when compiling on a FreeBSD6.1-Pre-Release... 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. Look a little earlier in the output for the actual errors that stopped the compile. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Error Compiling jdk15
Below is the erro msg when compiling on a FreeBSD6.1-Pre-Release... 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. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
can't build jdk15 on 6.0
Am trying to build jdk15 form ports on 6.0. Happens to be inside a jail with linux emulation running etc. I previously was able to build jdk142 in s similar environment. The linux jdk14 is installed (I believe the port itself did that). Any thoughts or help appreciated. gmake[5]: Entering directory `/usr/ports/java/jdk15/work/j2se/make/ sun/javac/javac' gmake /usr/ports/java/jdk15/work/control/build/bsd-i586/bin/javac VARIANT=OPT gmake[6]: Entering directory `/usr/ports/java/jdk15/work/j2se/make/ sun/javac/javac' rm -f /usr/ports/java/jdk15/work/control/build/bsd-i586/tmp/sun/ com.sun.tools.javac/javac/.classes.list /usr/ports/java/jdk15/work/control/build/bsd-i586/bin/java - classpath ../../../tools/CompileProperties CompileProperties ../../../../src/share/classes/com/sun/tools/javac/ resources/compiler.properties /usr/ports/java/jdk15/work/control/ build/bsd-i586/gensrc/com/sun/tools/javac/resources/compiler.java Error: could not find libjava.so Error: could not find Java 2 Runtime Environment. gmake[6]: *** [/usr/ports/java/jdk15/work/control/build/bsd-i586/ gensrc/com/sun/tools/javac/resources/compiler.java] Error 2 gmake[6]: Leaving directory `/usr/ports/java/jdk15/work/j2se/make/sun/ javac/javac' gmake[5]: *** [optimized] Error 2 gmake[5]: Leaving directory `/usr/ports/java/jdk15/work/j2se/make/sun/ javac/javac' gmake[4]: *** [all] Error 1 gmake[4]: Leaving directory `/usr/ports/java/jdk15/work/j2se/make/sun/ javac' gmake[3]: *** [all] Error 2 gmake[3]: Leaving directory `/usr/ports/java/jdk15/work/j2se/make/ java/javac' 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. utah# locate libjava.so /stubs/usr_local/linux-sun-jdk1.4.2/jre/lib/i386/libjava.so /usr/ports/java/jdk15/work/control/build/bsd-i586/lib/i386/libjava.so /usr/ports/java/linux-sun-jdk14/work/j2sdk1.4.2_10/jre/lib/i386/ libjava.so utah# --- Chad Leigh -- Shire.Net LLC Your Web App and Email hosting provider chad at shire.net ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions- [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: can't build jdk15 on 6.0
On Jan 22, 2006, at 6:28 PM, Chad Leigh -- Shire.Net LLC wrote: Am trying to build jdk15 form ports on 6.0. Happens to be inside a jail with linux emulation running etc. I previously was able to build jdk142 in s similar environment. The linux jdk14 is installed (I believe the port itself did that). Any thoughts or help appreciated. gmake[5]: Entering directory `/usr/ports/java/jdk15/work/j2se/make/ sun/javac/javac' gmake /usr/ports/java/jdk15/work/control/build/bsd-i586/bin/javac VARIANT=OPT gmake[6]: Entering directory `/usr/ports/java/jdk15/work/j2se/make/ sun/javac/javac' rm -f /usr/ports/java/jdk15/work/control/build/bsd-i586/tmp/sun/ com.sun.tools.javac/javac/.classes.list /usr/ports/java/jdk15/work/control/build/bsd-i586/bin/java - classpath ../../../tools/CompileProperties CompileProperties ../../../../src/share/classes/com/sun/tools/javac/ resources/compiler.properties /usr/ports/java/jdk15/work/control/ build/bsd-i586/gensrc/com/sun/tools/javac/resources/compiler.java Error: could not find libjava.so Error: could not find Java 2 Runtime Environment. gmake[6]: *** [/usr/ports/java/jdk15/work/control/build/bsd-i586/ gensrc/com/sun/tools/javac/resources/compiler.java] Error 2 gmake[6]: Leaving directory `/usr/ports/java/jdk15/work/j2se/make/ sun/javac/javac' gmake[5]: *** [optimized] Error 2 gmake[5]: Leaving directory `/usr/ports/java/jdk15/work/j2se/make/ sun/javac/javac' gmake[4]: *** [all] Error 1 gmake[4]: Leaving directory `/usr/ports/java/jdk15/work/j2se/make/ sun/javac' gmake[3]: *** [all] Error 2 gmake[3]: Leaving directory `/usr/ports/java/jdk15/work/j2se/make/ java/javac' 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. utah# locate libjava.so /stubs/usr_local/linux-sun-jdk1.4.2/jre/lib/i386/libjava.so btw that maps to /usr/local/linux-sun-jdk1.4.2/jre/lib/i386/libjava.so /usr/ports/java/jdk15/work/control/build/bsd-i586/lib/i386/libjava.so /usr/ports/java/linux-sun-jdk14/work/j2sdk1.4.2_10/jre/lib/i386/ libjava.so utah# --- Chad Leigh -- Shire.Net LLC Your Web App and Email hosting provider chad at shire.net ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions- [EMAIL PROTECTED] --- Chad Leigh -- Shire.Net LLC Your Web App and Email hosting provider chad at shire.net ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: can't build jdk15 on 6.0
On Jan 23, 2006, at 4:04 PM, Chad Leigh -- Shire.Net LLC wrote: On Jan 22, 2006, at 6:28 PM, Chad Leigh -- Shire.Net LLC wrote: Am trying to build jdk15 form ports on 6.0. Happens to be inside a jail with linux emulation running etc. I previously was able to build jdk142 in s similar environment. The linux jdk14 is installed (I believe the port itself did that). Any thoughts or help appreciated. gmake[5]: Entering directory `/usr/ports/java/jdk15/work/j2se/make/ sun/javac/javac' gmake /usr/ports/java/jdk15/work/control/build/bsd-i586/bin/javac VARIANT=OPT gmake[6]: Entering directory `/usr/ports/java/jdk15/work/j2se/make/ sun/javac/javac' rm -f /usr/ports/java/jdk15/work/control/build/bsd-i586/tmp/sun/ com.sun.tools.javac/javac/.classes.list /usr/ports/java/jdk15/work/control/build/bsd-i586/bin/java - classpath ../../../tools/CompileProperties CompileProperties ../../../../src/share/classes/com/sun/tools/ javac/resources/compiler.properties /usr/ports/java/jdk15/work/ control/build/bsd-i586/gensrc/com/sun/tools/javac/resources/ compiler.java Error: could not find libjava.so Error: could not find Java 2 Runtime Environment. gmake[6]: *** [/usr/ports/java/jdk15/work/control/build/bsd-i586/ gensrc/com/sun/tools/javac/resources/compiler.java] Error 2 gmake[6]: Leaving directory `/usr/ports/java/jdk15/work/j2se/make/ sun/javac/javac' gmake[5]: *** [optimized] Error 2 gmake[5]: Leaving directory `/usr/ports/java/jdk15/work/j2se/make/ sun/javac/javac' gmake[4]: *** [all] Error 1 gmake[4]: Leaving directory `/usr/ports/java/jdk15/work/j2se/make/ sun/javac' gmake[3]: *** [all] Error 2 gmake[3]: Leaving directory `/usr/ports/java/jdk15/work/j2se/make/ java/javac' 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. utah# locate libjava.so /stubs/usr_local/linux-sun-jdk1.4.2/jre/lib/i386/libjava.so btw that maps to /usr/local/linux-sun-jdk1.4.2/jre/lib/i386/libjava.so there is also a linux 1.5 jdk installed now and I still get the same error. Any comments or help appreciated Thanks Chad /usr/ports/java/jdk15/work/control/build/bsd-i586/lib/i386/libjava.so /usr/ports/java/linux-sun-jdk14/work/j2sdk1.4.2_10/jre/lib/i386/ libjava.so utah# --- Chad Leigh -- Shire.Net LLC Your Web App and Email hosting provider chad at shire.net ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions- [EMAIL PROTECTED] --- Chad Leigh -- Shire.Net LLC Your Web App and Email hosting provider chad at shire.net ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions- [EMAIL PROTECTED] --- Chad Leigh -- Shire.Net LLC Your Web App and Email hosting provider chad at shire.net ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: can't build jdk15 on 6.0
Whenever I encountered error building from ports, I always go to the extreme route: mv /usr/ports/distfiles /somewhere rmdir /usr/ports cd /usr tar xvfz ports.tar.gz mv /somewhere /usr/ports/distfiles After that usually all ports will install without any error showing up before. I did this because my company's network didn't allow my (personal) notebook to access anything outside my intranet. If it's not the case for you, maybe you should portupgrade your port-tree first. -- Yours sincerely, Owen Jeremiah ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
can't build jdk15 on 6.0
Am trying to build jdk15 form ports on 6.0. Happens to be inside a jail with linux emulation running etc. I previously was able to build jdk142 in s similar environment. The linux jdk14 is installed (I believe the port itself did that). Any thoughts or help appreciated. gmake[5]: Entering directory `/usr/ports/java/jdk15/work/j2se/make/ sun/javac/javac' gmake /usr/ports/java/jdk15/work/control/build/bsd-i586/bin/javac VARIANT=OPT gmake[6]: Entering directory `/usr/ports/java/jdk15/work/j2se/make/ sun/javac/javac' rm -f /usr/ports/java/jdk15/work/control/build/bsd-i586/tmp/sun/ com.sun.tools.javac/javac/.classes.list /usr/ports/java/jdk15/work/control/build/bsd-i586/bin/java - classpath ../../../tools/CompileProperties CompileProperties ../../../../src/share/classes/com/sun/tools/javac/ resources/compiler.properties /usr/ports/java/jdk15/work/control/ build/bsd-i586/gensrc/com/sun/tools/javac/resources/compiler.java Error: could not find libjava.so Error: could not find Java 2 Runtime Environment. gmake[6]: *** [/usr/ports/java/jdk15/work/control/build/bsd-i586/ gensrc/com/sun/tools/javac/resources/compiler.java] Error 2 gmake[6]: Leaving directory `/usr/ports/java/jdk15/work/j2se/make/sun/ javac/javac' gmake[5]: *** [optimized] Error 2 gmake[5]: Leaving directory `/usr/ports/java/jdk15/work/j2se/make/sun/ javac/javac' gmake[4]: *** [all] Error 1 gmake[4]: Leaving directory `/usr/ports/java/jdk15/work/j2se/make/sun/ javac' gmake[3]: *** [all] Error 2 gmake[3]: Leaving directory `/usr/ports/java/jdk15/work/j2se/make/ java/javac' 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. utah# locate libjava.so /stubs/usr_local/linux-sun-jdk1.4.2/jre/lib/i386/libjava.so /usr/ports/java/jdk15/work/control/build/bsd-i586/lib/i386/libjava.so /usr/ports/java/linux-sun-jdk14/work/j2sdk1.4.2_10/jre/lib/i386/ libjava.so utah# --- Chad Leigh -- Shire.Net LLC Your Web App and Email hosting provider chad at shire.net ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Ports: JDK15
I am having all sorts of problems trying to install JDK15. I put all the files in the distfiles but now when I install: make -D WITHOUT_WEB install clean I get the following after quite a long time of compiling: ../../../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. 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 Do the actors on Unsolved Mysteries ever get arrested because they look just like the criminal they are playing? Christopher ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: jdk15 without having to install X Windows?
Nick Triantos wrote: Hi, I'm trying to install JDK15 (from ports: java/jdk15) on a server that does not have X Windows installed. It appears from the Makefile that Java is dependent upon OpenMotif, which in turn is dependent upon a bunch of X client libs. Does anyone have experience with installing Java without any X windows support? I'd like the keep the number of installed packages on this server to a bare minimum. thanks, -Nick My guess? You probably can't install JDK without X because of Java's GUI libraries (swing/awt). Micah ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
jdk15 without having to install X Windows?
Hi, I'm trying to install JDK15 (from ports: java/jdk15) on a server that does not have X Windows installed. It appears from the Makefile that Java is dependent upon OpenMotif, which in turn is dependent upon a bunch of X client libs. Does anyone have experience with installing Java without any X windows support? I'd like the keep the number of installed packages on this server to a bare minimum. thanks, -Nick ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
ports: jdk15/jdk14
Hello. Again, I run into frustrations when trying to install JDK14/JDK15 from the ports collection. Operatin system is FreeBSD 6.0-BETA5, recently updated, i386 platform (Dell OptiPlex280). Installation of linux-sun-jdk1.4.2 performed well without problems. But when trying the installation of jdk14 or jdk15, I receive a SIGNAL 11 running java: Bootstrap Settings: JAVAWS_BOOTDIR = /usr/local/linux-sun-jdk1.4.2 BOOTSTRAP J2SDK VERSION: Segmentation fault OUTPUTDIR = /usr/ports/java/jdk14/work/control/build/bsd-i586 dmesg: pid 1286 (java), uid 0: exited on signal 11 I tried using blackdown JDK, but without success, it seems tricky to allow an alternative JDK. Any help appreciated. Oliver ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ports: jdk15/jdk14
O. Hartmann wrote: Hello. Again, I run into frustrations when trying to install JDK14/JDK15 from the ports collection. Operatin system is FreeBSD 6.0-BETA5, recently updated, i386 platform (Dell OptiPlex280). Installation of linux-sun-jdk1.4.2 performed well without problems. But when trying the installation of jdk14 or jdk15, I receive a SIGNAL 11 running java: Bootstrap Settings: JAVAWS_BOOTDIR = /usr/local/linux-sun-jdk1.4.2 BOOTSTRAP J2SDK VERSION: Segmentation fault OUTPUTDIR = /usr/ports/java/jdk14/work/control/build/bsd-i586 dmesg: pid 1286 (java), uid 0: exited on signal 11 I tried using blackdown JDK, but without success, it seems tricky to allow an alternative JDK. Any help appreciated. Oliver Does the linux JDK work? Have you tried compiling java source and running java classes with it? Did you follow the directions in /usr/ports/java/linux-sun-jdk14/pkg-message to enable the linux procfs? Micah ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ports: jdk15/jdk14
Micah wrote: O. Hartmann wrote: Hello. Again, I run into frustrations when trying to install JDK14/JDK15 from the ports collection. Operatin system is FreeBSD 6.0-BETA5, recently updated, i386 platform (Dell OptiPlex280). Installation of linux-sun-jdk1.4.2 performed well without problems. But when trying the installation of jdk14 or jdk15, I receive a SIGNAL 11 running java: Bootstrap Settings: JAVAWS_BOOTDIR = /usr/local/linux-sun-jdk1.4.2 BOOTSTRAP J2SDK VERSION: Segmentation fault OUTPUTDIR = /usr/ports/java/jdk14/work/control/build/bsd-i586 dmesg: pid 1286 (java), uid 0: exited on signal 11 I tried using blackdown JDK, but without success, it seems tricky to allow an alternative JDK. Any help appreciated. Oliver Does the linux JDK work? Have you tried compiling java source and running java classes with it? Did you follow the directions in /usr/ports/java/linux-sun-jdk14/pkg-message to enable the linux procfs? Micah The Linux SDK is the one that crashes (getting signal 11 from java as reported and this is the linux SDK). It is the Linux java that isn't capable booting the build process. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ports: jdk15/jdk14
O. Hartmann wrote: Micah wrote: O. Hartmann wrote: Hello. Again, I run into frustrations when trying to install JDK14/JDK15 from the ports collection. Operatin system is FreeBSD 6.0-BETA5, recently updated, i386 platform (Dell OptiPlex280). Installation of linux-sun-jdk1.4.2 performed well without problems. But when trying the installation of jdk14 or jdk15, I receive a SIGNAL 11 running java: Bootstrap Settings: JAVAWS_BOOTDIR = /usr/local/linux-sun-jdk1.4.2 BOOTSTRAP J2SDK VERSION: Segmentation fault OUTPUTDIR = /usr/ports/java/jdk14/work/control/build/bsd-i586 dmesg: pid 1286 (java), uid 0: exited on signal 11 I tried using blackdown JDK, but without success, it seems tricky to allow an alternative JDK. Any help appreciated. Oliver Does the linux JDK work? Have you tried compiling java source and running java classes with it? Did you follow the directions in /usr/ports/java/linux-sun-jdk14/pkg-message to enable the linux procfs? Micah The Linux SDK is the one that crashes (getting signal 11 from java as reported and this is the linux SDK). It is the Linux java that isn't capable booting the build process. I wasn't asking if you had tried the linux JDK to install the native JDK. I was asking if you had actually verified that the linux JDK had been installed properly and was in working order. Micah ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: errors compilling JDK15
This seems to have been fixed. Please update your ports and try again. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
errors compilling JDK15
Hi there I've had the following problem compiling the native jdk15. this is the FreeBSD version: FreeBSD verde.fish 5.4-STABLE FreeBSD 5.4-STABLE #0: Fri Aug 12 20:17:01 COT 2005 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/VERDE i386 This are the files in my dist dir ./ java.txt ../ jdk-1_5_0-bin-scsl.zip bsd-jdk15-patches-2.tar.bz2 jdk-1_5_0-src-scsl.zip j2sdk-1_4_2_08-linux-i586.bin and I have the following line in my fstab linprocfs /compat/linux/proc linprocfs rw 0 0 ... gmake[3]: Entering directory `/usr/ports/java/jdk15/work/deploy/make/javaws' /bin/mkdir -p /usr/ports/java/jdk15/work/control/build/bsd-i586 /bin/mkdir -p /usr/ports/java/jdk15/work/control/build/bsd-i586/tmp/deploy/common/lib /usr/ports/java/jdk15/work/control/build/bsd-i586/tmp/deploy/common_g/lib /usr/ports/java/jdk15/work/control/build/bsd-i586/tmp/deploy/deployClasses /usr/ports/java/jdk15/work/control/build/bsd-i586/tmp/deploy/deployClasses_g /usr/ports/java/jdk15/work/control/build/bsd-i586/tmp/deploy/deployClassHeaders /bin/mkdir -p /usr/ports/java/jdk15/work/control/build/bsd-i586/tmp/deploy/deployObj /usr/ports/java/jdk15/work/control/build/bsd-i586/tmp/deploy/deployObj_g /usr/ports/java/jdk15/work/control/build/bsd-i586/tmp/deploy/common/lib /usr/ports/java/jdk15/work/control/build/bsd-i586/tmp/deploy/common_g/lib /usr/bin/gcc -I/usr/local/linux-sun-jdk1.4.2/include -I/usr/local/linux-sun-jdk1.4.2/include/freebsd -c /usr/ports/java/jdk15/work/control/make/../../deploy/src/common/unix/native/config.c -o /usr/ports/java/jdk15/work/control/build/bsd-i586/tmp/deploy/deployObj/config.o In file included from /usr/ports/java/jdk15/work/control/make/../../deploy/src/common/unix/native/config.c:10: /usr/local/linux-sun-jdk1.4.2/include/jni.h:27:20: jni_md.h: No such file or directory In file included from /usr/ports/java/jdk15/work/control/make/../../deploy/src/common/unix/native/config.c:10: /usr/local/linux-sun-jdk1.4.2/include/jni.h:45: error: syntax error before jsize /usr/local/linux-sun-jdk1.4.2/include/jni.h:45: warning: data definition has no type or storage class /usr/local/linux-sun-jdk1.4.2/include/jni.h:104: error: syntax error before jbyte /usr/local/linux-sun-jdk1.4.2/include/jni.h:107: error: syntax error before jint /usr/local/linux-sun-jdk1.4.2/include/jni.h:193: error: syntax error before jint /usr/local/linux-sun-jdk1.4.2/include/jni.h:195: error: syntax error before '*' token /usr/local/linux-sun-jdk1.4.2/include/jni.h:198: error: syntax error before '*' token /usr/local/linux-sun-jdk1.4.2/include/jni.h:201: error: syntax error before '*' token /usr/local/linux-sun-jdk1.4.2/include/jni.h:203: error: syntax error before '*' token /usr/local/linux-sun-jdk1.4.2/include/jni.h:206: error: syntax error before '*' token /usr/local/linux-sun-jdk1.4.2/include/jni.h:209: error: syntax error before '*' token /usr/local/linux-sun-jdk1.4.2/include/jni.h:211: error: syntax error before '*' token /usr/local/linux-sun-jdk1.4.2/include/jni.h:214: error: syntax error before '*' token /usr/local/linux-sun-jdk1.4.2/include/jni.h:221: error: syntax error before '*' token /usr/local/linux-sun-jdk1.4.2/include/jni.h:223: error: syntax error before '*' token /usr/local/linux-sun-jdk1.4.2/include/jni.h:225: error: syntax error before '*' token /usr/local/linux-sun-jdk1.4.2/include/jni.h:227: error: syntax error before '*' token /usr/local/linux-sun-jdk1.4.2/include/jni.h:232: error: syntax error before '*' token /usr/local/linux-sun-jdk1.4.2/include/jni.h:235: error: syntax error before '*' token /usr/local/linux-sun-jdk1.4.2/include/jni.h:237: error: syntax error before '*' token /usr/local/linux-sun-jdk1.4.2/include/jni.h:239: error: syntax error before '*' token /usr/local/linux-sun-jdk1.4.2/include/jni.h:241: error: syntax error before '*' token /usr/local/linux-sun-jdk1.4.2/include/jni.h:243: error: syntax error before '*' token /usr/local/linux-sun-jdk1.4.2/include/jni.h:248: error: syntax error before '*' token /usr/local/linux-sun-jdk1.4.2/include/jni.h:250: error: syntax error before '*' token /usr/local/linux-sun-jdk1.4.2/include/jni.h:252: error: syntax error before '*' token /usr/local/linux-sun-jdk1.4.2/include/jni.h:254: error: syntax error before '*' token /usr/local/linux-sun-jdk1.4.2/include/jni.h:257: error: syntax error before '*' token /usr/local/linux-sun-jdk1.4.2/include/jni.h:259: error: syntax error before '*' token /usr/local/linux-sun-jdk1.4.2/include/jni.h:262: error: syntax error before '*' token /usr/local/linux-sun-jdk1.4.2/include/jni.h:265: error: syntax error before '*' token /usr/local/linux-sun-jdk1.4.2/include/jni.h:267: error: syntax error before '*' token /usr/local/linux-sun-jdk1.4.2/include/jni.h:269: error: syntax error before '*' token /usr/local/linux-sun-jdk1.4.2/include/jni.h:272: error: syntax error before '*' token /usr/local/linux-sun-jdk1.4.2/include/jni.h:274: error: syntax error before
Compiling jdk15
Hi all, I'm having problems compiling the jdk15 port on my machine. It's running 5.3-Release and also has the jdk14 and linux-sun-jdk14 ports installed. Here is the end of the make install output. 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 fi gmake[3]: Leaving directory gmake[2]: *** [all] Error 1 `/usr/ports/java/jdk15/work/j2se/make/java/java' gmake[2]: Leaving gmake[1]: *** [all] Error 1 directory `/usr/ports/java/jdk15/work/j2se/make/java' gmake[1]: gmake: *** [j2se-build] Error 2 Leaving directory `/usr/ports/java/jdk15/work/j2se/make' *** Error code 2 Stop in /usr/ports/java/jdk15. If being able to see the whole thing would be helpful, it can be downloaded from http://cspain.no-ip.info/jdk15build.out Thx in advance for all help and advice, and if any other info about my system would be helpful, please let me know and i'll post it. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
hosed the jdk15 port in the pkg db
Hey fellow FreeBSD users. I've just returned from a week off, and must have left my brain in Orlando, because I can't for the life of me figure out how to fix this problem. Upon my return, I upgraded my ports tree, and noticed that portaudit had several new packages listed with security issues. Including jdk1.5 and portupgrade. Well, as usual, I unset JAVA_HOME and ran the portupgrade on jdk and several other packages listed. As always, I used the -RN flags to make sure any dependencies were upgraded as well. I saved the majority of packages to upgrade a little at a time. They all went off without a hitch, except for the jdk15 port. The portupgrade port upgraded first, but I don't imagine the new tool is the one used in the subsequent upgrades. Normally, I upgrade portupgrade first on its own, but this time I didn't. Now, I have several stale dependencies for the jdk15 port. The jdk itself is there, but it's not registered. I tried to force the upgrade (portupgrade -fN) but it fails saying that /usr/local/jdk1.5.0/bin/java is already registered - but not the package. I then tried pkg_info -W /usr/local/jdk1.5.0/bin/java, but it comes back with no output. pkg_which simply returns a '?'. pkgdb -u doesn't seem to do anything. So I've somehow bonked something quite thoroughly. Any suggestions on how best to fix this - preferably without deleting all or most of the packages I have installed? TIA Lou -- Louis LeBlanc FreeBSD-at-keyslapper-DOT-net Fully Funded Hobbyist, KeySlapper Extrordinaire :) Please send off-list email to: leblanc at keyslapper d.t net Key fingerprint = C5E7 4762 F071 CE3B ED51 4FB8 AF85 A2FE 80C8 D9A2 Bunker's Admonition: You cannot buy beer; you can only rent it. pgpTpLy1YCZsJ.pgp Description: PGP signature
Re: hosed the jdk15 port in the pkg db
On 04/18/05 11:47 AM, Louis LeBlanc sat at the `puter and typed: Hey fellow FreeBSD users. I've just returned from a week off, and must have left my brain in Orlando, because I can't for the life of me figure out how to fix this problem. Upon my return, I upgraded my ports tree, and noticed that portaudit had several new packages listed with security issues. Including jdk1.5 and portupgrade. Well, as usual, I unset JAVA_HOME and ran the portupgrade on jdk and several other packages listed. As always, I used the -RN flags to make sure any dependencies were upgraded as well. I saved the majority of packages to upgrade a little at a time. They all went off without a hitch, except for the jdk15 port. The portupgrade port upgraded first, but I don't imagine the new tool is the one used in the subsequent upgrades. Normally, I upgrade portupgrade first on its own, but this time I didn't. Now, I have several stale dependencies for the jdk15 port. The jdk itself is there, but it's not registered. I tried to force the upgrade (portupgrade -fN) but it fails saying that /usr/local/jdk1.5.0/bin/java is already registered - but not the package. I then tried pkg_info -W /usr/local/jdk1.5.0/bin/java, but it comes back with no output. pkg_which simply returns a '?'. pkgdb -u doesn't seem to do anything. So I've somehow bonked something quite thoroughly. Any suggestions on how best to fix this - preferably without deleting all or most of the packages I have installed? It turns out this wasn't a problem in the pkgdb at all. There was some kind of problem unregistering the java vm during the uninstall of the old jdk15 package. I finally realized that the output from the install was referring to a java vm registration, not a package registration: registervm: error: JavaVM /usr/local/jdk1.5.0/bin/java is already registered When I realized this, I ran # unregistervm /usr/local/jdk1.5.0/bin/java then `make install` from /usr/ports/java/jdk15/ and everything worked. Lou -- Louis LeBlanc FreeBSD-at-keyslapper-DOT-net Fully Funded Hobbyist, KeySlapper Extrordinaire :) Please send off-list email to: leblanc at keyslapper d.t net Key fingerprint = C5E7 4762 F071 CE3B ED51 4FB8 AF85 A2FE 80C8 D9A2 Outside of a dog, a book is a man's best friend. Inside a dog it's too dark to read. -- Groucho Marx pgph6N0FAGsYt.pgp Description: PGP signature
Issue compiling JDK15
Hi, I've been attempting to compile JDK15 on my AMD64 laptop. I have linux redhat 8 installed for linux compatibility and the linux-sun-jdk1.4.2 installed so that the /usr/ports/java/jdk15 would use the appropriate javac compiler to compile JDK15 natively. I reach a point where I receive the following message. 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 Stop in /usr/ports/java/jdk15. I've checked and /usr/local/linux-sun-jdk1.4.2/bin/javac exists and permissions appear adequate. For giggles I chmod 777 on the file with the same results. Any thoughts? Thanks ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: JDK15 and JDK14 for Firefox and OpenOffice.
Chris Hodgins wrote: BSD Mail wrote: Greetings, I've installed /usr/ports/java/jdk15 then installed /usr/ports/www/firefox I'm not really sure why Firefox didn't detect that I have JDK15 installed. Also Later I'm going to install OpenOffice. In OO website http://porting.openoffice.org/freebsd/ seems they want to have JDK14. My question is the following: 1. If for some reason OpenOffice can't use JDK15 and it needs JDK14 can I still keep JDK15 installed or that would cause a conflict ? The openoffice Makefile has this: .if !defined(WITHOUT_JAVA) USE_JAVA= yes JAVA_VERSION= 1.4+ JAVA_BUILD= jdk .endif FWIW: I built OO WITHOUT_JAVA, and haven't missed it. Not sure what it was needed for. Admittedly I don't do a lot with OO... docs, spreadsheets, open the occasional M$ Office doc. Everything seems to work just fine without java. You might want to change that to 1.5 and try again. I am just guessing though. 2. What am I missing with Firefox ? If JDK15 doesn't work with Firefox I wil install JKD14, although I thought it should work and be detected by the browser. Do I have to do any linking or specifying a path for the plugin ? If so please elaborate. Thanks in advance. Looks like the firefox Makefile hard-codes the path to the java plugin: JPI_LIST?=\ ${LOCALBASE}/jdk1.4.2/jre/plugin/${ARCH}/ns610/libjavaplugin_oji.so \ ${LOCALBASE}/jdk1.4.1/jre/plugin/${ARCH}/ns610/libjavaplugin_oji.so \ ${LOCALBASE}/diablo-jdk1.3.1/jre/plugin/${ARCH}/ns600/libjavaplugin_oji.so \ ${LOCALBASE}/jdk1.3.1/jre/plugin/${ARCH}/ns600/libjavaplugin_oji.so Perhaps you could add the jdk1.5 path to the very start of this list and try again? The work around would be to just create a softlink manually for 1.5. This is the 1.4.2 link: /usr/X11R6/lib/browser_plugins$ ls -l libjavaplugin_oji.so lrwxr-xr-x1 root wheel 62 Jan 13 19:00 libjavaplugin_oji.so - /usr/local/jdk1.4.2/jre/plugin/i386/ns610/libjavaplugin_oji.so Not sure if this is still true but I believe jdk15 is still in beta or if not, then it has only just been released fully. Chris ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- Regards, Eric ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
JDK15 and JDK14 for Firefox and OpenOffice.
Greetings, I've installed /usr/ports/java/jdk15 then installed /usr/ports/www/firefox I'm not really sure why Firefox didn't detect that I have JDK15 installed. Also Later I'm going to install OpenOffice. In OO website http://porting.openoffice.org/freebsd/ seems they want to have JDK14. My question is the following: 1. If for some reason OpenOffice can't use JDK15 and it needs JDK14 can I still keep JDK15 installed or that would cause a conflict ? 2. What am I missing with Firefox ? If JDK15 doesn't work with Firefox I wil install JKD14, although I thought it should work and be detected by the browser. Do I have to do any linking or specifying a path for the plugin ? If so please elaborate. Thanks in advance. -- Regards, ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: JDK15 and JDK14 for Firefox and OpenOffice.
BSD Mail wrote: Greetings, I've installed /usr/ports/java/jdk15 then installed /usr/ports/www/firefox I'm not really sure why Firefox didn't detect that I have JDK15 installed. Also Later I'm going to install OpenOffice. In OO website http://porting.openoffice.org/freebsd/ seems they want to have JDK14. My question is the following: 1. If for some reason OpenOffice can't use JDK15 and it needs JDK14 can I still keep JDK15 installed or that would cause a conflict ? The openoffice Makefile has this: .if !defined(WITHOUT_JAVA) USE_JAVA= yes JAVA_VERSION= 1.4+ JAVA_BUILD= jdk .endif You might want to change that to 1.5 and try again. I am just guessing though. 2. What am I missing with Firefox ? If JDK15 doesn't work with Firefox I wil install JKD14, although I thought it should work and be detected by the browser. Do I have to do any linking or specifying a path for the plugin ? If so please elaborate. Thanks in advance. Looks like the firefox Makefile hard-codes the path to the java plugin: JPI_LIST?=\ ${LOCALBASE}/jdk1.4.2/jre/plugin/${ARCH}/ns610/libjavaplugin_oji.so \ ${LOCALBASE}/jdk1.4.1/jre/plugin/${ARCH}/ns610/libjavaplugin_oji.so \ ${LOCALBASE}/diablo-jdk1.3.1/jre/plugin/${ARCH}/ns600/libjavaplugin_oji.so \ ${LOCALBASE}/jdk1.3.1/jre/plugin/${ARCH}/ns600/libjavaplugin_oji.so Perhaps you could add the jdk1.5 path to the very start of this list and try again? The work around would be to just create a softlink manually for 1.5. This is the 1.4.2 link: /usr/X11R6/lib/browser_plugins$ ls -l libjavaplugin_oji.so lrwxr-xr-x1 root wheel 62 Jan 13 19:00 libjavaplugin_oji.so - /usr/local/jdk1.4.2/jre/plugin/i386/ns610/libjavaplugin_oji.so Not sure if this is still true but I believe jdk15 is still in beta or if not, then it has only just been released fully. Chris ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: JDK15 and JDK14 for Firefox and OpenOffice.
On Sun, Feb 27, 2005 at 03:54:26PM -0800, BSD Mail wrote: [...] 2. What am I missing with Firefox ? If JDK15 doesn't work with Firefox I wil install JKD14, although I thought it should work and be detected by the browser. JDK1.5 is still in alpha state. There is no working browser-plugin with the port as yet. Use JDK1.4 for a working port. -- Jonathan Chen [EMAIL PROTECTED] -- A person should be able to do a small bit of everything, specialisation is for insects ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]