This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin in Action and have Dmitry Jemerov & Svetlana Isakova on-line!
See this thread for details.
Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Applet does not open in browser  RSS feed

 
Rupali Desai
Ranch Hand
Posts: 42
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,
I have coded an applet which accepts numbers and creates a Linked list from it and displays it in graphical form.It works fine in appletviewer but when I try to upload it in a browser it gives
java.lang.ClassFileNotFound exception:java.util.LinkedList.
Could anyone tell me what am i doing wrong.
thanks
rupali
 
David Kane
Ranch Hand
Posts: 65
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'd bet that you are just using the JVM built into the browser (which is 1.1) and you are using part of the collections API which is not included in that version. (Introduced in 1.2)
* You can get a version of the collections API for 1.1
* Change from LinkedLists to Vectors
* Use the Java Plug-In to specify a newer version of the JVM
Dave
------------------
David Kane
david_kane@houseofyin.com
Author of Software Architecture: Organizational Principles and Patterns
http://www.vraps.com
http://www.houseofyin.com
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!