When I select a jnlp in the file system and open the Open With ...
dialog I am not able to select the command line javaws application.
There does not appear to be another Java Web Start application on the
system. Before the update there was one located here:
/Applications/Utilities/Java
Running the downloaded jnlp from the command line directly with javaws works.
This is a bit of a problem ...
https://bugreport.apple.com/cgi-bin/WebObjects/RadarWeb.woa/112/wo/K74kkgnkKCDx2u4gW2Pbig/10.56
Scott
Cheers,
- Noah
My situation:
STEP 1:
Firefox (3.0.4): jnlp files start webstart / java, as usual.
Safari (4.0.1): jnlp files open in oxygen
Finder: jnlp files open in oxygen
Get Info: Default setting is "Oxygen". Java does not show under open
with.
(log out/log in)
STEP 2:
Firefox (3.0.4): jnlp files start OXYGEN (changed)
Safari (4.0.1): jnlp files open in oxygen
Finder: jnlp files open in oxygen
Get Info: Default setting is "Oxygen". Java does not show under open
with.
After step #2 the two files are identical, except time info:
$ diff ~/ls_db_dump-1.txt ~/ls_db_dump-2.txt
12201c12201
< reg date: 6/19/2009 10:20:31
---
> reg date: 6/19/2009 12:39:21
This is what they contain regarding jnlp:
--------------------------------------------------------
type id: 3700
uti: com.sun.java-web-start
description: Java web start
flags: exported active core apple-internal
icon:
conforms to: public.xml
tags: .jnlp, application/x-java-jnlp-file,
application/jnlp
--------------------------------------------------------
STEP 3: (opening /System/Library/CoreServices)
Firefox, Safari, Finder, all open JNLPS with Java Web Start.
ls_db_dump-3 has new data in it:
path: /System/Library/CoreServices/Java Web Start.app
name: Java Web Start
identifier: com.apple.JavaWebStart (0x80031174)
canonical id: com.apple.javawebstart (0x8002bc3d)
version: 12.3
mod date: 6/19/2009 9:40:46
reg date: 6/19/2009 12:53:29
type code: 'APPL'
creator code: 'jnlp'
sys version: 0
flags: apple-internal display-name relative-icon-path
ui-element
item flags: container package application extension-hidden
native-app ppc i386 x86_64
icon: Contents/Resources/WebStart.icns
executable: Contents/MacOS/Java Web Start
inode: 22327852
exec inode: 22327857
container id: 32
library:
library items:
--------------------------------------------------------
claim id: 88732
Then I navigated to /System/Library/CoreServices and then restarted
safari, and it opened using web start.
Cheers,
- Noah
I did not launch any JNLPS between the various reboots however.
- noah
And record the results of testing the 3 known user friendly ways to run
a jnlp:
- from firefox
opens dashcode
- from safari
opens dashcode
- from the finder
opens dashcode
And find a .jnlp file in the finder and open "get info" on it and then
select the "open with" section, do you see "Java Web Start.app"?
no it lists DashCode
Step 2 - Try logging out and back in
Now try logging out and back in and then do a second dump:
/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/Support/lsregister
-dump > ~/ls_db_dump-2.txt
(the applications are supposed to be searched for each time you login)
Then test all 3 ways again.
I have already logged out and in several times before collecting
these data so I didn't collect any more.
Step 3 - Try browsing to the folder containing the app
Now try opening the folder in the Finder: /System/Library/CoreServices
do a third dump:
/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/Support/lsregister
-dump > ~/ls_db_dump-3.txt
(the finder is supposed to register all applications it displays)
ls_db_dump-3.txt attached
Then test all 3 ways again.
jnlps now work in Safari, FireFox, and double-clicking in the finder
Here's the diff from the first dump to the one created after step 3:
--- /Users/stephen/ls_db_dump-1.txt 2009-06-19 15:42:03.000000000 -0400
+++ /Users/stephen/ls_db_dump-3.txt 2009-06-19 15:48:20.000000000 -0400
@@ -7505,7 +7505,7 @@
canonical id: com.apple.quicklookdaemon (0x800030b6)
version: 170.9
mod date: 12/16/2008 18:02:16
- reg date: 6/19/2009 10:58:36
+ reg date: 6/19/2009 15:47:07
type code: 'APPL'
creator code: '????'
sys version: 0
@@ -11456,11 +11456,11 @@
bundle id: 14640
path: /System/Library/CoreServices/Jar Launcher.app
name: Jar Launcher
- identifier: com.apple.JarLauncher (0x8004ccee)
+ identifier: com.apple.JarLauncher (0x8004cde5)
canonical id: com.apple.jarlauncher (0x8003727d)
version: 12.3
mod date: 6/18/2009 21:44:47
- reg date: 6/18/2009 21:49:09
+ reg date: 6/19/2009 15:47:20
type code: 'APPL'
creator code: '????'
sys version: 0
@@ -66082,6 +66082,84 @@
library:
library items:
--------------------------------------------------------------------------------
+bundle id: 156464
+ path: /System/Library/CoreServices/Java Web Start.app
+ name: Java Web Start
+ identifier: com.apple.JavaWebStart (0x8004ce0e)
+ canonical id: com.apple.javawebstart (0x8004ce06)
+ version: 12.3
+ mod date: 6/18/2009 21:44:47
+ reg date: 6/19/2009 15:47:20
+ type code: 'APPL'
+ creator code: 'jnlp'
+ sys version: 0
+ flags: apple-internal display-name
relative-icon-path ui-element
+ item flags: container package application
extension-hidden native-app ppc i386 x86_64
+ icon: Contents/Resources/WebStart.icns
+ executable: Contents/MacOS/Java Web Start
+ inode: 17492693
+ exec inode: 17492698
+ container id: 32
+ library:
+ library items:
+ --------------------------------------------------------
+ claim id: 116676
+ name: JNLP files
+ rank: Default
+ roles: Viewer
+ flags: apple-internal relative-icon-path
+ icon: Contents/Resources/jnlp.icns
+ bindings: .jnlp, application/x-java-jnlp-file
+--------------------------------------------------------------------------------
+bundle id: 156592
+ path: /System/Library/CoreServices/rcd.app
+ name: rcd
+ identifier: com.apple.rcd (0x8004ce4f)
+ version: 111
+ mod date: 12/16/2008 18:02:16
+ reg date: 6/19/2009 15:47:20
+ type code: 'APPL'
+ creator code: '????'
+ sys version: 0
+ flags: apple-internal ui-element
+ item flags: container package application
extension-hidden native-app ppc i386
+ icon:
+ executable: Contents/MacOS/rcd
+ inode: 3911472
+ exec inode: 5920157
+ container id: 32
+ library:
+ library items:
+--------------------------------------------------------------------------------
+bundle id: 156720
+ path: /System/Library/CoreServices/Screen Sharing.app
+ name: Screen Sharing
+ identifier: com.apple.ScreenSharing (0x8004ce68)
+ canonical id: com.apple.screensharing (0x8004ce60)
+ version: 1.0.2
+ mod date: 5/21/2009 11:20:14
+ reg date: 6/19/2009 15:47:20
+ type code: 'APPL'
+ creator code: '????'
+ sys version: 0
+ flags: apple-internal display-name relative-icon-path
+ item flags: container package application
extension-hidden native-app scriptable ppc i386
+ icon: Contents/Resources/liaison.icns
+ executable: Contents/MacOS/Screen Sharing
+ inode: 3926195
+ exec inode: 15602450
+ container id: 32
+ library:
+ library items:
+ --------------------------------------------------------
+ claim id: 116704
+ name: vnc URL
+ rank: Default
+ roles: Viewer
+ flags: apple-internal
+ icon:
+ bindings: vnc:
+--------------------------------------------------------------------------------
volume id: 32
path: /
flags: local system system-device
Yes, I rebooted last night while trying to solve the problem also
because of the bluetooth update.
my bug id is: 6987107
I just added to the bugreport what I added to the last message to cc-dev
I also have a thread on the java-dev-apple mailing list with the same info.