Re: Geronimo 2 and JVM - Ubuntu
Another thing you can do is to put a executable file caled setenv.sh in gernonimohome/bin containing something like this. --setenv.sh in g bin--- #!/bin/sh JAVA_HOME=/usr/lib/jvm/java-1.5.0-sun JAVA_OPTS=-Djava.awt.headless=true -XX:MaxPermSize=128m -Xms128M -Xmx512M -server --- It will be read at startup with ./startup.sh regards Peter Petersson Jason Warner wrote: Hi Mark, One issue that has been noticed when using Ubuntu is that it's difficult to use the appropriate JVM. The solution I've been using is to recreate the java symlink in /usr/bin and have it point to the proper version of java that you more than likely have already downloaded. Hope this helps, Jason Warner On 9/5/07, *Mark Aufdencamp* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Hi All, I've been blessed by my network administrator with a new P4 Ubuntu workstation of sufficient size and power to give Geronimo 2 and Eclipse 3.3 a whirl. I've noticed some issues arising over the usage of a Jave 6 rather than a Java 5 environment. I've also been following the Harmony project. I'm wondering if anyone is utilizing the Harmony Ubuntu JVM/JRE/JDK for Eclipse and Geronimo development? Any recommendations on setting up Java, Eclipse, or Geronimo on Ubuntu are welcome. Mark Aufdencamp [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
Re: Geronimo 2 and JVM - Ubuntu
I use a SUN jdk. On 9/6/07, Mark Aufdencamp [EMAIL PROTECTED] wrote: Good Tips Jason and Peter! I've used symlinks pointing to different java versions for a number of years, but the setenv.sh is a new one to me. Are you both using SUN JDK's or another (IBM/OpenJDK/Harmony)? Original Message Subject: Re: Geronimo 2 and JVM - Ubuntu From: Peter Petersson [EMAIL PROTECTED] Date: Thu, September 06, 2007 7:11 am To: user@geronimo.apache.org Another thing you can do is to put a executable file caled setenv.sh in gernonimohome/bin containing something like this. --setenv.sh in g bin--- #!/bin/sh JAVA_HOME=/usr/lib/jvm/java-1.5.0-sun JAVA_OPTS=-Djava.awt.headless=true -XX:MaxPermSize=128m -Xms128M -Xmx512M -server --- It will be read at startup with ./startup.sh regards Peter Petersson Jason Warner wrote: Hi Mark, One issue that has been noticed when using Ubuntu is that it's difficult to use the appropr iate JVM. The solution I've been using is to recreate the java symlink in /usr/bin and have it point to the proper version of java that you more than likely have already downloaded. Hope this helps, Jason Warner On 9/5/07, *Mark Aufdencamp* [EMAIL PROTECTED]http://email.secureserver.net/pcompose.php?aEmlPart=0type=replyfolder=INBOX.Apache.Geronimo.Usersuid=892#Compose mailto:[EMAIL PROTECTED]http://email.secureserver.net/pcompose.php?aEmlPart=0type=replyfolder=INBOX.Apache.Geronimo.Usersuid=892#Compose wrote: Hi All, I've been blessed by my network administrator with a new P4 Ubuntu workstation of sufficient size and power to give Geronimo 2 and Eclipse 3.3 a whirl. I've noticed some issues arising over the usage of a Jave 6 rather than a Java 5 environment. I've also been following the Harmony project. I'm wondering if anyone is utilizing the Harmony Ubuntu JVM/JRE/JDK for Eclipse and Geronimo development? Any recommendations on setting up Java, Eclipse, or Geronimo on Ubuntu are welcome. Mark Aufdencamp [EMAIL PROTECTED]http://email.secureserver.net/pcompose.php?aEmlPart=0type=replyfolder=INBOX.Apache.Geronimo.Usersuid=892#Composemailto: [EMAIL PROTECTED]http://email.secureserver.net/pcompose.php?aEmlPart=0type=reply%0A+amp;folder=INBOX.Apache.Geronimo.Usersuid=892#Compose
Re: Geronimo 2 and JVM - Ubuntu
I use sun jdk If you have multiple jvm:s installed you may want to check and/or set the defaults via sudo update-alternatives --config java or sudo update-java-alternatives It will set the symlinks for you. You will find more java/ubuntu related information at https://help.ubuntu.com/community/Java regards Peter Petersson Mark Aufdencamp wrote: Good Tips Jason and Peter! I've used symlinks pointing to different java versions for a number of years, but the setenv.sh is a new one to me. Are you both using SUN JDK's or another (IBM/OpenJDK/Harmony)? Original Message Subject: Re: Geronimo 2 and JVM - Ubuntu From: Peter Petersson [EMAIL PROTECTED] Date: Thu, September 06, 2007 7:11 am To: user@geronimo.apache.org Another thing you can do is to put a executable file caled setenv.sh in gernonimohome/bin containing something like this. --setenv.sh in g bin--- #!/bin/sh JAVA_HOME=/usr/lib/jvm/java-1.5.0-sun JAVA_OPTS=-Djava.awt.headless=true -XX:MaxPermSize=128m -Xms128M -Xmx512M -server --- It will be read at startup with ./startup.sh regards Peter Petersson Jason Warner wrote: Hi Mark, One issue that has been noticed when using Ubuntu is that it's difficult to use the appropr iate JVM. The solution I've been using is to recreate the java symlink in /usr/bin and have it point to the proper version of java that you more than likely have already downloaded. Hope this helps, Jason Warner On 9/5/07, *Mark Aufdencamp* [EMAIL PROTECTED] http://email.secureserver.net/pcompose.php?aEmlPart=0type=replyfolder=INBOX.Apache.Geronimo.Usersuid=892#Compose mailto:[EMAIL PROTECTED] http://email.secureserver.net/pcompose.php?aEmlPart=0type=replyfolder=INBOX.Apache.Geronimo.Usersuid=892#Compose wrote: Hi All, I've been blessed by my network administrator with a new P4 Ubuntu workstation of sufficient size and power to give Geronimo 2 and Eclipse 3.3 a whirl. I've noticed some issues arising over the usage of a Jave 6 rather than a Java 5 environment. I've also been following the Harmony project. I'm wondering if anyone is utilizing the Harmony Ubuntu JVM/JRE/JDK for Eclipse and Geronimo development? Any recommendations on setting up Java, Eclipse, or Geronimo on Ubuntu are welcome. Mark Aufdencamp [EMAIL PROTECTED] http://email.secureserver.net/pcompose.php?aEmlPart=0type=replyfolder=INBOX.Apache.Geronimo.Usersuid=892#Compose mailto:[EMAIL PROTECTED] http://email.secureserver.net/pcompose.php?aEmlPart=0type=reply%0A%20amp;folder=INBOX.Apache.Geronimo.Usersuid=892#Compose
Re: Geronimo 2 and JVM - Ubuntu
Hi Mark, One issue that has been noticed when using Ubuntu is that it's difficult to use the appropriate JVM. The solution I've been using is to recreate the java symlink in /usr/bin and have it point to the proper version of java that you more than likely have already downloaded. Hope this helps, Jason Warner On 9/5/07, Mark Aufdencamp [EMAIL PROTECTED] wrote: Hi All, I've been blessed by my network administrator with a new P4 Ubuntu workstation of sufficient size and power to give Geronimo 2 and Eclipse 3.3 a whirl. I've noticed some issues arising over the usage of a Jave 6 rather than a Java 5 environment. I've also been following the Harmony project. I'm wondering if anyone is utilizing the Harmony Ubuntu JVM/JRE/JDK for Eclipse and Geronimo development? Any recommendations on setting up Java, Eclipse, or Geronimo on Ubuntu are welcome. Mark Aufdencamp [EMAIL PROTECTED]