Skip to main content

JAPPLET in JRE 1.5

1 reply [Last post]
hariharakarthi2
Offline
Joined: 2007-02-26
Points: 0

All - I have a Java web application which is supported for Windows 2000 and NT. Users are required to use SUN JRE 1.5. My Application uses a Swing JApplet. There are some supporting JAR (Swingall.jar) files installed on the client to enable the Swing components. It works fine on Windows 2K, but it breaks on Windows XP. More specifically, it throws an Exception:

java.lang.NoClassDefFoundError: com/sun/java/swing/Japplet

Does anybody have any thoughts as to why it works for Windows 2K but won't load the JApplet for Windows XP with SUN JRE 1.5?

Thanks

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
andyherrick
Offline
Joined: 2005-04-17
Points: 0

com/sun/java/swing/Japplet ?
JApplet is in javax.swing.JApplet

com.sun classes are not a public API. , but looking at the source to 1.4.2, there was no com.sun.java.swing.jApplet there either.

/Andy