JRE running inside custom browser (win32 - iwebbrowser2)

Hello,
I have created a browser using the IE browser control (iwebbrowser2) and its having some issues when trying to execute applets. When my browser encounters an applet on a web page - It does not load the Sun JRE which is set as the default in the IE options. IE on the same computer, however, does load the Sun JRE. The iwebbrowser2 hosted app first attempts to try to load the SUN JRE, then the Sun JRE appears to fail, and then the MS JVM loads (if it is installed on the computer).
Making matters worse, if no MS JVM is installed, and the Sun JRE in the custom browser does load the Sun JRE, but some applets just hang. The same applets do not hang in IE with the Sun JRE.
Is there something that needs to be done to tell the custom browser to load the Sun JRE? It looks like the Sun JRE fails after a call to:
DllGetClassObject which is called from "SSV.DLL".
Looking at the results of DLL loads with a debugger, IE seems to load and map SSV.DLL early on in its startup phase.
Even more freakish. If I rename my browser to IExplore.exe - then the Sun JRE does become the JRE thats loaded. Of course, this is a bad solution and the same applets lockup, so certainly there is something more to do.
Anybody have any idea about how to deal with this?
Thanks!

Here is the example from the Acrobat JavaScript Reference API: 
Detect whether this document is in a browser or not.
if ( this.external )
// Viewing from a browser
else
// Viewing in the Acrobat application.

Similar Messages

  • Not able to clear session of web application running inside wpf browser control

    Hi,
    I have used below code to clear session of web application running inside wpf browser control .   
    [DllImport("wininet.dll", SetLastError = true)]
       private static extern bool InternetSetOption(IntPtr hInternet, int dwOption, IntPtr lpBuffer, int lpdwBufferLength);
     InternetSetOption(IntPtr.Zero, INTERNET_OPTION_END_BROWSER_SESSION, IntPtr.Zero, 0);
    This code is working in Windows 8 but it is not working in windows 7 and windows 8.1.
    I want to know why it is not working and how to make it work in windows 7 and windows 8.1
    Please help.
    Thanks & Regards,
    Pritesh

    Hi,
    I have used below code to clear session of web application running inside wpf browser control .   
    [DllImport("wininet.dll", SetLastError = true)]
       private static extern bool InternetSetOption(IntPtr hInternet, int dwOption, IntPtr lpBuffer, int lpdwBufferLength);
    InternetSetOption(IntPtr.Zero, INTERNET_OPTION_END_BROWSER_SESSION, IntPtr.Zero, 0);
    This code is working in Windows 8 but it is not working in windows 7 and windows 8.1.
    I want to know why it is not working and how to make it work in windows 7 and windows 8.1
    Please help.
    Thanks & Regards,
    Pritesh

  • Can we determine if Acrobat is running inside a browser?

    I'm looking for a javascript property or method to determine if Acrobat is running standalone or in the browser, as I'd like to use that to made certain of my custom toolbar buttons available or not.
    Is there anything available?
    Thanks -

    Here is the example from the Acrobat JavaScript Reference API: 
    Detect whether this document is in a browser or not.
    if ( this.external )
    // Viewing from a browser
    else
    // Viewing in the Acrobat application.

  • PLEASE HELP!! HOW DO I RUN A .EXE APPLICATION INSIDE A BROWSER!!

    hello everyone,
    i Run a website, named www.anarchywars.com and basicaly i made a mini game in a program called "Game-Make 6", basicaly when i save it to an .exe its very useful because all it needs to run is that .exe and you can play the game. Basicaly i want to put that game onto my website, the website is a PHP back MYSQL database, and i want this, when someone click "run" to be able to run inside the browser. It isnt a motion picture game, its just text based and has a few images.
    If i could just direct everyone attention to this site http://www.miniclip.com/games/en/
    they have that sort of things with there games, so can someone please help me out here? thank you. For a try of the game, it isnt up yet just to download to get an idea, go here. www.anarchywars.com/game.exe
    download and have a look!
    Thank you very much!
    Regards
    Jesse
    P.S Game Make 6 can be downloaded for free, by going here http://www.gamemaker.nl/

    the manifest file was used, and the jar file runs fine
    if I use the java command. I just can't get it to run
    with the jre.exe file. Any other ideas.The jre command is only for programs developed under the 1.1 platform. For programs developed with the 1.2 platform and higher we use the java command with the -jar option. And judging from the Java Tutorial lesson on Jar files, these commands are not interchaengable.
    Judging from the topic of your question, it seems to me that you think that the JRE does not contain the java command. It does if it is version 1.2 or higher.

  • How to run applet inside a browser coz my applet runs outside the browser

    I would like to run the Java Applet viewer in-line inside a Browser Window. Presently, when launched through an html page, the applet opens another main window outside the browser. Can't seem to find any applet parameter tags for it. If there is a way to do that please let me know. Thanks in advance - m.a.

    public class mainGIS extends JApplet {
    public void init() {
    GISEditor tempGISEditor = new GISEditor();
    public mainGIS(){
         GISEditor tempGISEditor = new GISEditor();
         tempGISEditor.setTitle("Franchise Viewer");
         tempGISEditor.setSize(1000,600);
    and..
    <Html>
    <Head>
    <Title></Title>
    </Head>
    <Body>
    <APPLET CODE="mainGIS.class" archive="aaa.jar" WIDTH="800" HEIGHT="600">
    </APPLET>
    </Body>
    </Html>
    it opens outside a web browser!(it pops out) I mean, I want to display my application in-line with the browser

  • Java FX apps won't run on the browser with Linux

    This is my current system configuration:
    Opensuse 12.3 x64
    Nvidia Gefore 9600gt with Proprietary drivers
    Tried both the Oracle Java 7u45 and 7u51 (Installed according to: SDB:Installing Java - openSUSE)
    Google Chrome and Firefox (Latest versions for both)
    I am not able to run any Java FX browser app. When the app starts loading, i just get a gray box inside the browser screen. I've reproduced this with the JavaFX Ensemble sample app as well as my own apps. This is the exception i get on the Java Console when trying to load the Ensemble app:
    ---- FetchDocListTask  docsUrl = http://download.oracle.com/javafx/2/api/
    java.lang.NullPointerException
      at com.sun.prism.es2.ES2SwapChain.<init>(ES2SwapChain.java:79)
      at com.sun.prism.es2.ES2ResourceFactory.createPresentable(ES2ResourceFactory.java:40)
      at com.sun.javafx.tk.quantum.PresentingPainter.run(PresentingPainter.java:59)
      at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
      at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:304)
      at com.sun.prism.render.RenderJob.run(RenderJob.java:37)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
      at com.sun.javafx.tk.quantum.QuantumRenderer$PipelineRunnable.run(QuantumRenderer.java:108)
      at java.lang.Thread.run(Thread.java:744)
    CacheEntry[http://download.oracle.com/otndocs/products/javafx/2/samples/Ensemble/Ensemble.jnlp]: updateAvailable=true,lastModified=Wed Dec 31 18:00:00 CST 1969,length=0
    CacheEntry[http://download.oracle.com/otndocs/products/javafx/2/samples/Ensemble/Ensemble.jnlp]: updateAvailable=true,lastModified=Wed Dec 31 18:00:00 CST 1969,length=0

    http://java.sun.com/j2se/1.3/download.html
    After you download the jre file click on it to install it. I'm not sure why AOL isn't registering and the internet explorer is.
    Try putting this into your autoexec.bat file (if your running on windows operating system).
    set classpath=C:\ProgramFiles\JavaSoft\JRE\1.3.1\bin;%PATH%
    Make sure the file path is correct. It's the path to the java.exe file. This ensures programs that use java.exe file to find it.
    You have to restart your computer after changing the autoexec file for it to register.
    Good Luck!

  • How do I get you to stop showing me all this unwanted crap and just run the damned browser?

    I have 3.6 downloaded but it wont run because I can't get passed all the other crap customizing and just run the damned browser. That is all I am interested in, none of the other bull crap. What is so hard to understand? Keep it simple stupid. All I need is the Browser OKAY! Everybody in the world don't want that crap! Make it simple for people like me who hate this computer generation because it is all becoming about laziness and stupidity. Computers make people stupid not better. They are only a tool but technology and so called educators have taken the usefullness to far and most kids can't do math or history without some kind of cheating device. What are you gonna do when the computers die and the internet fails? Get a pen and paper, read some books and take a few investigative notes. Computers are not the answer to our problems.

    Make sure that the getpersonas.com site is listed as an install exception:
    Tools > Options > Security : "Warn me when sites try to install add-ons": Exceptions
    Make sure that you do not use [[Clear Recent History]] to clear the 'Site Preferences'.

  • How to Run Swing in Browser

    Hi frnds
    I gotta a Problem in swing.I want to run my swing in Browser.I have tried it with JApplet.But i can execute it only in Console.using appletviewer <filename>.html
    how to run it in browser.
    Please Help Me..

    Quite easy, well for you. You have to have the newest java plug in working in your browser, but as a flaw, if a user wants to access it they need to download it too, but there is a way in the new JDK i believe to have the JRE on Suns server to run the applet, so the user w/o the Swing librarys can use the applet w/o problems

  • Applet not running in local browser

    I can run any applet from web.
    I can run any applet in appletviewer.
    But I can not run applets in browser from local html file.
    I can not run even the demos that came with de SDK 1.4.1_01.
    Can anyone give me some hint?
    Maybe is very obvious but I ca not see it.
    Thank you very much.
    Valeriu Sprintu

    the hello.java file is:
    import java.applet.Applet;
    import java.awt.Graphics;
    public class hello extends Applet {
    StringBuffer buffer;
         public void init() {
         public void start() {
         public void stop() {
         public void destroy() {
         public void paint(Graphics g) {
              //Draw a Rectangle around the applet's display area.
              g.drawRect(0, 0, size().width - 1, size().height - 1);
              //Draw the current string inside the rectangle.
              g.drawString("Hello", 5, 15);
    The hello.html file is:
    <html>
    <body>
    Applet should be there
    <br>
    <applet code="hello.class" width=200 height=200>
    No applet
    </applet>
    </body>
    </html>
    hello.html and hello.class are of course in the same folder.
    If I modify the .html file acording to OBJECT tag specifications for Java Plug-In the same applet runs OK in the browser (IE5.0 ).
    I forgot to tell that I have installed the last version of SDK j2sdk1.4.1_01
    <html>
    <body>
    Applet should be there
    <br>
    <OBJECT classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93"
    WIDTH = 200 HEIGHT = 200 >
    <PARAM NAME = CODE VALUE = "hello.class" >
    <PARAM NAME="type" VALUE="application/x-java-applet;version=1.1">
    No applet
    </OBJECT>
    </body>
    </html>
    I think there is a problem with the JVM from Microsoft
    Thank you,
    Best regards,
    ValeriuS

  • Remote debug a Flash file running inside an application

    Hello everyone.
    I'm an application developer, and my standard usage of Flash is as follows:
    I'm creating an executable application, which contains a ShockwaveFlash object instance, which in turn is displaying a Flash Movie Clip - also created by myself. The executable application and the contained Flash clip are communicating via the ActionScript ExternalInterface (using XML strings) and the FSCommand.
    I'd like to be able to debug the ActionScript code of the Flash file while I'm running/debugging my executable application. For that, I need to be able to start a remote debugging session from the Flash object running inside my executable. Problem is, I did not find any way of doing this.
    When I publish the Flash SWF file with "permit debugging" checked, I'm able to start a remote debugging session when I'm displaying the file in a player or a browser (the "debugging" option is shown at the right-click menu of the Flash object), but I'm not able to do the same with the object inside my executable (the "debugging" option doesn't exist on the menu).
    Environment Details:
    The executable application is using the ShockwaveFlash COM file to create the ShockwaveFlash object.
    The executable application is created using VB.NET, Visual Studio 2008, .NET 3.5.
    The Flash SWF file is created using Adobe Flash Professional CS4.
    I'm developing under Windows XP (SP3).
    Any bits of information will be much appreciated!
    M.A. Hanin

    I'm not sure how to do specifically what you are looking for (if possible at all.....)
    But, I recommend checking out deMonsterDebugger.  It is an AIR application with some classes for use.  You simply import the classes into your Flash project, instantiate a debugger object, and then compile.
    If you open the AIR application when the SWF is running (locally, in a browser, and I imagine in another application) the AIR application serves as a debugging engine, similar to the in-Flash debugging.
    There is a bit more to it than that, but I think that this is your best bet for what you are looking for.
    http://demonsterdebugger.com/

  • NoClassDefFoundError:javax/swing/JApplet  while running japplet in browser

    hai to all,
    i am trying to run a Japplet in broser,
    it's getting NoClassDefFoundError:javax/swing/JApplet
    on statusbar.
    any plugin's are requitred to run swing applets in browser.?please give me details.
    my JApplet is working in Applet viewer.
    i am using Jdk1.3.1, and Applets are also running in my browser(both IE and NetScape).
    thank you in advance
    please mail me to [email protected]
    by
    sambareddy

    I had the same problem when I was developing a swing applet to run on the web. What you have to do is convert your HTML file. It takes out the APPLET tags and replaces them with OBJECT and EMBED tags. This worked for me. I downloaded the converter from the Java site but I cannot recall exactly where. I think if you search for converter you should be able to find it. The newly converted HTML file will also prompt the user to download the correct plug-in if it is not already installed on their machine.
    In the mean time, try using the HTML code below. You will have to change some of the lines but it should work for you. The OBJECT tag is used for IE and the EMBED tag is used for Netscape so don't forget to change both. One wierd thing you will see is that is if you run appletviewer on the converted HTML file, two windows will pop up and one of them will have errors and not load but one will. Don't worry about that, when you run it through the web server, everything works fine.
    Good luck.
    <HTML>
    <HEAD>
    <TITLE>Your title</TITLE>
    </HEAD>
    <BODY>
    <CENTER>
    <!--"CONVERTED_APPLET"-->
    <!-- HTML CONVERTER -->
    <OBJECT classid="clsid:E19F9330-3110-11d4-991C-005004D3B3DB"
    WIDTH = 550 HEIGHT = 300 codebase="http://java.sun.com/products/plugin/1.3.0_01/jinstall-130_01-win32.cab#Version=1,3,0,1">
    <PARAM NAME = CODE VALUE = "the name of your class file" >
    <PARAM NAME = CODEBASE VALUE = "location of the class or jar file">
    <PARAM NAME = ARCHIVE VALUE = "name of your jar file, omit this entire line if you do not have a jar file" >
    <PARAM NAME="type" VALUE="application/x-java-applet;jpi-version=1.3.0_01">
    <PARAM NAME="scriptable" VALUE="false">
    <COMMENT>
    <EMBED WIDTH = 550 HEIGHT = 300 type="application/x-java-applet;jpi-version=1.3.0_01" CODE = "name of your class file" CODEBASE = "location of the class or jar file" ARCHIVE = "name of your jar file, omit this entire arg if you do not have a jar file" scriptable=false pluginspage="http://java.sun.com/products/plugin/1.3.0_01/plugin-install.html">
    </EMBED>
    </CENTER>
    </COMMENT>
    </OBJECT>
    <!--
    <APPLET CODE = "name of your class file" ARCHIVE = "name of jar file if you have one" WIDTH = 700 HEIGHT = 400>
    </CENTER>
    </APPLET>
    -->
    <!--"END_CONVERTED_APPLET"-->

  • RUNNING FORM WITHIN BROWSER

    HELLO ALL
    I HAVE MANAGED TO RUN FORM ON WEB BUT I COUPLE OF PROBLEMS.
    1. IT RUNS AS A APPLET. HOW CAN I MAKE IT RUN WITHIN BROWSER.
    2.

    Forms on the web runs as an applet and only as an applet. If
    you want this applet to appear inside the browser set
    separateFrame in the HTML to false.
    Regards
    Grant Ronald
    Forms Product management

  • Signal 4 error encountered while running a customized report

    Signal 4 error encountered while running a customized report
    We are running Oracle Applications version 11.5.10 on Oracle RDBMS 9.2.0. and IBM AIX 5.3 o production system and AIX 5.2 on test machines. We have made a new clone of production database on test machine and after installation of a clone on test-machine all customized reports terminated with signal 4 error.
    Can anybody tell the possible causes of signal 4 errors and their remidies ?

    Thank you for the link, i will read it...
    I have problemss with PDF output...
    When trying to run any concurrent request with PDF output, it completed with error and show the following message in the request log file:
    Current NLS_LANG and NLS_NUMERIC_CHARACTERS Environment Variables are :
    American_America.AR8MSWIN1256
    Spawned Process 499776
    stat_low =84
    stat_high = 0
    emsg:was terminated by signal 4
    Program was terminated by signal 4
    Concurrent Manager encountered an error while running Oracle*Report for your concurrent request 20824997

  • 500 Internal Server Error - Unable to run a custom page from JDEV 10.1.3...

    Hi
    I am trying to run a Custom page from my JDEV. But i am getting the following error.
    *500 Internal Server Error*
    oracle.apps.fnd.cache.CacheException
    at oracle.apps.fnd.cache.AppsCache.get(AppsCache.java:228)
    Caused by: oracle.apps.jtf.base.resources.FrameworkException:
    An exception occurred in the method CacheAccess.getnullThe base exception is:
    Not able to create new database connection: FNDSECURITY_APPL_SERVER_ID
    at oracle.apps.jtf.base.resources.FrameworkException.convertException(FrameworkException.java:607)
    .... 54 more
    I have checked the DBC file. The APPS_JDBC_URL was containing "\". I tried removing that but it dint worked. I checked whether i am using the right version of the JDEV patch, no issues with that also.
    Kindly let me know the solution.
    Thanks.
    Edited by: user605470 on May 23, 2009 5:39 PM

    Anoop
    DBC file is not having any issues. Domain name seems to be correct.
    DBC File
    #DB Settings
    #Fri Dec 19 12:54:03 EST 2008
    GUEST_USER_PWD=GUEST/ORACLE
    APPL_SERVER_ID=5D03027668AF2054E043A8920BA0205451873975540904546222829851405157
    FND_JDBC_BUFFER_DECAY_INTERVAL=300
    APPS_JDBC_DRIVER_TYPE=THIN
    FND_JDBC_BUFFER_MIN=1
    GWYUID=APPLSYSPUB/PUB
    FND_JDBC_BUFFER_MAX=5
    APPS_JDBC_URL=jdbc\:oracle\:thin\:@(DESCRIPTION\=(ADDRESS_LIST\=(LOAD_BALANCE\=YES)(FAILOVER\=YES)(ADDRESS\=(PROTOCOL\=tcp)(HOST\=<Host Name>)(PORT\=<Port #>)))(CONNECT_DATA\=(SERVICE_NAME\=<Instance Name>)))
    FND_JDBC_STMT_CACHE_SIZE=100
    TWO_TASK=<Instance Name>
    JDBC\:processEscapes=true
    FND_MAX_JDBC_CONNECTIONS=500
    FND_JDBC_USABLE_CHECK=false
    FNDNAM=APPS
    FND_JDBC_PLSQL_RESET=false
    DB_PORT=<Port #>
    FND_JDBC_CONTEXT_CHECK=true
    FND_JDBC_BUFFER_DECAY_SIZE=5
    DB_HOST=<Host Name>
    This is my DBC files. I have verified the values of <Host Name>, <Port #> and <Instance Name>. The seems to be correct. Is my error is related to the line which is highlighted ? Any inputs will be appreciated.
    Thanks.
    Edited by: user605470 on May 25, 2009 9:00 AM

  • 500 Internal Server Error - Unable to run a custom page from JDEV 10.1.3.3.

    Hi
    I am trying to run a Custom page from my JDEV. But i am getting the following error.
    *500 Internal Server Error*
    oracle.apps.fnd.cache.CacheException     
    at oracle.apps.fnd.cache.AppsCache.get(AppsCache.java:228)
    Caused by: oracle.apps.jtf.base.resources.FrameworkException:
    An exception occurred in the method CacheAccess.getnullThe base exception is:
    Not able to create new database connection: FNDSECURITY_APPL_SERVER_ID
    at oracle.apps.jtf.base.resources.FrameworkException.convertException(FrameworkException.java:607)
    .... 54 more
    I have checked the DBC file. The APPS_JDBC_URL was containing "\". I tried removing that but it dint worked. I checked whether i am using the right version of the JDEV patch, no issues with that also.
    Kindly let me know the solution.
    Thanks.
    Edited by: user605470 on May 23, 2009 5:27 PM

    User,
    You are not running JDEV, but OA Framework, hence you should use the OA Framework Forum to ask.
    John

Maybe you are looking for