Java Question / Error?
I just installed /usr/ports/java/jdk14 and things *seem* to have gone OK, however each time I run java I get this: Java HotSpot(TM) Client VM warning: Can't detect initial thread stack location Is this a problem? If so, how do I correct it? Thanks, Michael - Yahoo! Mail Stay connected, organized, and protected. Take the tour ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Java Question / Error?
Go here: http://unix.derkeiler.com/Mailing-Lists/FreeBSD/newbies/2004-10/0146.html On 6/29/05, M. Goodell [EMAIL PROTECTED] wrote: I just installed /usr/ports/java/jdk14 and things *seem* to have gone OK, however each time I run java I get this: Java HotSpot(TM) Client VM warning: Can't detect initial thread stack location Is this a problem? If so, how do I correct it? Thanks, Michael - Yahoo! Mail Stay connected, organized, and protected. Take the tour ___ 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: Java Question / Error?
On Wed, Jun 29, 2005 at 10:49:46AM -0700, M. Goodell wrote: I just installed /usr/ports/java/jdk14 and things *seem* to have gone OK, however each time I run java I get this: Java HotSpot(TM) Client VM warning: Can't detect initial thread stack location Is this a problem? If so, how do I correct it? You're running the Linux JVM instead of the native one. After you've installed the native JVM, you can deinstall the Linux one. Cheers. -- Jonathan Chen [EMAIL PROTECTED] -- Power corrupts, Absolute Power is pretty neat ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: java question.
Gary Kline wrote: On both my 4.10 system (this one: tao) and one on my 5.3 platforms, I'm *finally* using jdk14. Can I free up the linux-sun-jdk14 binary and space and yet be able to build/rebuild everything Java?? Yes. If you use portupgrade, you might get pkgdb complaining about apache-ant or somesuch depending on the linux-sun-jdk14 port, but that can be fixed easily by running 'pkgdb -F'. All of the Java stuff should pretty much just work(tm) exactly the same with the native jdk14 port, although there may be one or two things that don't either crash or freeze up with the native JDK... When you remove the linux-sun-jdk port, check /usr/local/etc/javavms for sanity. Also check for environment variables like JAVA_HOME, JDK_HOME or CLASSPATH -- for best results those variables should (probably) be unset. Most Java apps should be using /usr/local/bin/javavm which is a shell script that automatically substitutes whatever your favourite JVM is. Those environment variables will override that behaviour, which is something you only want to do if (a) you know what you're doing and (b) that's what you specifically intend to do. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 8 Dane Court Manor School Rd PGP: http://www.infracaninophile.co.uk/pgpkey Tilmanstone Tel: +44 1304 617253 Kent, CT14 0JL UK signature.asc Description: OpenPGP digital signature
java question.
On both my 4.10 system (this one: tao) and one on my 5.3 platforms, I'm *finally* using jdk14. Can I free up the linux-sun-jdk14 binary and space and yet be able to build/rebuild everything Java?? (I'd like it if we had a FBSD version of everything but [*sigh*] that's not the way it is? gary -- Gary Kline [EMAIL PROTECTED] www.thought.org Public service Unix ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: java question.
On Sun, 2 Jan 2005 13:15:31 -0800, Gary Kline wrote On both my 4.10 system (this one: tao) and one on my 5.3 platforms, I'm *finally* using jdk14. Can I free up the linux-sun-jdk14 binary and space and yet be able to build/rebuild everything Java?? Well, I can't say for sure. You have to make sure that your system is indeed using the proper executable and the proper libs. If you have things mixed you can have a serious problem. AFAIK everything is put in /compat/linux ... so deinstalling it wouldn't bring in too much problem. However, unless you have serious disk space problems, I can't see why risk to break stuff if it is not needed. Correct me if any of the above things are wrong, of course :) Cheers, Jorn ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: java question.
On Mon, 3 Jan 2005 07:45, Gary Kline wrote: On both my 4.10 system (this one: tao) and one on my 5.3 platforms, I'm *finally* using jdk14. Can I free up the linux-sun-jdk14 binary and space and yet be able to build/rebuild everything Java?? (I'd like it if we had a FBSD version of everything but [*sigh*] that's not the way it is? gary Yes you can. I deinstalled my linux-java a while back have successfully updated jdk-14 twice since then - you only need the linux version the first tim. Cheers, -- Ian GPG Key: http://homepages.picknowl.com.au/imoore/imoore.asc pgpkNAt7mSSHg.pgp Description: PGP signature
Re: java question.
On Sun, Jan 02, 2005 at 10:57:17PM +0100, Jorn Argelo wrote: On Sun, 2 Jan 2005 13:15:31 -0800, Gary Kline wrote On both my 4.10 system (this one: tao) and one on my 5.3 platforms, I'm *finally* using jdk14. Can I free up the linux-sun-jdk14 binary and space and yet be able to build/rebuild everything Java?? Well, I can't say for sure. You have to make sure that your system is indeed using the proper executable and the proper libs. If you have things mixed you can have a serious problem. AFAIK everything is put in /compat/linux ... so deinstalling it wouldn't bring in too much problem. However, unless you have serious disk space problems, I can't see why risk to break stuff if it is not needed. Thanks. On my laptop that's currently being ports-upgraded I have seen /compat/linux complaints (mostly re mozilla). I *think* future Java builds will work and java will work from the browser... but better to be safe than bashing my head :) gary -- Gary Kline [EMAIL PROTECTED] www.thought.org Public service Unix ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: java question.
On Mon, Jan 03, 2005 at 09:47:49AM +1030, Ian Moore wrote: On Mon, 3 Jan 2005 07:45, Gary Kline wrote: On both my 4.10 system (this one: tao) and one on my 5.3 platforms, I'm *finally* using jdk14. Can I free up the linux-sun-jdk14 binary and space and yet be able to build/rebuild everything Java?? (I'd like it if we had a FBSD version of everything but [*sigh*] that's not the way it is? gary Yes you can. I deinstalled my linux-java a while back have successfully updated jdk-14 twice since then - you only need the linux version the first tim. Outstanding!! gary -- Gary Kline [EMAIL PROTECTED] www.thought.org Public service Unix ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
mod_jk2 + tomcat + java question
Hi, Does anybody have experience with tomcat en mod_jk? I installed java, tomcat5, mod_jk2 and apache2 via the ports. The mod_jk2 module is now loaded in the httpd.conf I copied mod_jk.conf in /usr/local/etc/apache2 and it looks now like this: IfModule mod_jk.c JkWorkersFile /usr/local/etc/apache2/workers.properties JkLogFile logs/jk.log JkLogLevel warn # Sample JkMounts. Replace these with the paths you would # like to mount from your JSP server. JkMount /*.jsp myname.com JkMount /servlet/* myname.com JkMount /examples/* myname.com I also copied workers.properties and workers2.properties to /usr/local/etc/apache2. However, i see errors in the http log: [Wed Nov 24 10:09:50 2004] [error] config.update(): Can't find config file /usr/local/conf/workers2.properties [Wed Nov 24 10:09:50 2004] [error] shm.init(): No file [Wed Nov 24 10:09:51 2004] [notice] Apache/2.0.52 (FreeBSD) mod_jk2/2.0.2 PHP/4.3.9 configured -- resuming normal operations [Wed Nov 24 10:09:51 2004] [error] shm.init(): No file [Wed Nov 24 10:09:51 2004] [error] mod_jk child init 1 0 [Wed Nov 24 10:09:51 2004] [error] shm.init(): No file [Wed Nov 24 10:09:51 2004] [error] shm.init(): No file [Wed Nov 24 10:09:51 2004] [error] shm.init(): No file [Wed Nov 24 10:09:51 2004] [error] shm.init(): No file [Wed Nov 24 10:09:57 2004] [error] shm.init(): No file [Wed Nov 24 10:09:58 2004] [error] shm.init(): No file [Wed Nov 24 10:09:58 2004] [error] shm.init(): No file There is a tomcat dir here: /usr/local/jakarta-tomcat5.0 Any hints how i could make things work? What to change? Bye, Mipam. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: mod_jk2 + tomcat + java question
Does anybody have experience with tomcat en mod_jk? Well, I got Apache2, mod_jk2 with Tomcat 4.1.29 running on FreeBSD 4.9. So I might not be fully up-to-date. First, this seems to bite: JkWorkersFile /usr/local/etc/apache2/workers.properties ^^^ [Wed Nov 24 10:09:50 2004] [error] config.update(): Can't find config file /usr/local/conf/workers2.properties I did not specify a JkWorkersFile in httpd.conf. Just put the workers.properties file into /usr/local/conf directory. Apache seems to try to read the file from the default location. [Wed Nov 24 10:09:50 2004] [error] shm.init(): No file This is a follow-up error since the shm file is declared in workers2.properties. HTH, Dave ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
mozilla java question
Running FreeBSD 5.2.1 with mozilla-1.7.2,2 and jdk-1.3.1p9_4 from ports. When I start mozilla from command line I get following error: LoadPlugin: failed to initialize shared library /usr/local/jdk1.3.1/jre/plugin/i386/ns600/libjavaplugin_oji.so [/usr/local/jdk1.3.1/jre/plugin/i386/ns600/libjavaplugin_oji.so: Undefined symbol _ZTV16nsQueryInterface] Anybody have any ideas about how i can get java to work with this version of mozilla??? ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: quick java question.
--- r.w.h [EMAIL PROTECTED] wrote: hello its me again. now that i have freebsd 90% working the way i want. i have one final ok 2 final questions for now. some of the websites i use require java and flash. i know were the flash-plugin is but as far as java is. i have yet to find it in ports. someone please point me to the port i need please :) make search name=java did not help me all that much. thanks Rob. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Glad to see you sticking with FreeBSD. The binary can be found at: http://www.freebsdfoundation.org/ Both JRE and JDK exist for your downloading pleasure. Pete = ESCape with VI. Cheese A La mode. __ Do you Yahoo!? Yahoo! Finance: Get your refund fast by filing online. http://taxes.yahoo.com/filing.html ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
java question part 2.
ok someone said goto freebsd foundation. here is what thay said. The current release of the JDK and JRE available via the FreeBSD Foundation is 1.3.1. These binaries have been tested and certified to run with FreeBSD 4.8-RELEASE but may also work on other 4.x releases. These binaries are not intended for use with FreeBSD 5.x, due to a binary compatibility issue we are working with the FreeBSD release engineering team to resolve. i forgot to tell the mail list iam on freebsd 5.2.1-RC Thanks Rob Harris ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: java question part 2.
On Mon, Feb 09, 2004 at 08:40:11AM -0500, r.w.h wrote: ok someone said goto freebsd foundation. here is what thay said. The current release of the JDK and JRE available via the FreeBSD Foundation is 1.3.1. These binaries have been tested and certified to run with FreeBSD 4.8-RELEASE but may also work on other 4.x releases. These binaries are not intended for use with FreeBSD 5.x, due to a binary compatibility issue we are working with the FreeBSD release engineering team to resolve. i forgot to tell the mail list iam on freebsd 5.2.1-RC Thanks Rob Harris Dear Rob, As far as I now there doesn't exist any 5.2.1-RC. You either have one of RC versions or the release version of 5.2 or you run CURRENT. With all of these cases I would recerment you to up/down grade to RELENG_5_2 The manual can tell you more about this: www.freebsd.org/handbook/ You have binaries? These might not work. You could compile the port instead. You can do this by executing 'make install clean' from /usr/ports/java/jdk14 - I run 5.2 and it works here so far. -- Alex Articles based on solutions that I use: http://www.kruijff.org/alex/index.php?dir=docs/FreeBSD/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
quick java question.
hello its me again. now that i have freebsd 90% working the way i want. i have one final ok 2 final questions for now. some of the websites i use require java and flash. i know were the flash-plugin is but as far as java is. i have yet to find it in ports. someone please point me to the port i need please :) make search name=java did not help me all that much. thanks Rob. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]