I am starting to learn Java. The actual language is not a problem since I am very experienced with C++, but obviously deployment is very different. I used Netbeans 7.1.1 and created a JApplet and used the “web start” option to generate a small test webpage. It runs perfectly well on my computer, but on any computer without JDK installed it doesn’t work at all. In fact, it redirects to the JRE download page on chrome. Is there a trick? I don’t really know what I’m doing here.
I might need to post more information, but I honestly wouldn’t know what that is, so please add a comment if I need to post more info.
EDIT: It really requires the JDK for some reason. Of course I wouldn’t try to run it on a PC without the JRE. Try it on a PC without the JDK http://dl.dropbox.com/u/416909/wossname/wossname.html
In order to run your java applications, the target computer must have JRE (Java Runtime Environment) installed. Java applications run on JRE, they are not standalone like C++ executables.
The point that confused you is that; when you installed JDK on yur development computer, JRE was silently installed with it too.
Can not test right now, but can you try with a different HTML code using < applet> tags like the following;
the problem might be the “deployJava.runApplet” function in your generated code.