Win a copy of Learning OpenStack Networking: Build a solid foundation in virtual networking technologies for OpenStack-based clouds this week in the Cloud/Virtualization forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Liutauras Vilda
  • Campbell Ritchie
  • Tim Cooke
  • Bear Bibeault
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Knute Snortum
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Ganesh Patekar
  • Stephan van Hulst
  • Pete Letkeman
  • Carey Brown
Bartenders:
  • Tim Holloway
  • Ron McLeod
  • Vijitha Kumara

Runs Only in Appletviewer  RSS feed

 
Ranch Hand
Posts: 289
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hey,
What's up with my applet ? I can successfully run it with appletviewer but NEVER in the browser.It gives some error like java.lang.NoSuch something found, but whatever the something is can be found in appletviewer nd I can use my applet there. Any Help ?
Herbert.
 
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
dear friend,
the answer for your tag is that first try to make your applet beconverted in to automatic html converter using plug in. or If want any guide see the book called java black book which gives your detail. other wise run in the browser netscape it works on
regards
partha
 
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
Check the APPLET tag in your html file,it should include the class name as CODE="fileName.class".
fileName should be compatible with the java file name(the same name).
i hope that will help.
 
Herbert Maosa
Ranch Hand
Posts: 289
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Partha,
I have tried to use NetScape Navigator and apparently the situation is the same.
Enirad, obviously if it can run in appletviewer, the CODE tag must have been set to the correct class already, otherwise it would not run even in appletviewer.
Any more suggestions ?
Herbert.
 
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I know this is an old topic but I have just been dealing with a problem as such, IE5 and NN tend to be using JDK 1.1, I bet you've used something which is JDK 1.2 and this is what the browser is incapable of finding, Appletviewer has no probs cos it runs Jdk 1.2, try changing any 1.2 methods and replace them with 1.1 methods and try again......
 
Ranch Hand
Posts: 83
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Have a look at the Java Console in IE to see where the error is coming from. The browser is probably using an old version of the JRE (IE 5 uses 1.1 or something ridiculous).
------------------
- Daniel
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!