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: [email protected] > > 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=0&type=reply&folder=INBOX.Apache.Geronimo.Users&uid=892#Compose> > > <mailto:[EMAIL > > PROTECTED]<http://email.secureserver.net/pcompose.php?aEmlPart=0&type=reply&folder=INBOX.Apache.Geronimo.Users&uid=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=0&type=reply&folder=INBOX.Apache.Geronimo.Users&uid=892#Compose><mailto: > [EMAIL > PROTECTED]<http://email.secureserver.net/pcompose.php?aEmlPart=0&type=reply&%0A+amp;folder=INBOX.Apache.Geronimo.Users&uid=892#Compose> > > > > > > > > > >
