Ok,

It fixed.

Here is my configuration for a Ubuntu 10.04 Server 64 bits.

*sudo add-apt-repository "deb http://archive.canonical.com/ lucid **partner**"**
sudo apt-get update*

sudo apt-get install g++-multilib

sudo apt-get install gcc-multilib*
sudo apt-get install sun-java6-jdk   *

sudo update-alternatives --config java

choose java sun ….





* *

*Sudo wget 
http://download.java.net/media/jai/builds/release/1_1_3/jai-1_1_3-lib-linux-amd64-jdk.bin*

* *

*Put it here /usr/lib/jvm/java-6-sun and sudo sh it.*

* *

* *

*Sudo wget 
http://download.java.net/media/jai-imageio/builds/release/1.1/jai_imageio-1_1-lib-linux-amd64-jdk.bin*

* *

Put it here /usr/lib/jvm/java-6-sun

// to fix the corrupt file (export _POSIX2_VERSION=199209) :

sudo su

export _POSIX2_VERSION=199209

Then run *sh jai_imageio-1_1-lib-linux-amd64-jdk-fixed.bin*

* *

*Verify that you are on java 6 sun by :*

*echo $JAVA_HOME*

*/usr/lib/jvm/java-6-sun/*

*Reboot your server, just in case, and Voila !




*



On Sat, Mar 12, 2011 at 9:56 AM, Micka <[email protected]> wrote:

> Hi,
>
> I'm on a ubuntu 10.04 machine.
>
> GeoServer tell that I've :
>
> Version de la JVM Sun Microsystems Inc.: 1.6.0_24 (Java HotSpot(TM) 64-Bit
> Server VM)
>
>
> but it's not compatible with JAI right ?
>
>
> Because I want to follow exactly this tutorial :
>
> http://docs.geoserver.org/latest/en/user/production/java.html
>
>
> I've installed java-6-sun
>
> I'm sure that JAI is installed for Java-6-sun.
>
> I've done a
> sudo update-alternatives --config java
>
> to switch with java-6-sun
>
> I putted the java home in
> sudo nano /etc/default/tomcat6
>
>
> Now, when i'm doing a echo $JAVA_HOME
>
> I've  :
> mickael@devsaas:~$ echo $JAVA_HOME
> /usr/lib/jvm/java-6-sun/
>
> so that part is ok,
>
> but why geoserver still tell me that my version of JVM is
> JVM Sun Microsystems Inc.: 1.6.0_24 (Java HotSpot(TM) 64-Bit Server VM)
>
> and JAI is not enabled (_(
>
>
> I need your help, but i'm continuing my research,
>
>
> Thx,
>
------------------------------------------------------------------------------
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to