linunx 环境移植到aix下,jdk不起作用
如题,一个日终程序从linux下换到aix下,程序驱动不起来,换了aix下的jdk,
是免安装的,在etc/profile下配置了环境变量
JAVA_HOME=/home/scrc/scrc_end/project/AIXJDK5/sdk
PATH=$PATH:$JAVA_HOME/bin
CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar
export JAVA_HOME
export PATH
export CLASSPATH
生效后$JAVA_HOME看下sh: java: Execute permission denied.
提示没有权限,我又赋了读写\执行权限,但还是提示没有权限,实在搞不定了,请知道的人告知下.
在当前用户的./profile下也配置了环境了环境变量都是一样没有权限
total 16608
-rwxrwxrwx 1 scrc dstage 908 May 7 18:31 COPYRIGHT
drwxrwxrwx 2 scrc dstage 8192 May 7 18:31 bin
drwxrwxrwx 10 scrc dstage 8192 May 7 18:33 demo
drwxrwxrwx 21 scrc dstage 8192 May 7 18:34 docs
drwxrwxrwx 2 scrc dstage 8192 May 7 18:34 include
drwxrwxrwx 5 scrc dstage 96 May 7 18:34 jre
drwxrwxrwx 2 scrc dstage 8192 May 7 18:36 lib
-rwxrwxrwx 1 scrc dstage 8450539 May 7 18:31 src.jar
$
这是我整个jkd的权限现在
邮箱:ding_ting@126.com QQ:459178145
shell的启动设置
#!/bin/sh
# *************************************************************************
#
# JAVA_OPTIONS - Java command-line options for running the server. (These
# will be tagged on to the end of the JAVA_VM and MEM_ARGS)
# JAVA_VM - The java arg specifying the VM to run. (i.e. -server,
# -hotspot, etc.)
# MEM_ARGS - The variable to override the standard memory arguments
# passed to java
# LIBPATH -
#
# *************************************************************************
SCRC_HOME=/home/scrc/scrc_end/scrcfile
export SCRC_HOME
JAVA_HOME="../java"
JAVA_OPTIONS="-Dfile.encoding=GBK"
LIBPATH="../lib/antlr-2.7.6rc1.jar"
LIBPATH=${LIBPATH}:../lib/aopalliance.jar
LIBPATH=${LIBPATH}:../lib/asm-2.2.3.jar
LIBPATH=${LIBPATH}:../lib/asm-attrs.jar
LIBPATH=${LIBPATH}:../lib/asm-commons-2.2.3.jar
LIBPATH=${LIBPATH}:../lib/asm-util-2.2.3.jar
LIBPATH=${LIBPATH}:../lib/aspectjrt.jar
LIBPATH=${LIBPATH}:../lib/aspectjweaver.jar
LIBPATH=${LIBPATH}:../lib/backport-util-concurrent-3.0.jar
LIBPATH=${LIBPATH}:../lib/backport-util-concurrent.jar
LIBPATH=${LIBPATH}:../lib/bsh-2.0b4.jar
LIBPATH=${LIBPATH}:../lib/c3p0-0.9.1.1.jar
LIBPATH=${LIBPATH}:../lib/cglib-nodep-2.1_3.jar
LIBPATH=${LIBPATH}:../lib/commonj-twm.jar
LIBPATH=${LIBPATH}:../lib/commons-attributes-api.jar
LIBPATH=${LIBPATH}:../lib/commons-attributes-compiler.jar
LIBPATH=${LIBPATH}:../lib/commons-beanutils-1.7.0.jar
LIBPATH=${LIBPATH}:../lib/commons-codec.jar
LIBPATH=${LIBPATH}:../lib/commons-collections-2.1.1.jar
LIBPATH=${LIBPATH}:../lib/commons-dbcp.jar
LIBPATH=${LIBPATH}:../lib/commons-fileupload.jar
LIBPATH=${LIBPATH}:../lib/commons-httpclient.jar
LIBPATH=${LIBPATH}:../lib/commons-io.jar
LIBPATH=${LIBPATH}:../lib/commons-lang.jar
LIBPATH=${LIBPATH}:../lib/commons-logging.jar
LIBPATH=${LIBPATH}:../lib/commons-pool-1.2.jar
LIBPATH=${LIBPATH}:../lib/core.jar
LIBPATH=${LIBPATH}:../lib/cos.jar
LIBPATH=${LIBPATH}:../lib/dom4j-1.6.1.jar
LIBPATH=${LIBPATH}:../lib/ehcache-1.4.1.jar
LIBPATH=${LIBPATH}:../lib/fileupload-progress.jar
LIBPATH=${LIBPATH}:../lib/freemarker-2.3.8.jar
LIBPATH=${LIBPATH}:../lib/groovy-1.0.jar
LIBPATH=${LIBPATH}:../lib/hessian-3.0.20.jar
LIBPATH=${LIBPATH}:../lib/hibernate-annotations.jar
LIBPATH=${LIBPATH}:../lib/hibernate-commons-annotations.jar
LIBPATH=${LIBPATH}:../lib/hibernate-entitymanager.jar
LIBPATH=${LIBPATH}:../lib/hibernate3.jar
LIBPATH=${LIBPATH}:../lib/howl.jar
LIBPATH=${LIBPATH}:../lib/ibatis-2.3.0.677.jar
LIBPATH=${LIBPATH}