Re: Web start on os X : Cannot open associated file.



On Feb 1, 12:02 am, laurent <low...@xxxxxxxxxxx> wrote:
With "Java Web Start", I can associate a custom file type with a Java
application ...
...
Then by double-clicking on associated file type my Java application is
launched and the associated file url is given to my Java application
with the "-open" argument.

It works nicely on Windows (with Java 6) but on Mac os X (10.4.8, java
1.5.0) no arguments, even the file url, is given to my application.

Did I miss something in "Java Web Start" ?

Not sure. Web start may or may not offer any
particular service or ability on specific platforms.
Recently I saw a problem where desktop icons
were supported on Win. but not a Linux variant.

OTOH, I think it is premature to make any
definitive statements without a validation of
your JNLP file (a DTD is included in the dev.
guide, AFAIR), and close inspection of it
(here - publicly).

Also, I have my very own example of usage
of the JNLP API file associations, it is
sandboxed (uses the FileOpen/SaveService)
and small, and I would appreciate test results
from both Win. and Mac. (and Linux).

It is here..
<http://www.physci.org/jws/#fs>

Note that you might score some test
results from other Macs. for your own
JNLP - if it is publicly available and you
psot the URL, but I am running Win XP,
with no Mac. access.

Andrew T.

.



Relevant Pages

  • Re: The Mac Got Cracked... More Details About The Method
    ... The problem turned out to be in the Mac ... OS X implementation of Java. ... Java in your web browsers. ... going on about whether this was a 'local' or 'remote' exploit. ...
    (comp.sys.mac.advocacy)
  • Re: The Mac Got Cracked... More Details About The Method
    ... The problem turned out to be in the Mac ... OS X implementation of Java. ... Java in your web browsers. ... going on about whether this was a 'local' or 'remote' exploit. ...
    (comp.sys.mac.advocacy)
  • Re: R13 on Tiger
    ... If that is the case, the issue may be resolved either by repairing file permissions for X11, or reinstalling the correct version of X11 from the Mac OS X 10.4 DVD under Optional Installs. ... "You have specified multiple/conflicting Java options" would be reported if combining both the -nodesktop and -nojvm flags, which the R13 LCS matlab shell script will do when you are not the console user. ...
    (comp.soft-sys.matlab)
  • Re: trying to use javax.comm.properties package under Apple OS X
    ... I want to attempt to do the same thing on my Mac iBook running Apple OS ... there is no javax.com.properties package for Mac--running ... Before you beat up too badly on Apple, you should know that the Java ...
    (comp.lang.java.programmer)
  • Re: Mac Intel OpenGL error
    ... It's worth noting that Apple's Java uses Cocoa under the skin and we sprinkle in native Cocoa code where it makes sense, but it remains to be seen whether our efforts will ever be seen as "truly native". ... We are investigating the relatively poor result with SPARSE in bench on Intel-based Mac. ... care less about X11, but I like the terminal command window. ... eliminated the X11-based OpenGL renderer on the Mac, ...
    (comp.soft-sys.matlab)