Java applet does not start under JRE7, error is not displayed in console

In Windows 7, the 64-bit version, starting with upgrading to the 32-bit version of JRE-7, in IE9 32-bit or Chrome, I cannot run applets such as this one . Inside the rectangle of the applet, I see the message "Error. Click for more details"

Clicking on the applet block (empty) leads to the dialog box:

Application Error DrawingLines.class There was an error while executing the application. Click "Details" for more information. 

Pressing the Details button opens the Java console, but there are no errors, just

  Java plug-in 10.3.0.5
 Using JRE version 1.7.0_03-b05 Java HotSpot (TM) Client VM
 User home directory = C: \ Users \ Blah
 -------------------------------------------------- -
 c: clear console window
 f: finalize objects on finalization queue
 g: garbage collect
 h: display this help message
 l: dump classloader list
 m: print memory usage
 o: trigger logging
 q: hide console
 r: reload policy configuration
 s: dump system and deployment properties
 t: dump thread list
 v: dump thread stack
 x: clear classloader cache
 0-5: set trace level to 
 -------------------------------------------------- -

The developer tool console is empty in both browsers.

If I reload the page, I end up with a kind of dead end where the browser stops responding.

Any idea why the console doesn't display an error?

(edit) Since my JREs are 32-bit, the 64-bit version of IE9 does not launch applets. This makes sense and the browser displays the message "Your browser is ignoring the APPLET tag" or equivalent. I use 32-bit JREs because I am developing some JMF-based software (which is only compatible with 32-bit JREs).

+3
source share
3 answers

Here is what I did to solve the problem:

Java control panel -> Java tab -> View ... (and control Java Runtime versions and settings for Java applications and applets ...) -> Find

Specify a search in the Java folder in Program Files (for a more efficient search). In my case, the control panel detected an additional JDK (which I also installed). He already knew about the two JREs that I mentioned above.

I accepted new results, and applets now work in Chrome and IE9.

My theory is that something connecting the browsers to the JRE was wrong (the browser was launching the JRE, so I received the console and an error message in the applet's rectangle, but that was incorrect). Scan for JRE again fixes the failure somehow.

+1
source

First check the version of the Java version of your browser plugin: http://www.java.com/en/download/testjava.jsp

I have both Java 6 and 7 installed on 64 bit Windows. My browser plugin is still version 6. I have not updated the plugin for version 7 yet.

+1
source

Windows 7 32 bit

Go to top / all programs / java / configure java Temporary files / Internet settings Installs from one to medium

0
source

Source: https://habr.com/ru/post/915454/


All Articles