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

getting the following error no such method exists

 
Sanjay Datta
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I am getting the following error when my applet is invoked from the javaScript

java.lang.Exception: connectPort{0} :no such method exists
at sun.plugin.com.JavaClass.getMethod1(Unknown Source)
at sun.plugin.com.JavaClass.getDispatcher(Unknown Source)
at sun.plugin.com.DispatchImpl.invokeImpl(Unknown Source)

This happens only JRE version 1.4.2_08 but works fine with 1.5

Thanks,
Sanjay
 
Sanjay Datta
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Guys any ideas..
 
Joe Ess
Bartender
Posts: 9340
10
Linux Mac OS X Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This method:

Does not exist in JDK 1.4.2_8. If you aren't using any 1.5 specific features, try compiling with the following command:

It tells the compiler to generate a JDK 1.4-level class.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic