To anyone new: skip tutorials about applets. Applets have been marked as deprecated since JDK 9, so sooner or later they will be completely removed from the JDK. Use JavaScript instead of applets, as not only is JavaScript more "modern", but also runs on any browser without the need of a JRE installed.
For those who can't find demo folder, got to JDK download page and underneath the JDK downloads you can find java JDK demos and samples downloads, after downloading the zip file extract it in the JDK folder on your PC and your are good to go.
// serbian lenguage // na srpskom Za one koji ne mogu da nađu applets , on im se nalazi u downloadsu kada ste skidali javu a ne u progam files-u, tako da će tamo naći , naravno u odzipovanom fajlu. Ako nemožete da nađete a vi opet downloadujte sa sajta.
and from this tutorial i noticed that i have checked java folder from program files and i didnt find any demo folder or applets folder after installation. i even tried uninstaling and installing again and the result was same i couldnt find applets folder in the installed folder. Can anyone hel??
Hi i tried the above code and there were no errors found but when a new java window popped up it showd a messege called No main class found and i could find the messege i want to be displayed ?? any idea what went wrong?? thank you..
Firefox doesn't run applets it says "A plugin is needed to display this content" and i can't find the java plugins in my Firefox I heard that I should download both JDK versions (32bit and 64bit) in order to run applets on firefox any help?
Every time I run this in IntelliJ (since this is practice for some basic android stuff), it throws an exception and doesn't run an applet.
Exception in thread "main" java.lang.NoSuchMethodException: sample.main([Ljava.lang.String;) at java.lang.Class.getMethod(Class.java:1786) at com.intellij.rt.execution.application.AppMain.main(AppMain.java:125)
For those who can't find demo folder, got to JDK download page and underneath the JDK downloads you can find java JDK demos and samples downloads, after downloading the zip file extract it in the JDK folder on your PC and your are good to go.
I have my java security as low as I can possibly set it (High) and I cannot run applets with my browser, not even the example ones that are built in to the jdk. I had Windows 7 and now 10 and with either operating system my java security would not allow me to run it. What can I do to be able to run my applets from my computer?
client-libs/java.awt
AppletViewer is deprecated
The AppletViewer tool was deprecated as a part of "JEP C161: Deprecate the Java Plug-in", and its use isn't recommended.
it dont work
Yeay now I Can Make My Own RuneScape
EpIc Style
Slow down to 0.5x. Thank me later.
To anyone new: skip tutorials about applets. Applets have been marked as deprecated since JDK 9, so sooner or later they will be completely removed from the JDK. Use JavaScript instead of applets, as not only is JavaScript more "modern", but also runs on any browser without the need of a JRE installed.
which browser you are using???
Is there any point of using an applet over fx?
Why can't i hear the audio???/
8 years later still helpful XD
I have no demo folder in my java folder ( jdk1.8.0_151)
How do i make a rolling dice?
There's no windows that pops up for me when I run
Do you have any app of your's?
GR8 video M8 I R8 8/8.
I got an error saying no main found. To fix this just put a main method but yo udo not need to put stuff inside.
For those who can't find demo folder, got to JDK download page and underneath the JDK downloads you can find java JDK demos and samples downloads, after downloading the zip file extract it in the JDK folder on your PC and your are good to go.
// serbian lenguage // na srpskom
Za one koji ne mogu da nađu applets , on im se nalazi u downloadsu kada ste skidali javu a ne u progam files-u, tako da će tamo naći , naravno u odzipovanom fajlu. Ako nemožete da nađete a vi opet downloadujte sa sajta.
done with generics already? what about maps?
"Most use of java over internet is applets". We came long way man.
and from this tutorial i noticed that i have checked java folder from program files and i didnt find any demo folder or applets folder after installation. i even tried uninstaling and installing again and the result was same i couldnt find applets folder in the installed folder.
Can anyone hel??
Hi i tried the above code and there were no errors found but when a new java window popped up it showd a messege called No main class found and i could find the messege i want to be displayed ??
any idea what went wrong??
thank you..
Hello guys, i would suggest you to stop learning applets as they are obsolete. It is a waste of time really with limited potential nowadays.
Maybe dumb question , but are applets still in use today? Or are they rather replaced with something new now?
4:16 thanks for telling me I could never have figured it out 😛
hello bro i saved my program as Apex.java
and in cmd prompt i did this
compile- Apex.java
run – appletviewer Apex.java
but nothing is happening
"alt="Your browser understands the <APPLET> tag but isn't running the applet, for some reason." Your browser is completely ignoring the <APPLET> tag!"
It's doing this in both Chrome and Edge. Any ideas on what to do about it?
Firefox doesn't run applets it says "A plugin is needed to display this content" and i can't find the java plugins in my Firefox
I heard that I should download both JDK versions (32bit and 64bit) in order to run applets on firefox
any help?
Every time I run this in IntelliJ (since this is practice for some basic android stuff), it throws an exception and doesn't run an applet.
Exception in thread "main" java.lang.NoSuchMethodException: sample.main([Ljava.lang.String;)
at java.lang.Class.getMethod(Class.java:1786)
at com.intellij.rt.execution.application.AppMain.main(AppMain.java:125)
For those who can't find demo folder, got to JDK download page and underneath the JDK downloads you can find java JDK demos and samples downloads, after downloading the zip file extract it in the JDK folder on your PC and your are good to go.
I have my java security as low as I can possibly set it (High) and I cannot run applets with my browser, not even the example ones that are built in to the jdk. I had Windows 7 and now 10 and with either operating system my java security would not allow me to run it. What can I do to be able to run my applets from my computer?