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]