FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Ubuntu > Kubuntu User

 
 
LinkBack Thread Tools
 
Old 02-15-2008, 05:04 AM
"Chris Miller"
 
Default Major Java Errors (Very Odd)

On Thu, Feb 14, 2008 at 9:05 PM, Richard <cms0009@gmail.com> wrote:
> On Thursday 14 February 2008 8:17:41 pm Derek Broughton wrote:
> > Richard wrote:
> > > For Some reason, there is a problem with one computer,
> > > which is running the same setup of Kubuntu 7.10
> > >
> > > My Desktop pass the java applet test,
> > > but my Laptop did not.
> > >
> > > http://www.java.com/en/download/installed.jsp
> > >
> > > Very Odd, since they both have the same SUN Java
> > > and running the same OS Linux
> > > almost a mirror pair, expect for a few more apps on the desktop computer.
> > >
> > > I was using konqueror web browser, while doing this online test,
> > > on both computers... again.. the laptop shown errors ( applet failed)
> > > -------------------------------------------------------------------------
> > >---------
> > >
> > > Java VM version: 1.6.0_03
> >
> > It's not the VM, it's the plugin. Do they both have sun-java6-plugin?

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.

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

--
kubuntu-users mailing list
kubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/kubuntu-users
 
Old 02-15-2008, 03:15 PM
Richard
 
Default Major Java Errors (Very Odd)

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;36i=40;33:s o=01;35:do=01;35:bd=40;33;01:cd=40;33;01r=40;31; 01:su=37;41:sg=30;43:tw=30;42w=34;42:st=37;44:ex =01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=0 1;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:*.ja r=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp =01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=0 1;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@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..

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

TIA
Richard



--
kubuntu-users mailing list
kubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/kubuntu-users
 
Old 02-15-2008, 05:12 PM
"Chris Miller"
 
Default Major Java Errors (Very Odd)

On Fri, Feb 15, 2008 at 8:15 AM, Richard <cms0009@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;36i=40;33:s o=01;35:do=01;35:bd=40;33;01:cd=40;33;01r=40;31; 01:su=37;41:sg=30;43:tw=30;42w=34;42:st=37;44:ex =01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=0 1;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:*.ja r=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp =01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=0 1;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@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/

--
kubuntu-users mailing list
kubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/kubuntu-users
 
Old 02-15-2008, 07:06 PM
Derek Broughton
 
Default Major Java Errors (Very Odd)

Chris Miller wrote:

> On Fri, Feb 15, 2008 at 8:15 AM, Richard <cms0009@gmail.com> wrote:

>> 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.

Hardly nonsense, and it's update-java-alternatives.
>
>> 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.

Yeah, after I installed Java 6, I discovered I had to install Java 5 because
so many apps refused to run on Java 6 (Java programmers seem to have a bad
habit of checking for _specific_ versions, instead of >= versionN). I
won't make that mistake with Java 7.
--
derek


--
kubuntu-users mailing list
kubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/kubuntu-users
 
Old 02-15-2008, 10:14 PM
"Chris Miller"
 
Default Major Java Errors (Very Odd)

On Fri, Feb 15, 2008 at 12:06 PM, Derek Broughton <news@pointerstop.ca> wrote:
> Chris Miller wrote:
> > On Fri, Feb 15, 2008 at 8:15 AM, Richard <cms0009@gmail.com> wrote:
> >> 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.
>
> Hardly nonsense, and it's update-java-alternatives.

I found the whole concept rather inane when I first ran into it.

> >> 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.
>
> Yeah, after I installed Java 6, I discovered I had to install Java 5 because
> so many apps refused to run on Java 6 (Java programmers seem to have a bad
> habit of checking for _specific_ versions, instead of >= versionN). I
> won't make that mistake with Java 7.

I never made that mistake

I think it's because most Java programmers confuse the JDK with the
JRE. The Java Compiler uses the JDK to create byte-code, which is
technically JRE-independent. Moving JRE versions does not change the
binary compatibility. At least that's how I learned it, and I was
fairly deep into Java too.

I think most Java developers are a little brain damaged. The
simplicity of Java and it's build process (it's far easier than any
other language I've ever worked with!) doesn't make the programmer
learn what the computer is actually doing. As a result I don't see a
high level of comprehension about the important details of the Java
language, hence the creation of many silly mistakes like your version
incompatibility.

Once I wrote a fairly comprehensive version comparison for JRE version
verification. That was only because I wasn't sure my application
could run reliably on an older JRE because the application was fairly
resource-intensive and I didn't want to find out how bad it could
crash on JRE 1.4.2 (I was using Java 1.5 at the time, which was a
quantum leap from 1.4.2).

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

--
kubuntu-users mailing list
kubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/kubuntu-users
 

Thread Tools




All times are GMT. The time now is 12:38 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org