java 7 update25 applet not working on IE10 - applet

Anyone has success of running applet page below with IE10 installing the jre7u25?
http://www.java.com/en/download/testjava.jsp
Are there any way to disable update of java when using runapplet below?
http://docs.oracle.com/javase/6/docs/technotes/guides/jweb/deployment_advice.html

Anyone has success of running applet page below with IE installing the jre7u25?
I don't use Windows, but I'm sure someone has. At least for some version of IE. It is (frankly) implausible that it doesn't work in the vast majority of cases.
Please be specific about what version of Windows and IE you are talking about, and how it is "not working" for you.
Are there any way to disable update of java when using runapplet(jnlp) below?
This doesn't make sense. JNLP doesn't update Java.
The problem with Java and IE10 seems to be to do with 32bit versus 64bit. Apparently IE10 defaults to running in 32bit mode, even on a 64bit platform. And a 32bit browser requires a 32bit Java plugin.
Check what versions of Java you have actually got installed.
Try switching IE10 to "Enhanced Protection Mode" and see if it can find 64bit Java.
Try manually installing a 32bit Java.
Reference:
http://www.java.com/en/download/faq/win8_faq.xml

I figured out why the problem occurs.
IE10 runs in 64bit frame but the tab runs in 32bit mode.
There is a way to run tab in 64 bit mode in windows8.
http://www.lockergnome.com/windows/2012/08/25/how-to-make-internet-explorer-10-run-in-64-bit/
But it doesn't work in windows7.
I tried with chrome ie tab which runs chrome and ie in 32bit mode in which the applet works.

I had problems too with my applet. In Google Chrome from the start works perfectly.
Internet explorer 10 seems not recognize new Java 7 u 25 installed on PC after automatic upgrade.
I solved problem with next steps:
uninstall all Java 7 versions on PC
Download Java package on http://www.oldapps.com/java.php (depending what you need 32 or 64 bit)
install Java
After that IE10 recognized Java and applet works fine.

Maybe just add the env var like the next post says. That functions for me!!!
https://forums.oracle.com/thread/2530883?tstart=0
And add too the parameter at execution time like the next post
http://nicolask.wordpress.com/2012/11/30/oracle-jnitiator-version-too-low-please-install-version-1-1-8-2-or-higher/
I hope this help you!!! And as an advice use chrome for better performance.

The only way I could get the latest java (7 update 25, 32 bit) to run ALL THE TIME in Internet Explorer 10 desktop mode (in Windows 8 64 bit) was to create a new shortcut to:
"C:\Program Files (x86)\Internet Explorer\iexplore.exe
Then hitting advanced (in the shortcut) and choosing RUN AS ADMINISTRATOR
If you do not want to do that (for security reasons), the work around that I found, was to install Chrome (as Java works all the time) and use that for sites that require Java.
I hope that helps

the 64-bit java plugin is not compatible with Enhanced Protected Mode, which is a new type of sandbox they have for IE10 and IE11.
Therefore , disable Enhanced Protected Mode, install 32-bit JRE and now IE should run 32-bit child processes for each window, which will be compatible with Your 32-bit Java plugin.
This is valid for the desktop-mode IE in Win8. The new-flat-unintuitive-mode IE has Enhanced Protected Mode enable per default. You can check by using Process Explorer, and showing the Integrity column. If "AppContainer" is displayed, then EPM is used
Hope this helps

Related

Can't get SWT Browser to work in standalone RCP app on CentOS

My RCP app running in CentOS 6.7 uses the SWT Browser. It works properly when launching the app from within eclipse, but when I run it as a standalone app, the Browser cannot be instantiated, and a SWT Exception with message "No more handles" is thrown. I prefer to use the browser with style SWT.WEBKIT, but it doesn't work with style SWT.NONE either.
I have the latest versions of packages webkitgtk, webkitgtk-devel, and gtk2 installed. I tried using style SWT.NONE and set env variable MOZILLA_FIVE_HOME to point to the firefox installation directory, the xulrunner executable, and even the google-chrome installation. I also added $MOZILLA_FIVE_HOME to LD_LIBRARY_PATH. If I have anything set for MOZILLA_FIVE_HOME the app segfaults when the Browser is instantiated. If I don't set MOZILLA_FIVE_HOME I get the SWT exception.
The SWT documentation says that if I have webkitgtk installed, eclipse will detect it automatically. But it also says that with eclipse 4.2 and later it works with gtk3 by default. I don't see any gtk3 packages.
I'm using Eclipse SDK 4.4.2 in my target, but my app is an Eclipse 3 app. So perhaps this is an error in the compatibility layer. I can try using an Eclipse 3.x SDK, but I'd rather not do that. The SWT plugin being installed is version 3.102.xxx.
As I said, the app works when launched inside eclipse, so am I perhaps missing a plugin in my built product? I see the swt.gtk plugins installed, but I don't know what else to look for. Also the standalone app works properly in Ubuntu.
The following entries in eclipse.ini enable the Browser control to work in CentOS 6.7 with style SWT.NONE
-vmargs
-Dorg.eclipse.swt.browser.DefaultType=mozilla
-Dorg.eclipse.swt.browser.XULRunnerPath=/path/to/xulrunner/
This also requires that a supported version of xulrunner be installed (1.9.2 worked for me), as precisely specified in the SWT FAQ. NB: The following caveat is stated in the FAQ regarding the possible use of firefox as a xulrunner instance:
Also note that a Firefox release whose contained Gecko version
correlates with the Mozilla versions above can also be used with
Eclipse 3.1 and newer (Linux only), provided that it has been compiled
with linkable Gecko libraries. It is important to note that Firefox
downloads from mozilla.org do not satisfy this criteria, but Firefox
installations that are included in major Linux distributions often do
in the absence of a XULRunner installation. Attempting to use a
Firefox install without linkable Gecko libraries will throw an error
with message "No more handles [NS_InitEmbedding...error -2147221164]".
The firefox installed on my CentOS 6.7 system doesn't seem to have the linked gecko libraries, but I may have manually installed a differerent version at some point.
There appears to be no way to use Eclipse 4.4 or newer with webkit on CentOS 6.7, since gtk3 is required per the FAQ, and the only reference I found to installing gtk3 on CentOS 6.x said that it would be very difficult.
The FAQ is confusing to me on a couple points. It seems to contradict itself, saying that a compliant xulrunner can be used with eclipse 4.4 and then saying that it cannot, because eclipse 4.4 "uses GTK 3 by default" and xulrunner has not been ported to gtk3. My SWT installation appears to be built for gtk3, but it did not prevent me from using xulrunner. Furthermore, saying that gtk3 is used by default seems to imply that it's possible to use some other version of gtk, but hours of searching turned up no information on that.
If anyone knows how to make eclipse 4.4 work with gtk2, I would greatly appreciate it. I'm not happy at all about being forced to use gecko for eclipse 4.4 apps running in CentOS 6.x.
EDIT: It occurs to me that a big unanswered question is why the Browser doesn't throw the exception with style SWT.WEBKIT and no XulRunnerPath property set when I launch the app from within eclipse. I'd really like to understand that.

Running an applet without Java

Is there a way to run an applet in a browser without JRE or JDK on the machine?
If not, is there a way to run an applet in a browser with a light plugin?
No, there is no solution : an applet needs a JVM to run.
When you install a Java Plugin in your browser, it installs a JRE.
You could run the applet on another machine (perhaps a virtual machine in the other common sense), and then use a remote desktop. The is similar to the way Opera for mobiles works.

My app created on XP does not run on Windows 7

I am trying to run an app I created at work (I sent myself the .exe file) so that I could see how it looks on Windows 7.
My laptop (running 64-bit Windows 7) won't even open it, though. It opens some compatibility wizard to try to rectify whatever the problem is, but that doesn't work either.
Is there anything I need besides the .exe itself, that I should have copied over?
A team member using Windows 7 can run it (by checking it out of Subversion and running it in the VS IDE, anyway), but the display if "off" (The FlowLayoutPanel's controls are experiencing a kind of "wardrobe malfunction"). But I, as mentioned, can't even run it.
What might be the problem/solution?
If you are running the Professional edition of Windows 7 or higher then it will include the option to install the "Windows XP Virtual Machine". You can then run your app as normal under the virtual machine, quckest and easiest way to resolve these sort of issues in Windows 7.

Java App started as service on 64bit environment, but doesn't work

I have installed 64bit jre on my pc (starts in mixed mode), then i compiled my Java application in 64bit mode. It starts prefectly and works fine as stand alone application.
Then I install it as service using a JSL.EXE (with jsl.ini) and it starts again fine, BUT doesn't work: doesnt answer (this is a small server) and writes nothing into a log-file.
The same application works fine as a service if i compile it with jre 32bit and install as a service in 32bit environment.
thanks
Solved. I have just run jsl.exe -debug and saw everithing, what has been happen. The wrong JRE was taken by jsl... and i schould also define a jvmtype parameter in jsl.ini.... and i didn't know that jsl64.exe schould be used for 64bit java apps (apps with 64bit SWT)
[java]
jvmtype=server,client,hotspot,classic
thanks

Anyone have issues with Eclipse over Remote Desktop Connection?

I have a very strange issue that I'm hoping someone can help me with. I have various installations of Eclipse on my development machine at work. The one I primarily use is Weblogic WorkSpace Studio 10.2. This installation, along with a few Pulse installations I have set up works fine when I'm logged into my computer physically.
However, when I try to log into the computer using Microsoft's Remote Desktop Connection utility I get an error stating: "Could not create Java virtual machine." and then I get the lovely Eclipse error box which I personally can gather almost nothing from.
Even if you don't have the solution, any help would be greatly appreciated.
Justin
What ended up working for me was the memory settings for the JVM. Apparently the remote desktop connection, or some other setting in Windows, blocks off a fairly large amount of space. By reducing the heap size allocation for the JVM during Eclipse and server start-up I was able to get this working. As a side note, I had PLENTY of space that windows could have used, so I don't think blankly adding more memory would necessarily solve the issue. If you find another solution, please let me know.
• We came across an issue when user RDC’s to a remote system where the OS is Windows 10 and has a running Eclipse instance, the Eclipse instance terminates
• Eclipse is one of the IDE’s for Java
• The issue is because of Windows 10 Exploit protection
• Pre-requisite: You will need Administrative permissions for executing the below
• Navigate to Settings -> Update & Security -> Windows Security -> App & Browser Control -> Exploit Protection Settings
• Add the program to exclude as below
P.s. As of Window 10 1909 MS security advisory mentions we can disable some exploit protections by default.
Perhaps it is permission related. take a look at similar issue that symantec has:
http://service1.symantec.com/support/ent-security.nsf/854fa02b4f5013678825731a007d06af/8ea1593f1d1fcee68025759a003d8403?OpenDocument
Try to see if you have same patches installed that causes the security issue. Also refer to application log to see if there is a more specific error. Good luck :)
I think issue happens due to Windows, not Eclipse nor JVM. There is still open Bug report on the Eclipse side and one of the comments state that Microsoft is working on the issue.
I have tried Windows Remote Desktop-ing into my dev machine at work (which had only one version of eclipse installed on it). I had no troubles.
Is it possible that your problems stem from multiple versions of eclipse running at the same time?
Also, have you tried a fresh install of eclipse on your dev machine?
If the above two suggestions don't work, then the only thing that I can think of is what Mohammad said: you might need to check your permissions.
I would check the system log if I were you: Start > run > eventvwr
The first thing to look at is the .log file which is in your eclipse's metadata folder (found in your workspace at $WORKSPACE_ROOT/.metadata/.log). If you post the stack trace that it generates upon initialization, we can give a definitive answer.
I am now experiencing this in Eclipse (the Oxygen release and Java 1.8.0_181). I previously had the same problem with another Java-based program (Oxygen XML/XSL editor - the product name is coincidentally the same as the Eclipse version). Last year the Oxygen support team answered that it may be a known problem in Java.
Even without seeing a crash report, considering your sequence of
events, this seems like a known common cause of crash for the Java
runtime. Keeping Oxygen/Java running for a long time, until the screen
or video card enters sleep then connecting/disconnecting
screens/projectors or connecting/disconnecting RDP can trigger a crash
in the Java runtime. We keep updating the Java runtime (JRE) with each
new version of Oxygen, but so far the issue has not been resolved in
newer versions of the JRE.
e.g. Java VM logged issue:
https://bugs.openjdk.java.net/browse/JDK-8153389