ESRI ArcExplorer是一个免费的空间数据浏览软件,也支持LINUX系统(基于JAVA)。
在ubuntu 14.04下安装ESRI ArcExplorer还需要一定的修改,首先需要安装java,openjdk也可以使用,但需要使用6.0版,7.0版执行有问题。
1. 从esri网站上下载linux版本,并解压缩
2. 安装
chmod +x SetupArcExplorer
sudo ./SetupArcExplorer
我选择安装在/usr/local/目录下,即安装在/usr/local/arcgis下,注意在安装过程中,会向JAVA_HOME目录拷贝lib/ext目录,这个目录可以将其移动arcexplorer的自身目录下:
sudo mv /usr/lib/jvm/default-java/lib/ext /usr/local/arcgis/ArcExplorer/lib/
修改/usr/local/arcgis/ArcExplroer/ArcExplorer.sh:
#!/bin/sh
JAVA_HOME=/usr/lib/jvm/java-1.6.0-openjdk-amd64; export JAVA_HOME
AEJHOME=/usr/local/arcgis/ArcExplorer; export AEJHOME
case `uname` in
Solaris) LD_LIBRARY_PATH=/usr/local/arcgis/ArcExplorer/lib:$LD_LIBRARY_PATH; $
SunOS) LD_LIBRARY_PATH=/usr/local/arcgis/ArcExplorer/lib:$LD_LIBRARY_PATH; e$
HP-UX) SHLIB_PATH=-/usr/local/arcgis/ArcExplorer/lib:$SHLIB_PATH; export SH$
AIX) LIBPATH=/usr/local/arcgis/ArcExplorer/lib:$LIBPATH; export LIBPATH;;
Linux) LD_LIBRARY_PATH=/usr/local/arcgis/ArcExplorer/lib:$LD_LIBRARY_PATH; ex$
*)
esac
PATH=/usr/local/arcgis/ArcExplorer/bin:$PATH; export PATH
/usr/local/arcgis/ArcExplorer/bin/aejava
主要是第二行,添加了JAVA_HOME的定义。
修改/usr/local/arcgis/ArcExplorer/bin/aejava,倒数第二行,即:
JARHOME=/usr/local/arcgis/ArcExplorer/lib/ext
这样应该就可以运行了:
/usr/loca/arcgis/ArcExplorer/ArcExplorer.sh
最好在/usr/local/bin/下创建一个符号连接:
sudo ln -s /usr/local/arcgis/ArcExplorer/ArcExplorer.sh /usr/local/bin/arcexplorer
这样就可以在shell中随时启动了。
发表回复