Geoserver and Java (JRE)

I was reinstalling some old system on new O/S.. CentOS release 5.4 (Final)

before this I think was older version.

After few time restarting Geoserver , no luck..
I tried the manual run of the script as follows :

 export JAVA_HOME=$JHOME; export GEOSERVER_HOME=/opt/geoserver;export GEOSERVER_DATA_DIR=/opt/geos_shapefiles; /bin/sh $GEOSERVER_HOME/bin/  > /dev/null  2>1&

it complaining something about java.. then I remembered last time,
there is not using default java shipped with CentOS.

Did a quick check and remove that one..

  rpm -qa | grep java
  yum remove java-1.6.0-openjdk-

followed by reinstallation of packages of old version of java..

rpm -Uvh java-1.6.0-sun-* libXp-1.0.0-8.1.el5.i386.rpm

restarting ..

service geoserver restart

and it works !

so , stick to old ones..

Get Free Email Updates!

Signup now and receive an email once I publish new content.

I will never give away, trade or sell your email address. You can unsubscribe at any time.


Related Post

2 Responses

  1. Patrick says:

    I was just curious as to what you use for your desktop OS? Is it primarily CentOS or Ubuntu? I’m considering CentOS but I haven’t seen many articles about really using it for a workstation.

  2. owen says:

    Did you get further into GWT?

    Btw GWT is just javascript compiled via Java’s JRE, and the produced code is simply javascript. So if you want to code JS the most professional way – like IDE dev support, step debugging, and unit tests – use GWT.

    For me, I just love java. C# had a great future but Microsoft managed to screw it up somehow.


Anything to add?