<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>35024</bug_id>
          
          <creation_ts>2003-12-03 18:23 0000</creation_ts>
          <short_desc>JRE/JDK ebuilds should add jnlp (Java Web Start) file type bindings</short_desc>
          <delta_ts>2008-02-26 18:13:48 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Development</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <keywords>InSVN</keywords>
          <priority>P2</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>keith@cs.oswego.edu</reporter>
          <assigned_to>java@gentoo.org</assigned_to>
          <cc>aether@gentoo.org</cc>
    
    <cc>mike@mikearthur.co.uk</cc>

      

      
          <long_desc isprivate="0">
            <who>keith@cs.oswego.edu</who>
            <bug_when>2003-12-03 18:23:09 0000</bug_when>
            <thetext>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.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>keith@cs.oswego.edu</who>
            <bug_when>2003-12-27 22:24:30 0000</bug_when>
            <thetext>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.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>aether@gentoo.org</who>
            <bug_when>2004-01-05 01:48:43 0000</bug_when>
            <thetext>Could you give me a couple links regarding background for this and why it should b e integrated into java-config?</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>keith@cs.oswego.edu</who>
            <bug_when>2004-01-05 09:51:26 0000</bug_when>
            <thetext>I&apos;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 &quot;javaws &lt;url&gt;&quot;.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>aether@gentoo.org</who>
            <bug_when>2004-01-08 20:38:32 0000</bug_when>
            <thetext>Okay, I&apos;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&apos;s feasible for java-config to do this.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>gentoo@hilli.dk</who>
            <bug_when>2004-03-08 16:10:54 0000</bug_when>
            <thetext>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.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>zx@gentoo.org</who>
            <bug_when>2004-03-26 23:07:28 0000</bug_when>
            <thetext>Jen, this already happens :P

The issue is I guess in having java-config deal with webstart. Or have a javaws-config.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>zx@gentoo.org</who>
            <bug_when>2004-03-26 23:20:42 0000</bug_when>
            <thetext>I think a better solution for this is just to add the webstart crap to the sun ebuilds under gnome/kde flags. Maybe I&apos;m wrong :o</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>keith@cs.oswego.edu</who>
            <bug_when>2004-03-27 09:41:15 0000</bug_when>
            <thetext>It could be done in the ebuilds, and the file association could execute whichever javaws was in the PATH.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>aether@gentoo.org</who>
            <bug_when>2004-04-12 23:20:17 0000</bug_when>
            <thetext>I like the solution of having ebuilds do it, I think java-config already does too much.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>dizzy@roedu.net</who>
            <bug_when>2004-09-01 00:55:46 0000</bug_when>
            <thetext>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 ?</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>compnerd@gentoo.org</who>
            <bug_when>2005-02-04 18:27:49 0000</bug_when>
            <thetext>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).</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>davidgrant@gmail.com</who>
            <bug_when>2005-04-18 10:18:23 0000</bug_when>
            <thetext>As in comment #10, I can&apos;t get java web start working in my browser (firefox). It seems that my friend&apos;s computer, running SUSE does work. I&apos;m not sure if he&apos;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.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>compnerd@gentoo.org</who>
            <bug_when>2005-07-05 20:34:56 0000</bug_when>
            <thetext>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).</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>nichoj@gentoo.org</who>
            <bug_when>2006-01-18 16:28:20 0000</bug_when>
            <thetext>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.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>nichoj@gentoo.org</who>
            <bug_when>2006-02-16 10:01:56 0000</bug_when>
            <thetext>
Once we&apos;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 &quot;$DISPLAY&quot;

And the following to /etc/mime.types:
application/x-java-jnlp-file          jnlp
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>mike@mikearthur.co.uk</who>
            <bug_when>2007-03-19 12:19:33 0000</bug_when>
            <thetext>A little bump to see if this is still being planned.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>caster@gentoo.org</who>
            <bug_when>2007-04-21 17:27:36 0000</bug_when>
            <thetext>Yes, we will probably do it via .desktop file installed by java-config that will call the javaws wrapper.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>mike@mikearthur.co.uk</who>
            <bug_when>2008-02-10 21:32:30 0000</bug_when>
            <thetext>Bump to see if this can be resolved.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>betelgeuse@gentoo.org</who>
            <bug_when>2008-02-11 22:16:55 0000</bug_when>
            <thetext>(In reply to comment #18)
&gt; Bump to see if this can be resolved.
&gt; 

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</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>caster@gentoo.org</who>
            <bug_when>2008-02-12 09:34:23 0000</bug_when>
            <thetext>Supposed? :)

$ grep TryExec projects/java-config-2/trunk/data/javaws.desktop
TryExec=gimp-2.4
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>betelgeuse@gentoo.org</who>
            <bug_when>2008-02-26 18:13:48 0000</bug_when>
            <thetext>java-config-2.1.5 has the file associations</thetext>
          </long_desc>
      
    </bug>

</bugzilla>