javaws not found

Posted by Hunt on Server Fault See other posts from Server Fault or by Hunt
Published on 2011-03-18T14:57:50Z Indexed on 2012/06/05 4:43 UTC
Read the original article Hit count: 979

Filed under:
|

I have a server which has centos installed in it. Recently I have installed jdk 1.6 into it.

When I try to run java command from shell it's working perfectly fine.

Java is stored into /usr/java/jdk1.6.0_25 and path is set to /usr/bin/ when I type which java.

When I tried running javaws (which comes with the jdk 1.6 only) it is showing me following error:

Java Web Start splash screen process exiting ...
Bad installation: JAVAWS_HOME not set: No such file or directory

Executing env command prints following details:

HOSTNAME=XX-XXX-XXX-XX
TERM=xterm
SHELL=/bin/bash
HISTSIZE=1000
OLDPWD=/usr/java
SSH_TTY=/dev/pts/1
USER=root
LS_COLORS=no=00:fi=00:di=00;34:ln=00;36:pi=40;33:so=00;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:ex=00;32:*.cmd=00;32:*.exe=00;32:*.com=00;32:*.btm=00;32:*.bat=00;32:*.sh=00;32:*.csh=00;32:*.tar=00;31:*.tgz=00;31:*.arj=00;31:*.taz=00;31:*.lzh=00;31:*.zip=00;31:*.z=00;31:*.Z=00;31:*.gz=00;31:*.bz2=00;31:*.bz=00;31:*.tz=00;31:*.rpm=00;31:*.cpio=00;31:*.jpg=00;35:*.gif=00;35:*.bmp=00;35:*.xbm=00;35:*.xpm=00;35:*.png=00;35:*.tif=00;35:
JAVA_PATH=/usr/java/jre1.6.0_24/jre/bin
MAIL=/var/spool/mail/root
PATH=/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin:/usr/java/jre1.6.0_24/jre/bin
INPUTRC=/etc/inputrc
PWD=/usr/lib/jvm/jre-1.6.0-openjdk.x86_64/bin
JAVA_HOME=/usr/java/jre1.6.0_24/jre/bin
LANG=en_US.UTF-8
SSH_ASKPASS=/usr/libexec/openssh/gnome-ssh-askpass
SHLVL=1
HOME=/root
LOGNAME=root
JAVAWS_HOME=/usr/java/jre1.6.0_24/bin
SSH_CONNECTION=175.100.170.26 3387 64.150.190.94 22
LESSOPEN=|/usr/bin/lesspipe.sh %s
G_BROKEN_FILENAMES=1
_=/bin/env

© Server Fault or respective owner

Related posts about centos

Related posts about java