help with distributing my applet
Sorry if this is in the wrong section, it was the only place where this really seemed to fit.
So I was able to upload my very, very simple applet on to a webpage so that I would be able to show it to people easily. I opened the link on my computer and it was able to run perfectly. I then proceeded to test it on a friend's computer to make sure it worked. The applet wouldn't load. I checked the program files to make it sure it had java installed on it. It did have java installed, but NOT jdk. Just to be sure, I reinstalled java and tried again. Still no luck. Then I went in and downloaded JDK and installed it. After that, it started running.
I could be completely wrong, but I thought that java applets/applications were supposed to run without the need of JDK being installed on the computer. Is there any way to make it so they can be run without JDK? Any help is greatly appreciated.
Re: help with distributing my applet
Quote:
Originally Posted by
Jumbosize
Sorry if this is in the wrong section, it was the only place where this really seemed to fit.
So I was able to upload my very, very simple applet on to a webpage so that I would be able to show it to people easily. I opened the link on my computer and it was able to run perfectly. I then proceeded to test it on a friend's computer to make sure it worked. The applet wouldn't load. I checked the program files to make it sure it had java installed on it. It did have java installed, but NOT jdk. Just to be sure, I reinstalled java and tried again. Still no luck. Then I went in and downloaded JDK and installed it. After that, it started running.
I could be completely wrong, but I thought that java applets/applications were supposed to run without the need of JDK being installed on the computer. Is there any way to make it so they can be run without JDK? Any help is greatly appreciated.
What needs to be installed is the Java plugin. That should be installed with the JRE (I think), but is a slightly different install proposition which may need to be repeated (and may be forgotten) when browsers are updated. Test for the plugin at this page:
Verify Java Version
Re: help with distributing my applet
Also look at the browser's java console for error messages.
Also check the versions of java. If your code was compiled with java 1.7 the code will not run on a 1.6 JRE.