| |
 | Posted by Regan Heath | Permalink Reply |
|
Regan Heath 
| 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."
http://java.sun.com/products/javawebstart/faq.html#62
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
|