Skip to Main Content

Java SE (Java Platform, Standard Edition)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

Applet Load Fails JRE 1.5.x - ClassNotFoundException - behavior change?

843798May 11 2005 — edited May 12 2005
Since installing the JRE 1.5.0_02, applet load attempts fail with the error ClassNotFoundException. The same applets load just fine using the JRE 1.4.2*.

For my test cases that fail, my LAN is going through a Proxy Server to get to the Internet.

I can fix this JRE 1.5 load error by specifying my Proxy Server IP Address (either in the Web browser or in the Java Control Panel network settings).

HOWEVER, my question, is this behavior change in the 1.5.x JRE documented, and if so, where? Is this a regression bug? Any other experiences or help/information you can offer?

Thank you for your time and feedback.

Craig

Comments

843798
Which class was not found?
843798
no, and on my machine even Java-1.5 is detecting proxy-settings automatically.
843798
Which class was not found?
The class specified in the code parameter of the Applet tag, which is loaded to start the applet.

Thanks.
843798
no, and on my machine even Java-1.5 is detecting
proxy-settings automatically.
Thanks for the info. I probably should have been more specific in regards to web browser and o/s.

My O/S is Windows2000 Pro (with SPs). The failures occur using IE 6 and the "Automatically detect settings" LAN/Network setting; and with Mozilla Firefox 1.0.3, using the "Auto detect proxy settings for this network" Connections settings. Both these browsers worked with these settings when using the JRE 1.4.2*

Thanks.
796365
Here's the proxy documentation for Java 5:
http://java.sun.com/j2se/1.5.0/docs/guide/deployment/deployment-guide/proxie_config.html
843798
Chuck,

Thanks a lot for the link. However, comparing it with the same from the 1.4.2 docs, I don't see any major differences that would explain why what once worked in the 1.4.2 environment no longer does in the 1.5 JRE (nothing new in 1.5 Deployment that I found). I found nothing in the 5.0 release notes/compatibility info either that would explain this. Maybe JRE 1.5 is just enforcing now what has always been documented?

If you come across any other sources I can investigate, let me know. I'm mainly trying to come up with a fact-based technical story for our hundreds of customers that are going to blame our product Applet for suddenly not working in the JRE 1.5.

Thanks for your help.

Craig
796365
This may not be relevant. It's an excerpt from a Sun chat session.

SDN Chat Sessions
Java Plug-In Technology
SDN Chat Sessions Transcripts Index

April 12, 2005
Guests: Dennis Gu, Calvin Cheung, and Danielle Pham
Moderator: Edward Ort (MDR-EdO)
...

Tom: I have "Automatically detect settings" selected in IE for proxy but I cannot get plug-in to work. Other proxy settings work fine though. Why?

Dennis Gu: Well, because JRE doesn't support it yet. The good news is that we are working on this feature in JRE 6.0.
1 - 7
Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Jun 9 2005
Added on May 11 2005
7 comments
149 views