Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Runs Only in Appletviewer

 
Herbert Maosa
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.
 
partha sarathy
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
 
Anonymous
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.
 
peter waterhouse
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......
 
Daniel Searson
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