digitalmars.D - Java Web Start
- Regan Heath (51/51) Mar 22 2005 Ok, so it's not even a D topic.. I've looked elsewhere and am at the end...
- Derek Parnell (8/13) Mar 22 2005 [snip]
- Regan Heath (4/12) Mar 23 2005 In this case, sadly, no can do. I'm trying to leverage the Java Web Star...
Ok, so it's not even a D topic.. I've looked elsewhere and am at the end of my rope. I'm having trouble with Java Web Start. My problem can acurately be desribed by: "When I start Java Web Start nothing happens except for a Splash Screen." I've tried all 3 options. A: I have JRE 1.5.0_01 B: I've deleted all the download applications and cleared the "Applications Folder". I cannot see a "cache" option specifically. C: I tried this, it brings up a console in which nothing happens, and it just sits there, presumably forever. I also tried the log file option, and the console, neither appear to do anything or say anything at all. I figured it might be my app locking up, so I added code to the start of it, i.e. class Bob { private Bob(String[] args) { init(args); ..etc.. } ..etc.. public static void init(String[] args) { { BufferedWriter w = null; try { w = new BufferedWriter(new FileWriter(new File("c:\\a.a"))); w.write("test"); w.newLine(); w.close(); } catch (IOException ex) { } } ..etc.. } } The file "c:\a.a" does not appear when JWS runs my app. Other interesting factors to note are: 1- The web server supplying the files is my own, perhaps something is wrong with it? The content types passed back for each type of file are: jnlp := application/x-java-jnlp-file jar := application/java-archive 2- The JWS application is a single signed JAR file. 3- The jnlp specifies all-permissions eg. <security> <all-permissions/> </security> I am a relative java newbie, this being my first real project in Java. Does anyone have any ideas or helpful tips to point me in the right direction? Regan
Mar 22 2005
On Wed, 23 Mar 2005 17:51:56 +1200, Regan Heath wrote:Ok, so it's not even a D topic.. I've looked elsewhere and am at the end of my rope.[snip]I am a relative java newbie, this being my first real project in Java. Does anyone have any ideas or helpful tips to point me in the right direction?Port it to D. ;-) -- Derek Melbourne, Australia 23/03/2005 4:53:05 PM
Mar 22 2005
On Wed, 23 Mar 2005 16:53:49 +1100, Derek Parnell <derek psych.ward> wrote:On Wed, 23 Mar 2005 17:51:56 +1200, Regan Heath wrote:In this case, sadly, no can do. I'm trying to leverage the Java Web Start delivery of application to the user. ReganOk, so it's not even a D topic.. I've looked elsewhere and am at the end of my rope.[snip]I am a relative java newbie, this being my first real project in Java. Does anyone have any ideas or helpful tips to point me in the right direction?Port it to D. ;-)
Mar 23 2005