• Post Reply Bookmark Topic Watch Topic
  • New Topic

The applet class can't be found by browser?  RSS feed

 
Ken Buxton
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
------------------
 
paul wheaton
Trailboss
Posts: 22574
Firefox Browser IntelliJ IDE 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: 22574
Firefox Browser IntelliJ IDE 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: 22574
Firefox Browser IntelliJ IDE 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: 22574
Firefox Browser IntelliJ IDE 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.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!