Major Java Errors (Very Odd)

Chris Miller lordsauronthegreat at gmail.com
Fri Feb 15 18:12:22 UTC 2008


On Fri, Feb 15, 2008 at 8:15 AM, Richard <cms0009 at gmail.com> wrote:
> On Friday 15 February 2008 1:04:47 am Chris Miller wrote:
>  > try "which jws" or was it "java-web-start"?
>  >
>  > Try and isolate whether it's on your path.  Java Web Start is an
>  > entirely different executable from the JRE itself.
>
>  Well,
>  I did a env in the terminal to see my path
>
>  KDE_MULTIHEAD=false
>  SSH_AGENT_PID=6354
>  DM_CONTROL=/var/run/xdmctl
>  TERM=xterm
>  SHELL=/bin/bash
>  XDM_MANAGED=/var/run/xdmctl/xdmctl-:0,maysd,mayfn,sched,rsvd,method=classic
>  GTK2_RC_FILES=/home/rn/.gtkrc-2.0-kde:/home/rn/.kde/share/config/gtkrc-2.0
>  GTK_RC_FILES=/etc/gtk/gtkrc:/home/rn/.gtkrc:/home/rn/.kde/share/config/gtkrc
>  GS_LIB=/home/rn/.fonts
>  WINDOWID=56623111
>  KDE_FULL_SESSION=true
>  USER=rn
>  LS_COLORS=no=00:fi=00:di=01;34:ln=01;36:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:su=37;41:sg=30;43:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.gz=01;31:*.bz2=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.avi=01;35:*.fli=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.flac=01;35:*.mp3=01;35:*.mpc=01;35:*.ogg=01;35:*.wav=01;35:
>  SSH_AUTH_SOCK=/tmp/ssh-knawPf6313/agent.6313
>  SESSION_MANAGER=local/elite:/tmp/.ICE-unix/6407
>  KONSOLE_DCOP=DCOPRef(konsole-8031,konsole)
>  PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
>  DESKTOP_SESSION=default
>  KONSOLE_DCOP_SESSION=DCOPRef(konsole-8031,session-1)
>  PWD=/home/rn
>  KDE_SESSION_UID=
>  LANG=en_US.UTF-8
>  HISTCONTROL=ignoreboth
>  HOME=/home/rn
>  SHLVL=1
>  XCURSOR_THEME=DMZ-White
>  LOGNAME=rn
>  LESSOPEN=| /usr/bin/lesspipe %s
>  DISPLAY=:0.0
>  LESSCLOSE=/usr/bin/lesspipe %s %s
>  COLORTERM=
>  _=/usr/bin/env
>  rn at elite:~$
>  ------------
>  as you can see, PATH=
>  I also, went into synaptic and look up the java 6 installs, to see which
>  directory the software got install into.
>
>  WOW, it would appear most of the JAVA is in the "/usr/lib/jvm" , then /usr,
>  then /etc/java-6/
>
>  Q. Since this machine is my desktop machine, which is running the same java6
>  install, as my laptop... and both have the SAME PATH=, for Java...
>  and my Desktop is working FINE, then what gives ? it does not make since..

there's some nonsense with /etc/alternatives that you need to set
then...  I can't remember what.

>  So, it can't be the PATH=, problem, something is not install correctly with
>  JAVA on the Notebook, would appear to be the correct answer...
>  But, I don't know how to find the item or items that are having a problem.
>
>  Some have mention to remove that java and install java 7

I wouldn't suggest that.  Only do that if you're a developer and
trying to make JDK7 compliant stuff.


-- 
Registered Linux Addict #431495
http://profile.xfire.com/mrstalinman | John 3:16!
http://www.fsdev.net/ | http://www.sauron.fsdev.net/




More information about the kubuntu-users mailing list