Win a copy of 97 Things Every Java Programmer Should Know this week in the Java in General 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 ...
  • Campbell Ritchie
  • Paul Clapham
  • Jeanne Boyarsky
  • Junilu Lacar
  • Henry Wong
  • Ron McLeod
  • Devaka Cooray
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Frits Walraven
  • Tim Holloway
  • Carey Brown
  • Piet Souris
  • salvin francis
  • fred rosenberger

applet can't start error!!

Ranch Hand
Posts: 81
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am trying to run an applet which makes a database connection.
I'm using jdk1.2.2, a local Oracle 8.1.7 for unix and the oracle
thin driver found in
Although my classpath points to the file, I got the
ClassNotFoundException when running the applet.
The same setup (path, classpath, jdk1.2.2, oracle 8.1.7) works fine with
all the other standalone java applications.
What is wrong with the applet ?
My html code:
<applet archive=""

The exact error message is :
# Verifier error oracle/jdbc/driver/OracleConnection.initialize(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Loracle/jdbc/dbaccess/DBAccess;Ljava/util/Hashtable V: Cannot find class java/util/Map
java.lang.NoClassDefFoundError: oracle/jdbc/driver/OracleConnection
at java.lang.ClassLoader.resolveClass(Compiled Code)
at java.lang.ClassLoader.loadClassInternal(Compiled Code)
at oracle.jdbc.driver.OracleDriver.getConnectionInstance(Compiled Code)
at oracle.jdbc.driver.OracleDriver.connect(Compiled Code)
at java.sql.DriverManager.getConnection(Compiled Code)
at java.sql.DriverManager.getConnection(Compiled Code)
at app_applet_main12.execSQL(Compiled Code)
at app_applet_main12.init(Compiled Code)
* at netscape.applet.DerivedAppletFrame$InitAppletEvent.dispatch(Compiled Code)
at java.awt.EventDispatchThread$EventPump.dispatchEvents(Compiled Code)
at Code)
at netscape.applet.DerivedAppletFrame$ Code)
Thanks a lot for any help!!
Ranch Hand
Posts: 15304
Mac OS X IntelliJ IDE Chrome
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Although this should probably go in the Applet Section, I think your problem lies within your html file.

That is the object tag in the body of my HTML file to do something similar to what you are doing. The code for Netscape may be a little different. This is for IE. Hope that helps.
[ February 13, 2002: Message edited by: Gregg Bolinger ]
Bala Krishniah
Ranch Hand
Posts: 81
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I dint realize that there's a separate section for applets. I'll post the question there.
I used the HTMLConverter and converterd my HTML. But still I am getting the same error...
Posts: 4121
IntelliJ IDE Spring Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Moving to the Applets forum...

Their achilles heel is the noogie! Give them noogies tiny ad!
Devious Experiments for a Truly Passive Greenhouse!
    Bookmark Topic Watch Topic
  • New Topic