Java and Javaw differences

337 Views Asked by At

We are trying to run a application which is using SWT browser internally. In the SWT browser, we would like to revert all IE-based Browsers to use IE9 compatibility mode by default. This is done using System.setproperty method in the main:

System.setProperty("org.eclipse.swt.browser.IEVersion","9999");

The downgrading of the browser works perfectly if we run the application using the command 'java' but does not work if we use the command 'javaw'. We even tried passing it as argument -Dorg.eclipse.swt.browser.IEVersion=9999, still does not work with javaw.

From Difference between java and javaw, it is apparent that there is no real functional difference.

We also tried to set _JAVA_OPTIONS in the system path, does not help.

is there any other place where we can set this option so that it is used by the javaw.

0

There are 0 best solutions below