Win a copy of Testing JavaScript Applications this week in the HTML Pages with CSS and JavaScript 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:
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

The applet class can't be found by browser?

 
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I wrote an applet. The applet tag shows that the applet class should be in the same directory as the html file. They are both in the same directory. All class files are there. I am worried that I may have run into a browser incompatability with java 1.2.2. Please tell me I am wrong. What could be the problem?
Thanks
------------------
 
Trailboss
Posts: 23216
IntelliJ IDE Firefox Browser Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Are you using the plug in?
I only use JDK 1.1 for my applet work so I don't have to mess with the plug-in headaches.
 
Ken Buxton
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
nope, not using the plug-in. Shouldn't java2 run on IE5? Where would I get the plugin? Would I need a different plugin for every browser?
------------------
 
paul wheaton
Trailboss
Posts: 23216
IntelliJ IDE Firefox Browser Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I tried the plug in once. I can't imaging putting my users through that.
I just settle for JDK 1.1 stuff. I compile all my applets with the JDK 1.2, and I just make sure not to use the new 1.2 classes.
Are you familiar with the applet console?
 
Ken Buxton
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
nope, havn't heard of applet console.
[This message has been edited by Ken Buxton (edited March 21, 2000).]
 
paul wheaton
Trailboss
Posts: 23216
IntelliJ IDE Firefox Browser Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
On netscape, click on "communicator", then "tools" and then "java console". It will give you more information on why the applet isn't running. Also, your applet can use System.out.println() to send messages to the console.
 
Ken Buxton
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
maybe I should download netscape then. To see how that works.
 
paul wheaton
Trailboss
Posts: 23216
IntelliJ IDE Firefox Browser Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
IE has a java console too. I think it is under the view menu.
 
Ken Buxton
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Acualy the java plugin has a control panel that you can tell to show the console. Then it shows when running an app in IE.
 
Don't get me started about those stupid light bulbs.
    Bookmark Topic Watch Topic
  • New Topic