Re: Using javavmwrapper
On Wed, Apr 05, 2006 at 03:28:26PM -0500, Jeff Cross wrote: > Can anyone give me some guidance in using javavmwrapper? I have > searched high and low (I know someone will post the link I have > overlooked) but can't seem to find any detailed information on how to > use it. I understand that there are some environment variables I can use > to choose between different VMs (linux-sun-jdk-1.4.2, jdk-1.4.2, and > jdk-1.5.0) but I can't seem to locate anything. Try 'man javavm'. > Also, does it only help when compiling ports that use Java or will it > work to run an application with a different VM? Its primary purpose is to run applications with different VMs. -- Greg Lewis Email : [EMAIL PROTECTED] Eyes Beyond Web : http://www.eyesbeyond.com Information Technology FreeBSD : [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: Using javavmwrapper
Jeff Cross wrote: > [LoN]Kamikaze wrote: >> Jeff Cross wrote: >>> Here is the reason I am asking, and maybe someone could shed some light >>> on this as well. >>> >>> I have been using Zend Studio Client 4.0.2 on FreeBSD 6.0-SECURITY for >>> quite some time. I updated my ports and packages (which Zend is not) >>> the other day and it hasn't worked since. >>> >>> So, if I wanted to try running Zend with the jdk15 port, how would I >>> specify that I wanted to use the 1.5 version of the jdk before firing >>> off the process? I wouldn't think that making the change in my >>> make.conf file would do this, would it? >>> >> It would. >> > Thanks a lot for your help Kamikaze. I apologize. With me being > somewhat of a newb to the interworking of FreeBSD, I assumed that the > make.conf file would be referenced hen building a port, not when running > a binary. > > I entered the JAVA_PREFERRED_PORTS variable in the make.conf file and > all is well now! > > Thanks! > > Jeff Cross You might be interested in these incredible news: http://www.freebsdfoundation.org/downloads/java.shtml ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Using javavmwrapper
[LoN]Kamikaze wrote: > Jeff Cross wrote: >> Here is the reason I am asking, and maybe someone could shed some light >> on this as well. >> >> I have been using Zend Studio Client 4.0.2 on FreeBSD 6.0-SECURITY for >> quite some time. I updated my ports and packages (which Zend is not) >> the other day and it hasn't worked since. >> >> So, if I wanted to try running Zend with the jdk15 port, how would I >> specify that I wanted to use the 1.5 version of the jdk before firing >> off the process? I wouldn't think that making the change in my >> make.conf file would do this, would it? >> > > It would. > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "[EMAIL PROTECTED]" > > > Thanks a lot for your help Kamikaze. I apologize. With me being somewhat of a newb to the interworking of FreeBSD, I assumed that the make.conf file would be referenced hen building a port, not when running a binary. I entered the JAVA_PREFERRED_PORTS variable in the make.conf file and all is well now! Thanks! Jeff Cross www.averageadmins.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Using javavmwrapper
Jeff Cross wrote: > > Here is the reason I am asking, and maybe someone could shed some light > on this as well. > > I have been using Zend Studio Client 4.0.2 on FreeBSD 6.0-SECURITY for > quite some time. I updated my ports and packages (which Zend is not) > the other day and it hasn't worked since. > > So, if I wanted to try running Zend with the jdk15 port, how would I > specify that I wanted to use the 1.5 version of the jdk before firing > off the process? I wouldn't think that making the change in my > make.conf file would do this, would it? > It would. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Using javavmwrapper
[LoN]Kamikaze wrote: > Jeff Cross wrote: >> Can anyone give me some guidance in using javavmwrapper? I have >> searched high and low (I know someone will post the link I have >> overlooked) but can't seem to find any detailed information on how to >> use it. I understand that there are some environment variables I can use >> to choose between different VMs (linux-sun-jdk-1.4.2, jdk-1.4.2, and >> jdk-1.5.0) but I can't seem to locate anything. >> > > I do not know where this is documented, but the best way to deal with it > is setting the variable JAVA_PREFERRED_PORTS in your '/etc/make.conf'. I.e. > > JAVA_PREFERRED_PORTS?= JAVA_PORT_NATIVE_BSDJAVA_JDK_1_5 > > for jdk15. The complete list is > > > JAVA_PORT_NATIVE_BSDJAVA_JDK_1_5 > JAVA_PORT_NATIVE_BSDJAVA_JDK_1_4 > JAVA_PORT_NATIVE_BSDJAVA_JDK_1_3 > JAVA_PORT_NATIVE_FREEBSD_JDK_1_3 > JAVA_PORT_NATIVE_BSDJAVA_JDK_1_2 > JAVA_PORT_NATIVE_BSDJAVA_JDK_1_1 > JAVA_PORT_LINUX_SUN_JDK_1_4 > JAVA_PORT_LINUX_SUN_JDK_1_3 > JAVA_PORT_LINUX_SUN_JDK_1_2 > JAVA_PORT_LINUX_BLACKDOWN_JDK_1_4 > JAVA_PORT_LINUX_BLACKDOWN_JDK_1_3 > JAVA_PORT_LINUX_BLACKDOWN_JDK_1_2 > JAVA_PORT_LINUX_IBM_JDK_1_4 > JAVA_PORT_LINUX_IBM_JDK_1_3 > > to be found in '/usr/ports/Mk/bsd.java.mk'. > > >> Also, does it only help when compiling ports that use Java or will it >> work to run an application with a different VM? >> > > You can run software that was built by older versions, but not vice > versa. That means you can run software that was compiled by 1.4 on 1.5 > but not the other way around. Unless you set something like '-target > 1.4' when building. > >> Any assistance is greatly appreciated. >> >> Jeff Cross >> www.averageadmins.com > ___ > [EMAIL PROTECTED] mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-ports > To unsubscribe, send any mail to "[EMAIL PROTECTED]" > > > Here is the reason I am asking, and maybe someone could shed some light on this as well. I have been using Zend Studio Client 4.0.2 on FreeBSD 6.0-SECURITY for quite some time. I updated my ports and packages (which Zend is not) the other day and it hasn't worked since. So, if I wanted to try running Zend with the jdk15 port, how would I specify that I wanted to use the 1.5 version of the jdk before firing off the process? I wouldn't think that making the change in my make.conf file would do this, would it? Thanks in advance! Jeff Cross www.averageadmins.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Using javavmwrapper
Jeff Cross wrote: > Can anyone give me some guidance in using javavmwrapper? I have > searched high and low (I know someone will post the link I have > overlooked) but can't seem to find any detailed information on how to > use it. I understand that there are some environment variables I can use > to choose between different VMs (linux-sun-jdk-1.4.2, jdk-1.4.2, and > jdk-1.5.0) but I can't seem to locate anything. > I do not know where this is documented, but the best way to deal with it is setting the variable JAVA_PREFERRED_PORTS in your '/etc/make.conf'. I.e. JAVA_PREFERRED_PORTS?= JAVA_PORT_NATIVE_BSDJAVA_JDK_1_5 for jdk15. The complete list is JAVA_PORT_NATIVE_BSDJAVA_JDK_1_5 JAVA_PORT_NATIVE_BSDJAVA_JDK_1_4 JAVA_PORT_NATIVE_BSDJAVA_JDK_1_3 JAVA_PORT_NATIVE_FREEBSD_JDK_1_3 JAVA_PORT_NATIVE_BSDJAVA_JDK_1_2 JAVA_PORT_NATIVE_BSDJAVA_JDK_1_1 JAVA_PORT_LINUX_SUN_JDK_1_4 JAVA_PORT_LINUX_SUN_JDK_1_3 JAVA_PORT_LINUX_SUN_JDK_1_2 JAVA_PORT_LINUX_BLACKDOWN_JDK_1_4 JAVA_PORT_LINUX_BLACKDOWN_JDK_1_3 JAVA_PORT_LINUX_BLACKDOWN_JDK_1_2 JAVA_PORT_LINUX_IBM_JDK_1_4 JAVA_PORT_LINUX_IBM_JDK_1_3 to be found in '/usr/ports/Mk/bsd.java.mk'. > Also, does it only help when compiling ports that use Java or will it > work to run an application with a different VM? > You can run software that was built by older versions, but not vice versa. That means you can run software that was compiled by 1.4 on 1.5 but not the other way around. Unless you set something like '-target 1.4' when building. > Any assistance is greatly appreciated. > > Jeff Cross > www.averageadmins.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Using javavmwrapper
Can anyone give me some guidance in using javavmwrapper? I have searched high and low (I know someone will post the link I have overlooked) but can't seem to find any detailed information on how to use it. I understand that there are some environment variables I can use to choose between different VMs (linux-sun-jdk-1.4.2, jdk-1.4.2, and jdk-1.5.0) but I can't seem to locate anything. Also, does it only help when compiling ports that use Java or will it work to run an application with a different VM? Any assistance is greatly appreciated. Jeff Cross www.averageadmins.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"