Re: JDK 1.5 and 5.3
Andrew Hall wrote: Greetings, I have a few questions about jdk and 5.3. 1. If one does a src compile, it requires that the linux-sun-jdk to be installed to bootstrap the compile of native jdk. Why would freebsd not use a binary version of it's own native jdk to bootstrap itself? If that's not feasible, then why would the jdk port not immediately remove all the linux crap that it installs if its not needed? If something is only temporary, then it should be removed immediately after use right :)? Sun's licensing terms do not allow the distribution of a binary jdk. The FreeBSD Foundation pushed long and hard to get a license to distribute the diablo-jdk13. I don't know why there hasn't been a diablo-jdk14 released, but I can only assume it involves Sun. 2. Where did the browser plugin go? In 1.3 and 1.4 I symlinked /usr/X11R6/lib/browser_plugins/libjavaplugin_oji.so to what ever jdk I was using. For example: /usr/X11R6/lib/browser_plugins/libjavaplugin_oji.so - /usr/local/jdk1.4.2/jre/plugin/i386/ns610/libjavaplugin_oji.so But in 1.5 I don't see this .so, nor does the plugin directory even exist. Is there a new way I am not aware of? The jdk1.5 port is very young, the patchset-1 was only announced on the 19th: http://lists.freebsd.org/pipermail/freebsd-java/2005-January/003376.html Plugin support was not included with this patchset. Please be patient, the jdk is big and the team porting it is very small. 3. Since the linux jdk is not necessary, is there an easy way to get a list of everything that was installed as the req for the native jdk compile so I may remove it all (and its deps)? pkg_delete knows what to remove and will do as it's told if you pass the -f argument. Read the available documentation before proceeding. -- Jeremy Faulkner [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: JDK 1.5 and 5.3
Jeremy, Thank you very much for your reply. Drew Jeremy Faulkner wrote: Andrew Hall wrote: Greetings, I have a few questions about jdk and 5.3. 1. If one does a src compile, it requires that the linux-sun-jdk to be installed to bootstrap the compile of native jdk. Why would freebsd not use a binary version of it's own native jdk to bootstrap itself? If that's not feasible, then why would the jdk port not immediately remove all the linux crap that it installs if its not needed? If something is only temporary, then it should be removed immediately after use right :)? Sun's licensing terms do not allow the distribution of a binary jdk. The FreeBSD Foundation pushed long and hard to get a license to distribute the diablo-jdk13. I don't know why there hasn't been a diablo-jdk14 released, but I can only assume it involves Sun. 2. Where did the browser plugin go? In 1.3 and 1.4 I symlinked /usr/X11R6/lib/browser_plugins/libjavaplugin_oji.so to what ever jdk I was using. For example: /usr/X11R6/lib/browser_plugins/libjavaplugin_oji.so - /usr/local/jdk1.4.2/jre/plugin/i386/ns610/libjavaplugin_oji.so But in 1.5 I don't see this .so, nor does the plugin directory even exist. Is there a new way I am not aware of? The jdk1.5 port is very young, the patchset-1 was only announced on the 19th: http://lists.freebsd.org/pipermail/freebsd-java/2005-January/003376.html Plugin support was not included with this patchset. Please be patient, the jdk is big and the team porting it is very small. 3. Since the linux jdk is not necessary, is there an easy way to get a list of everything that was installed as the req for the native jdk compile so I may remove it all (and its deps)? pkg_delete knows what to remove and will do as it's told if you pass the -f argument. Read the available documentation before proceeding. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
SUMMARY: Re: JDK 1.5 and 5.3
Thanks for everyone's replies. Here is what I have learned: Basically the 1.5 JDK is still alpha. There was a messages stating that in the compile, but I did not see it. The browser plugin is not included in the 1.5 JDK at this time. The linux JDK is used to compile the native JDK because of a license issue, and not a technology issue. Drew Jeremy Faulkner wrote: Andrew Hall wrote: Greetings, I have a few questions about jdk and 5.3. 1. If one does a src compile, it requires that the linux-sun-jdk to be installed to bootstrap the compile of native jdk. Why would freebsd not use a binary version of it's own native jdk to bootstrap itself? If that's not feasible, then why would the jdk port not immediately remove all the linux crap that it installs if its not needed? If something is only temporary, then it should be removed immediately after use right :)? Sun's licensing terms do not allow the distribution of a binary jdk. The FreeBSD Foundation pushed long and hard to get a license to distribute the diablo-jdk13. I don't know why there hasn't been a diablo-jdk14 released, but I can only assume it involves Sun. 2. Where did the browser plugin go? In 1.3 and 1.4 I symlinked /usr/X11R6/lib/browser_plugins/libjavaplugin_oji.so to what ever jdk I was using. For example: /usr/X11R6/lib/browser_plugins/libjavaplugin_oji.so - /usr/local/jdk1.4.2/jre/plugin/i386/ns610/libjavaplugin_oji.so But in 1.5 I don't see this .so, nor does the plugin directory even exist. Is there a new way I am not aware of? The jdk1.5 port is very young, the patchset-1 was only announced on the 19th: http://lists.freebsd.org/pipermail/freebsd-java/2005-January/003376.html Plugin support was not included with this patchset. Please be patient, the jdk is big and the team porting it is very small. 3. Since the linux jdk is not necessary, is there an easy way to get a list of everything that was installed as the req for the native jdk compile so I may remove it all (and its deps)? pkg_delete knows what to remove and will do as it's told if you pass the -f argument. Read the available documentation before proceeding. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
JDK 1.5 and 5.3
Greetings, I have a few questions about jdk and 5.3. 1. If one does a src compile, it requires that the linux-sun-jdk to be installed to bootstrap the compile of native jdk. Why would freebsd not use a binary version of it's own native jdk to bootstrap itself? If that's not feasible, then why would the jdk port not immediately remove all the linux crap that it installs if its not needed? If something is only temporary, then it should be removed immediately after use right :)? 2. Where did the browser plugin go? In 1.3 and 1.4 I symlinked /usr/X11R6/lib/browser_plugins/libjavaplugin_oji.so to what ever jdk I was using. For example: /usr/X11R6/lib/browser_plugins/libjavaplugin_oji.so - /usr/local/jdk1.4.2/jre/plugin/i386/ns610/libjavaplugin_oji.so But in 1.5 I don't see this .so, nor does the plugin directory even exist. Is there a new way I am not aware of? 3. Since the linux jdk is not necessary, is there an easy way to get a list of everything that was installed as the req for the native jdk compile so I may remove it all (and its deps)? Thank you, Andrew ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: JDK 1.5 and 5.3
Andrew Hall wrote: Greetings, I have a few questions about jdk and 5.3. 1. If one does a src compile, it requires that the linux-sun-jdk to be installed to bootstrap the compile of native jdk. Why would freebsd not use a binary version of it's own native jdk to bootstrap itself? If that's not feasible, then why would the jdk port not immediately remove all the linux crap that it installs if its not needed? If something is only temporary, then it should be removed immediately after use right :)? 1) I think you are touching into the licence discussion that appeared recently. 2) yes you can deinstall the linux binaries. New question: Can one upgrade jdk without installing the linux binaries again? Cheers, Erik -- Ph: +34.666334818 web: http://www.locolomo.org S/MIME Certificate: http://www.locolomo.org/crt/2004071206.crt Subject ID: A9:76:7A:ED:06:95:2B:8D:48:97:CE:F2:3F:42:C8:F2:22:DE:4C:B9 Fingerprint: 4A:E8:63:38:46:F6:9A:5D:B4:DC:29:41:3F:62:D3:0A:73:25:67:C2 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: JDK 1.5 and 5.3
Erik Norgaard wrote: Andrew Hall wrote: Greetings, I have a few questions about jdk and 5.3. 1. If one does a src compile, it requires that the linux-sun-jdk to be installed to bootstrap the compile of native jdk. Why would freebsd not use a binary version of it's own native jdk to bootstrap itself? If that's not feasible, then why would the jdk port not immediately remove all the linux crap that it installs if its not needed? If something is only temporary, then it should be removed immediately after use right :)? 1) I think you are touching into the licence discussion that appeared recently. 2) yes you can deinstall the linux binaries. New question: Can one upgrade jdk without installing the linux binaries again? From everything I read online you do not need the linux jdk once you have a working native jdk. Any idea about the missing browser plugin? Drew Cheers, Erik ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: JDK 1.5 and 5.3
Andrew Hall wrote: snip Any idea about the missing browser plugin? Which browser? For Firefox one way to get a functional Java plugin is simply to install the JDK before you build Firefox. -- Tabor Kelly [EMAIL PROTECTED] http://tabor.taborandtashell.net ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: JDK 1.5 and 5.3
Tabor Kelly wrote: Andrew Hall wrote: snip Any idea about the missing browser plugin? Which browser? For Firefox one way to get a functional Java plugin is simply to install the JDK before you build Firefox. Well sorta. I installed firefox, then built jdk, then removed firefox, then rebuilt from ports and about:plugins show sqat for jdk. Can you force firefox to find java again after install? Drew ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: JDK 1.5 and 5.3
Sorry to reply to my own post Andrew Hall wrote: Tabor Kelly wrote: Andrew Hall wrote: snip Any idea about the missing browser plugin? Which browser? For Firefox one way to get a functional Java plugin is simply to install the JDK before you build Firefox. Well sorta. I installed firefox, then built jdk, then removed firefox, then rebuilt from ports and about:plugins show sqat for jdk. Can you force firefox to find java again after install? Even if you can, the fact that the plugin is missing from the jdk 1.5 is whats bothering me. There is no plugins dir, as there should be. Drew Drew ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions 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: JDK 1.5 and 5.3
Andrew Hall wrote: snip Any idea about the missing browser plugin? Which browser? For Firefox one way to get a functional Java plugin is simply to install the JDK before you build Firefox. I think on Konqueror you just need to set in the configurations the path to javac, well at least that seemed to work for me with jdk-1.4.2-p6... cali ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]