LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
LinkBack Search this Thread
Old 01-25-2005, 12:33 PM   #1
Egy
LQ Newbie
 
Registered: Jan 2005
Location: Ukraine
Distribution: Slackware 10
Posts: 8

Rep: Reputation: 0
Problems with Java Web Start (java 1.4.2 - 1.5.0) on Slackware


Hello.

I have a problem with Java Web Start from j2sdk1.4.2_04 and j2sdk1.5.0_1 on Slackware 10 with kde and glibc upgraded to -current. When I run /usr/lib/java/jre/javaws /javaws it starts and do nothing while using all CPU power. The funny thing is that old version of Java Web Start (1.0.1 as opposed to 1.2 which shipped with j2sdk1.4.2 and j2sdk1.50 ) works just fine. I suspect it somehow related to glibc upgrade but the sad thing is that I dont remember whether it worked before my upgrades.

Any suggestions ?
 
Old 01-26-2005, 04:50 AM   #2
carboncopy
Senior Member
 
Registered: Jan 2003
Location: Malaysia
Distribution: Fedora Core, Slackware, Mac OS X, Debian, OpenSUSE
Posts: 1,210
Blog Entries: 4

Rep: Reputation: 45
Maybe you want to roll back glibc update just to try out? Just removepkg glibc<-current> and installpkg glibc<-previous>. Any better idea?
 
Old 01-26-2005, 08:46 AM   #3
Egy
LQ Newbie
 
Registered: Jan 2005
Location: Ukraine
Distribution: Slackware 10
Posts: 8

Original Poster
Rep: Reputation: 0
Thanks for reply.

I'll try it but currently I have no time. Andit will screw up my bright&shiny KDE 3.3 .
If you can please try to run javaws on fully update slack-current.
 
Old 01-26-2005, 09:01 AM   #4
keefaz
Senior Member
 
Registered: Mar 2004
Distribution: Slackware
Posts: 4,282

Rep: Reputation: 66
Be very carefull when removepkg glibc as you may able to do just nothing after that as nearly all
programs are linked to libc (rm, bash, ls, login etc..).

I would even not try the upgradepkg --reinstall, instead I would boot from a live CD to do this
(to be sure) . It happened to me once (I solved the problem by copy the libc.so from the live
slackware CD to /lib of my root partition)
 
Old 01-26-2005, 11:12 AM   #5
carboncopy
Senior Member
 
Registered: Jan 2003
Location: Malaysia
Distribution: Fedora Core, Slackware, Mac OS X, Debian, OpenSUSE
Posts: 1,210
Blog Entries: 4

Rep: Reputation: 45
Thanks for pointing that out keefaz, cause I have no idea that would happen. BUT shouldn't pkgtool and installpkg, removepkg etc. compiled statically? So, after removing glibc and installpkg again, without logging out should be fine? Correct me if I am wrong. am still learning.
 
Old 01-26-2005, 11:44 AM   #6
keefaz
Senior Member
 
Registered: Mar 2004
Distribution: Slackware
Posts: 4,282

Rep: Reputation: 66
There are not binaries executables, they are plain text scripts that rely on binaries compiled
with libc (/bin/dialog, /bin/rm, /bin/mkdir, /bin/chmod, /bin/cat...)
 
Old 01-26-2005, 12:04 PM   #7
Egy
LQ Newbie
 
Registered: Jan 2005
Location: Ukraine
Distribution: Slackware 10
Posts: 8

Original Poster
Rep: Reputation: 0
Thanks for advice about LiveCD, keefaz. I would probably missed it and completely break my system

I'd like to ask anybody with slack -current or 10.1 try to run javaws and share his results if it runs properly at all.

Thanks in advance.
 
Old 01-26-2005, 12:06 PM   #8
keefaz
Senior Member
 
Registered: Mar 2004
Distribution: Slackware
Posts: 4,282

Rep: Reputation: 66
I have the same result as you : nothing and 99.9% CPU usage (barton 2600+ xp here...)
showed by top
 
Old 01-26-2005, 12:14 PM   #9
Egy
LQ Newbie
 
Registered: Jan 2005
Location: Ukraine
Distribution: Slackware 10
Posts: 8

Original Poster
Rep: Reputation: 0
That's funny I don't think it's problem with java itself - i've seem it working on SUSE 9.2 and FC3. May be it's time to submit bug to Patrick ?
 
Old 05-10-2005, 05:57 AM   #10
abrb220
Member
 
Registered: Jul 2003
Location: Roodepoort South Africa
Distribution: Redhat / Suse
Posts: 39

Rep: Reputation: 15
Did you manage to sort this out, as I am getting the same.
Running Redhat advanced server 4 though.
 
Old 05-10-2005, 06:18 AM   #11
Egy
LQ Newbie
 
Registered: Jan 2005
Location: Ukraine
Distribution: Slackware 10
Posts: 8

Original Poster
Rep: Reputation: 0
Yes I did, and it was the problem with Sun JDK.

If you need 1.4.2 JDK you can take this one from Blackdown.org - it works : http://www.blackdown.org/java-linux/java2-status/jdk1.4-status.html

Sun's 1.5 Update 3 works fine, too.
 
Old 05-10-2005, 06:30 AM   #12
abrb220
Member
 
Registered: Jul 2003
Location: Roodepoort South Africa
Distribution: Redhat / Suse
Posts: 39

Rep: Reputation: 15
You are a star, scholar and gentleman.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Java and Web Browser problems. RHLinuxGUY Linux - Software 1 09-25-2005 11:01 AM
Java Web Start, a separate download? TSynergy Linux - Newbie 1 02-21-2005 08:08 PM
Web start java not working (java works fine) powadha Debian 5 06-05-2004 12:57 PM
window.open() function problems (web java) PhilD Programming 1 05-03-2004 04:15 PM
SUSE 9.0- suse help & java web start- take 3mins "before" they start to load Bodkin Linux - Distributions 3 11-16-2003 09:23 AM


All times are GMT -5. The time now is 02:24 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration