Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 35024
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Java team <java@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Keith Lea <keith@cs.oswego.edu>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 35024 depends on: Show dependency tree
Bug 35024 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2003-12-03 18:23 0000
java-config should create a file association for JNLP files, Java Web Start
Launchers. (javaws is used to start JNLP files.)

Reproducible: Always
Steps to Reproduce:
1.
2.
3.

------- Comment #1 From Keith Lea 2003-12-27 22:24:30 0000 -------
This is still necessary for 1.4 and earlier, but according to
http://developer.java.sun.com/developer/bugParade/bugs/4811103.html, Java 1.5
(internal build 32 and later) does this automatically.

------- Comment #2 From Jason A. Mobarak 2004-01-05 01:48:43 0000 -------
Could you give me a couple links regarding background for this and why it
should b e integrated into java-config?

------- Comment #3 From Keith Lea 2004-01-05 09:51:26 0000 -------
I'm not sure what you mean by background, but java-config should do this
because the file association needs to be changed based on the current JDK/JRE.
With a file association set for JNLP files, Linux users can click on Java Web
Start links and have the application start up immediately. Without the binding,
users have to copy and paste the URL into the command line and type "javaws
<url>".

------- Comment #4 From Jason A. Mobarak 2004-01-08 20:38:32 0000 -------
Okay, I'll have to look into this later, I need to do some research on
how/where to create the bindings before I can decide wether or not it's
feasible for java-config to do this.

------- Comment #5 From Jens Hilligsøe 2004-03-08 16:10:54 0000 -------
I must say, that I would find it more interesting, that java-config would add
the path to javaws (ie /opt/sun-jdk-1.4.2.03/jre/javaws) to ENV when a JDK/JRE
is chosen.

------- Comment #6 From Chris Aniszczyk (RETIRED) 2004-03-26 23:07:28 0000 -------
Jen, this already happens :P

The issue is I guess in having java-config deal with webstart. Or have a javaws-config.

------- Comment #7 From Chris Aniszczyk (RETIRED) 2004-03-26 23:20:42 0000 -------
I think a better solution for this is just to add the webstart crap to the sun
ebuilds under gnome/kde flags. Maybe I'm wrong :o

------- Comment #8 From Keith Lea 2004-03-27 09:41:15 0000 -------
It could be done in the ebuilds, and the file association could execute
whichever javaws was in the PATH.

------- Comment #9 From Jason A. Mobarak 2004-04-12 23:20:17 0000 -------
I like the solution of having ebuilds do it, I think java-config already does
too much.

------- Comment #10 From Dizzy 2004-09-01 00:55:46 0000 -------
Ok so anything happening here (beeing 8 months since this bug entry was open) ?
I have some office gentoo users which were very happy about Gentoo and Linux
until they found out JNLP links does not work from the browser. Any sugestions
?

------- Comment #11 From Saleem Abdulrasool (RETIRED) 2005-02-04 18:27:49 0000 -------
This should be handled by the ebuilds rather than java-config (similar to how
all the media applications add the proper association through the ebuilds). 
java-config would handle the association to the proper javaws (if there are
multiple j{dk,re}s installed).

------- Comment #12 From David Grant 2005-04-18 10:18:23 0000 -------
As in comment #10, I can't get java web start working in my browser (firefox).
It seems that my friend's computer, running SUSE does work. I'm not sure if
he's using an RPM or just the stuff provided by SUN directly, but it would be
really great if Java web start worked out of the box in gentoo.

------- Comment #13 From Saleem Abdulrasool (RETIRED) 2005-07-05 20:34:56 0000 -------
The Java WebStart problem is far more extensive than just file mimetypes.  We
are working on resolving this issue.  (There is an open bug for that specific
issue...please check it out and comment if it does not work).

------- Comment #14 From Josh Nichols (RETIRED) 2006-01-18 16:28:20 0000 -------
Associating JNLP with javaws will be much easier once we migrate to the new
java-config and eclasses.

The new java-config installs wrapper scripts to
/usr/bin/{java,javac,javaws,etc...}, and these scripts know where to find the
appropriate tool based on the current VM.

------- Comment #15 From Josh Nichols (RETIRED) 2006-02-16 10:01:56 0000 -------
Once we've migrated to the new system, I think we need to add the following to
/etc/mailcap:

application/x-java-jnlp-file; /usr/bin/javaws %s; test=test -n "$DISPLAY"

And the following to /etc/mime.types:
application/x-java-jnlp-file          jnlp

------- Comment #16 From Mike Arthur 2007-03-19 12:19:33 0000 -------
A little bump to see if this is still being planned.

------- Comment #17 From Vlastimil Babka (Caster) 2007-04-21 17:27:36 0000 -------
Yes, we will probably do it via .desktop file installed by java-config that
will call the javaws wrapper.

------- Comment #18 From Mike Arthur 2008-02-10 21:32:30 0000 -------
Bump to see if this can be resolved.

------- Comment #19 From Petteri Räty 2008-02-11 22:16:55 0000 -------
(In reply to comment #18)
> Bump to see if this can be resolved.
> 

Support is now in java-config trunk. To test you can use:
https://overlays.gentoo.org/svn/proj/java/java-experimental/dev-java/java-config

------- Comment #20 From Vlastimil Babka (Caster) 2008-02-12 09:34:23 0000 -------
Supposed? :)

$ grep TryExec projects/java-config-2/trunk/data/javaws.desktop
TryExec=gimp-2.4

------- Comment #21 From Petteri Räty 2008-02-26 18:13:48 0000 -------
java-config-2.1.5 has the file associations

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug