You are not logged in.

#1 2005-03-29 04:47:39

Dusty
Schwag Merchant
From: Medicine Hat, Alberta, Canada
Registered: 2004-01-18
Posts: 5,986
Website

Java web start

Isn't Java web start supposed to just work?

I've never had any luck with it. I've tried clicking links in firefox, downloading  the jnlp files and running javaws on them, or running javaws on an URL directly. In all three cases, nothing happens. javaws stays open, it doesn't exit immediately, but its not displaying anything or any output either.

Does it work for other people? anybody else have a trick to get it working?

Using updated arch -- firefox and java 5, etc.  Here's one URL I'm playing with:

http://cmusphinx.sourceforge.net/sphinx … pcity.jnlp

its for a speech recognition demo... (thinknig of voice commands in Ensmer, what say?).

Here's another:
http://fluidiom.sourceforge.net/fluidiom.jnlp

These are both sourceforge urls; maybe that's the problem... suggestions?

Dusty

Offline

#2 2005-03-29 04:51:04

Dusty
Schwag Merchant
From: Medicine Hat, Alberta, Canada
Registered: 2004-01-18
Posts: 5,986
Website

Re: Java web start

interesting... 'javaws' without any arguments is supposed to show some kind of webstart manager, but for me its not doing anything either.

Offline

#3 2005-03-29 05:08:00

cactus
Taco Eater
From: t͈̫̹ͨa͖͕͎̱͈ͨ͆ć̥̖̝o̫̫̼s͈̭̱̞͍̃!̰
Registered: 2004-05-25
Posts: 4,622
Website

Re: Java web start

Interesting you brought up this subject. I just got done deleting a bunch of bugtraq updates about a vulnerability in java web start...
don't recall much about it, since I am no longer use java for much, and have never really liked webstart...

*scratches chin*
maybe I should have read it..


"Be conservative in what you send; be liberal in what you accept." -- Postel's Law
"tacos" -- Cactus' Law
"t̥͍͎̪̪͗a̴̻̩͈͚ͨc̠o̩̙͈ͫͅs͙͎̙͊ ͔͇̫̜t͎̳̀a̜̞̗ͩc̗͍͚o̲̯̿s̖̣̤̙͌ ̖̜̈ț̰̫͓ạ̪͖̳c̲͎͕̰̯̃̈o͉ͅs̪ͪ ̜̻̖̜͕" -- -̖͚̫̙̓-̺̠͇ͤ̃ ̜̪̜ͯZ͔̗̭̞ͪA̝͈̙͖̩L͉̠̺͓G̙̞̦͖O̳̗͍

Offline

#4 2005-03-29 06:36:53

Dusty
Schwag Merchant
From: Medicine Hat, Alberta, Canada
Registered: 2004-01-18
Posts: 5,986
Website

Offline

#5 2005-03-29 08:58:46

cactus
Taco Eater
From: t͈̫̹ͨa͖͕͎̱͈ͨ͆ć̥̖̝o̫̫̼s͈̭̱̞͍̃!̰
Registered: 2004-05-25
Posts: 4,622
Website

Re: Java web start

Is java web start installed with arch?
I never had much luck with it, other than a brief stint on a windows box a while back. It worked then, barely, and with questionable consistency...

Also, reading some info on java lately. Is it legal to redistribute a precompiled java? I know the FreeBSD folks cannot legally do so. Novell apparently has permission from Sun (a license?), Mandrake only does with their "commercial version", and redhat does not (they distribute the IBM JVM with their corp versions).

Is this something that might have the potential to bite the Arch devs in the arse legally? Just curious...I am always on the lookout for my "homies".
*winks at arch devs*


"Be conservative in what you send; be liberal in what you accept." -- Postel's Law
"tacos" -- Cactus' Law
"t̥͍͎̪̪͗a̴̻̩͈͚ͨc̠o̩̙͈ͫͅs͙͎̙͊ ͔͇̫̜t͎̳̀a̜̞̗ͩc̗͍͚o̲̯̿s̖̣̤̙͌ ̖̜̈ț̰̫͓ạ̪͖̳c̲͎͕̰̯̃̈o͉ͅs̪ͪ ̜̻̖̜͕" -- -̖͚̫̙̓-̺̠͇ͤ̃ ̜̪̜ͯZ͔̗̭̞ͪA̝͈̙͖̩L͉̠̺͓G̙̞̦͖O̳̗͍

Offline

#6 2005-03-29 16:19:22

Dusty
Schwag Merchant
From: Medicine Hat, Alberta, Canada
Registered: 2004-01-18
Posts: 5,986
Website

Re: Java web start

the javaws command is installed with java 1.5, it just doesn't work.

Sarah31 (contributor) and Xentac (maintainer) have both read the Java license and felt it said it was redistribuble. However, I think we should keep quiet about it, maybe delete both these posts when you've read them.

...will... sel*... d*str**t..........

Dusty

Offline

#7 2005-03-29 18:50:51

cactus
Taco Eater
From: t͈̫̹ͨa͖͕͎̱͈ͨ͆ć̥̖̝o̫̫̼s͈̭̱̞͍̃!̰
Registered: 2004-05-25
Posts: 4,622
Website

Re: Java web start

read em duster. feel free to chop them to oblivion.
wink


"Be conservative in what you send; be liberal in what you accept." -- Postel's Law
"tacos" -- Cactus' Law
"t̥͍͎̪̪͗a̴̻̩͈͚ͨc̠o̩̙͈ͫͅs͙͎̙͊ ͔͇̫̜t͎̳̀a̜̞̗ͩc̗͍͚o̲̯̿s̖̣̤̙͌ ̖̜̈ț̰̫͓ạ̪͖̳c̲͎͕̰̯̃̈o͉ͅs̪ͪ ̜̻̖̜͕" -- -̖͚̫̙̓-̺̠͇ͤ̃ ̜̪̜ͯZ͔̗̭̞ͪA̝͈̙͖̩L͉̠̺͓G̙̞̦͖O̳̗͍

Offline

#8 2005-03-29 22:59:57

wdemoss
Member
From: WV - USA
Registered: 2004-01-18
Posts: 222

Re: Java web start

works fine for me running....

[wdemoss@frisco ~]$ javaws http://cmusphinx.sourceforge.net/sphinx4/zipcity/zipcity.jnlp

Are you using the arch jre? I am using one installed in my home dir, maybe is a permissions thing?


Hobbes : Shouldn't we read the instructions?
Calvin : Do I look like a sissy?

Offline

#9 2005-03-30 15:35:49

Dusty
Schwag Merchant
From: Medicine Hat, Alberta, Canada
Registered: 2004-01-18
Posts: 5,986
Website

Re: Java web start

Yeah, I'm using the Arch install... the real problem here is I'm not getting *any* feedback. I can't find any logs, no errors or warnings or output... its just running and not working. Apparently I'm the only one its not working for.

I've never had any trouble with other aspects of the java install...

Dusty

Offline

#10 2005-03-30 18:17:26

arooaroo
Member
From: London, UK
Registered: 2005-01-13
Posts: 1,268
Website

Re: Java web start

Dusty wrote:

Apparently I'm the only one its not working for.

Nah, I'm not having any luck either. I tried getting WS working a month back as it's quite useful when trying to work through the Swing Tutorial. I have it working fine on my workstation at work (which runs Fedora2 with jdk1.4.2 installed) Like you, there's no feedback with the javaws program installed on AL. I gave up a while back though.

Offline

#11 2005-04-04 11:04:44

ZiXon
Member
Registered: 2005-04-01
Posts: 7

Re: Java web start

jupz same problem here with ALs Java

Offline

#12 2005-04-12 11:03:01

arooaroo
Member
From: London, UK
Registered: 2005-01-13
Posts: 1,268
Website

Re: Java web start

I tried today to resolve this problem of the dormant WebStart. The one distributed with JDK1.5 wasn't doing much so I downloaded the webstart tool (http://java.sun.com/products/javawebstart/download.jsp), unzipped and installed the tool locally in my user space, et voila, it worked first time.

The handy thing too is that it seemed append to .mime.types and so you will see the newly installed javaws as an option when you click on a jnlp file via firefox smile

Offline

#13 2005-04-12 17:16:37

Dusty
Schwag Merchant
From: Medicine Hat, Alberta, Canada
Registered: 2004-01-18
Posts: 5,986
Website

Re: Java web start

thanks, I'll try that. It would be nice to have a permanent solution though... I'm going to post this thread to the bug tracker.

Dusty

http://bugs.archlinux.org/index.php?do=details&id=2554

Offline

#14 2005-04-12 17:29:13

arooaroo
Member
From: London, UK
Registered: 2005-01-13
Posts: 1,268
Website

Re: Java web start

Nice. The thing is, I've not been able to try JDK1.5 on another distro to establish whether its a general problem with the JDK, or whether it was to do with how the AL package was built, i.e., is this an AL bug or a JavaWS bug?

Anyone else had any luck with other distros?

Offline

#15 2005-04-14 08:53:46

scarecrow
Member
From: Greece
Registered: 2004-11-18
Posts: 715

Re: Java web start

arooaroo wrote:

Anyone else had any luck with other distros?

It works in PCLinuxOS, where java is included right after the OS installation.
On Arch, if you extract java 1.5.0 update 2 JRE/SDK, whatever you need, over the Arch binaries, then javaws works fine, but some other things like the Mozilla/Firefox plugin still have some issues.
By the way Sun has issued update 2 many days ago, why there aren't Arch packages yet? (licencing worries maybe?).


Microshaft delenda est

Offline

#16 2005-04-14 09:04:00

arooaroo
Member
From: London, UK
Registered: 2005-01-13
Posts: 1,268
Website

Re: Java web start

scarecrow wrote:

It works in PCLinuxOS, where java is included right after the OS installation.

Hmmm... very interesting.

scarecrow wrote:

On Arch, if you extract java 1.5.0 update 2 JRE/SDK, whatever you need, over the Arch binaries, then javaws works fine, but some other things like the Mozilla/Firefox plugin still have some issues.

But everything else *seems* to work (although, I've not run every binary supplied), so this may be overkill unless you simply want the update - otherwise, just download WS separately.

scarecrow wrote:

By the way Sun has issued update 2 many days ago, why there aren't Arch packages yet? (licencing worries maybe?).

The current Java package has been flagged as out of date, so the packager will be on the case.

Offline

#17 2005-04-15 17:47:03

Dusty
Schwag Merchant
From: Medicine Hat, Alberta, Canada
Registered: 2004-01-18
Posts: 5,986
Website

Re: Java web start

Here's a workaround I just found:

add this to your CLASSPATH:

/opt/java/jre/lib/javaws.jar:/opt/java/jre/lib/deploy.jar

run the following:

java com.sun.javaws.Main http://path/to/jnlp/file

Dusty

Offline

#18 2005-04-17 23:20:11

Dusty
Schwag Merchant
From: Medicine Hat, Alberta, Canada
Registered: 2004-01-18
Posts: 5,986
Website

Re: Java web start

I've managed to clean up, hack, and fix the PKGBUILD for j2re to be a lot cleaner. I'm giving them to Jason to include in the next release of Java.  Most importantly to this topic, java web start seems to work with my version, including the two links that didn't work with the workaround listed above. Webstart should no longer be an issue with the next j2re release.

Dusty

Offline

#19 2005-04-18 08:27:00

arooaroo
Member
From: London, UK
Registered: 2005-01-13
Posts: 1,268
Website

Re: Java web start

Well done that man!

Offline

#20 2005-04-18 16:38:53

Dusty
Schwag Merchant
From: Medicine Hat, Alberta, Canada
Registered: 2004-01-18
Posts: 5,986
Website

Re: Java web start

Screw it, java is segfaulting right and left on me now. I'll get back to you if I fix it. wink

Dusty

Offline

#21 2005-04-18 16:53:32

Dusty
Schwag Merchant
From: Medicine Hat, Alberta, Canada
Registered: 2004-01-18
Posts: 5,986
Website

Re: Java web start

Uh... actually, it seems to be working for me after a clean install of my packages.

I posted the packages as an attachment to the bug report, would you like to test them?

Dusty

Offline

#22 2005-04-19 21:53:26

scarecrow
Member
From: Greece
Registered: 2004-11-18
Posts: 715

Re: Java web start

javaws works fine with the new packages.
Firefox now does not freeze when trying to run signed java applets (in my case it's the web UI of Azureus in https mode), but crashes/vanishes instead. That's also an improvement, saving you from typing "alt+F2" "xkill" and clicking your mouse once after that...  lol
Konqueror's behaviour with the same applet has not changed at all (failing to run the applet), and what's more annoying- this applet runs fine on the windows version of Firefox.


Microshaft delenda est

Offline

#23 2005-04-22 11:13:19

arooaroo
Member
From: London, UK
Registered: 2005-01-13
Posts: 1,268
Website

Re: Java web start

Updated my system today and the new j2re package works a treat! Good work guys smile

Offline

#24 2005-05-07 15:02:47

scarecrow
Member
From: Greece
Registered: 2004-11-18
Posts: 715

Re: Java web start

Update 3 has fixed the browser plugin issue, and javaws works fine as well. Not sure yet if everything is OK, but so far it works fine on Arch (extracted the Sun .bin files over the Arch installation files).


Microshaft delenda est

Offline

Board footer

Powered by FluxBB