geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Petersson <pe...@pmb.mine.nu>
Subject Re: Geronimo 2 and JVM - Ubuntu
Date Thu, 06 Sep 2007 15:15:47 GMT
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 <peter@pmb.mine.nu>
>     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* <mark@aufdencamp.com
>     <http://email.secureserver.net/pcompose.php?aEmlPart=0&type=reply&folder=INBOX.Apache.Geronimo.Users&uid=892#Compose>
>
>     > <mailto:mark@aufdencamp.com
>     <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
>     > Mark@Aufdencamp.com
>     <http://email.secureserver.net/pcompose.php?aEmlPart=0&type=reply&folder=INBOX.Apache.Geronimo.Users&uid=892#Compose>
>     <mailto:Mark@Aufdencamp.com
>     <http://email.secureserver.net/pcompose.php?aEmlPart=0&type=reply&%0A%20amp;folder=INBOX.Apache.Geronimo.Users&uid=892#Compose>>
>     >
>     >
>     >
>


Mime
View raw message