Percentages of fielded Sun JVM/JRE?

Does Sun publish metrics regarding what percent of end-users of JRE/JVM versions are currently on, as to provide developers information as to what JRE/JVM to write to for optimization of code?

i don't know of any. but i suggest you don't optimize code for 1.3 or later. use the default optimization level (in current SDK it's 1.2). special optimization for 1.3 or 1.4 doesn't gain anything (except in 0,001% of cases and then it's rather minimal). so, no need to optimize for the latest JVM.

Similar Messages

  • Mouse navigation between fields in Sun Java JRE

    We have a lot of forms (few hundred) generated by Oracle Designer 2000 and HeadStart and then converted (by internal Oracle converter part of Developer Suite) to Forms 6i and 10g version. All forms perfectly work with JInitiator (1.3.1.17 and 1.3.1.22) in Forms Web 6i or 10g deployments. Problem occurs if we try to run our forms within Sun Java JRE (1.4 or 1.5 or 1.6) then mouse navigation inside form stops working, ie. if I click in any field in the middle of the form cursor immediately jumps back to the first field of form. I can navigate to the other fields with the keypad without the problem.
    Does anyone have similar problem and managed to solve it?
    Thanks And Regards
    Miran

    Hello,
    I've installed these patches as indicated, but still i have navigation issues when opening screens already opened and existing in the Window menu. Here is the situation:
    we had oracle application server 10.1.2.0.2. We are using jre1.6 (instead of jinitiator).
    we installed the patches 5983622 and 8306828.
    when we open a screen, everything works fine, no navigation issues among fields. when we open a second screen, then go back to the first screen with the window menu, we loose the focus on the screen. we can click on any item but the cursor is still on the last item visited before opening the second screen. so we have to use the tab key instead of the mouse or close this screen then reopen it.
    Please advice how to treat this problem because it's urgent.
    Thanks in advance
    Rgds,

  • Installing JRE via MSI w/o Sun JVM being default for IE

    1. Can you use the same command line switches for the MSI (doesn't seem so)?
    2. Using IEXPLORER=0 with the EXE doesn't seem to work anyway!!!
    Help!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!1

    I'm not sure I understand what you want - during a Java install, you're given the option to make the Sun JVM the IE default , or not.
    After installation. this can be changed from the Browser tab of the Java Plug-in (in Windows, accessible from the Control Panel.)
    AFAIK, Sun installer doesn't have switches.

  • MSJVM to Sun JVM for Internet Explorer

    Hi,
    Currently I am using an applet in a jsp.
    This applet is for authentication purpose.
    Now currently we want to test it with
    sun JVM instead of MSJVM. Could you
    please tell what needs to be done.
    thanks
    radki_j

    Just install the Sun JRE version you need and register it to handle the Applet tag which is an option in the Tools->InternetOptions section of IE.

  • Issue in configuration - formsweb.cfg (10.1.2.0.2) using Sun JVM

    Hi gurus,
    Below is my config in formsweb.cfg, I want to use Sun JVM instead of Jinitiator
    [customjpi]
    baseHTML=D:\Ora10gDS\forms\server\base.htm
    baseHTMLjpi=D:\Ora10gDS\forms\server\basejpi.htm
    baseHTMLjinitiator=D:\Ora10gDS\forms\server\basejpi.htm
    HTMLdelimiter=%
    envFile=default.env
    escapeparams=true
    form=test.fmx
    serverURL=/forms/lservlet
    codebase=/forms/java
    imageBase=DocumentBase
    width=100%
    height=100%
    separateFrame=true
    archive=D:\Ora10gDS\forms\java\frmall.jar
    archive_jini=D:\Ora10gDS\forms\java\frmall_jinit.jar
    jpi_download_page=http://java.sun.com/products/archive/j2se/1.4.2_09/index.html
    jpi_classid=clsid:8AD9C840-044E-11D1-B3E9-00805F499D93
    jpi_codebase=http://java.sun.com/products/plugin/autodl/jinstall-1_4-windows-i586.cab#Version=1,4,0,0
    jpi_mimetype=application/x-java-applet;jpi-version=1.4.2_09
    When I calling form using URL http://pc021161.cts.com:8889/forms/frmservlet?config=customjpi which is throwing errors.
    Below is my log of Java console
    Java Plug-in 1.5.0_06
    Using JRE version 1.5.0_06 Java HotSpot(TM) Client VM
    User home directory = C:\Documents and Settings\125217
    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
    p: reload proxy configuration
    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 <n>
    java.net.MalformedURLException: unknown protocol: d
         at java.net.URL.<init>(Unknown Source)
         at java.net.URL.<init>(Unknown Source)
         at sun.plugin.util.GrayBoxPainter.setProgressFilter(Unknown Source)
         at sun.plugin.AppletViewer.initApplet(Unknown Source)
         at sun.plugin.AppletViewer.appletInit(Unknown Source)
         at sun.plugin.viewer.LifeCycleManager.initAppletPanel(Unknown Source)
         at sun.plugin.viewer.IExplorerPluginObject$Initer.run(Unknown Source)
    load: class oracle.forms.engine.Main not found.
    java.lang.ClassNotFoundException: oracle.forms.engine.Main
         at sun.applet.AppletClassLoader.findClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at sun.applet.AppletClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at sun.applet.AppletClassLoader.loadCode(Unknown Source)
         at sun.applet.AppletPanel.createApplet(Unknown Source)
         at sun.plugin.AppletViewer.createApplet(Unknown Source)
         at sun.applet.AppletPanel.runLoader(Unknown Source)
         at sun.applet.AppletPanel.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    Caused by: java.io.IOException: open HTTP connection failed.
         at sun.applet.AppletClassLoader.getBytes(Unknown Source)
         at sun.applet.AppletClassLoader.access$100(Unknown Source)
         at sun.applet.AppletClassLoader$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         ... 10 more
    Exception in thread "Thread-4" java.lang.NullPointerException
         at sun.plugin.util.GrayBoxPainter.showLoadingError(Unknown Source)
         at sun.plugin.AppletViewer.showAppletException(Unknown Source)
         at sun.applet.AppletPanel.runLoader(Unknown Source)
         at sun.applet.AppletPanel.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    Please help, if anybody have the idea of this error.
    Thanks in Advance
    Justin

    My default.env file is pasting below:
    # $Id: default.env 14-apr-2005.13:22:43 pkuhn Exp $
    # default.env - default Forms environment file, Windows version
    # This file is used to set the Forms runtime environment parameters.
    # If a parameter is not defined here, the value in the Windows registry
    # will be used. If no value is found in the registry, the value used will
    # be that defined in the environment in which the servlet engine (OC4J
    # or JServ) was started.
    # NOTES
    # 1/ The Forms installation process should replace all occurrences of
    # <percent>FORMS_ORACLE_HOME<percent> with the correct ORACLE_HOME
    # setting, and all occurrences of <percent>O_JDK_HOME<percent> with
    # the location of the JDK (usually $ORACLE_HOME/jdk).
    # Please make these changes manually if not.
    # 2/ Some of the variables below may need to be changed to suite your needs.
    # Please refer to the Forms documentation for details.
    ORACLE_HOME=D:\Ora10gDS
    # Search path for Forms applications (.fmx files, PL/SQL libraries)
    # If you need to include more than one directory, they should be semi-colon
    # separated (e.g. c:\test\dir1;c:\test\dir2)
    FORMS_PATH=D:\Ora10gDS\forms;D:\Source\FMB;D:\Source\LIB
    # webutil config file path
    WEBUTIL_CONFIG=D:\Ora10gDS\forms\server\webutil.cfg
    # Disable/remove this variable if end-users need access to the query-where
    # functionality which potentially allows them to enter arbitrary SQL
    # statements when in enter-query mode.
    FORMS_RESTRICT_ENTER_QUERY=TRUE
    # The PATH setting is required in order to pick up the JVM (jvm.dll).
    # The Forms runtime executable and dll's are assumed to be in
    # D:\Ora10gDS\bin if they are not in the PATH.
    # In addition, if you are running Graphics applications, you will need
    # to append the following to the path (where <Graphics Oracle Home> should
    # be replaced with the actual location of your Graphics 6i oracle_home):
    # ;<Graphics Oracle Home>\bin;<Graphics Oracle Home>\jdk\bin
    PATH=D:\Ora10gDS\bin;D:\Ora10gDS\jdk\jre\bin\client
    # Settings for Graphics
    # NOTE: These settings are only needed if Graphics applications
    # are called from Forms applications. In addition, you will need to
    # modify the PATH variable above as described above.
    # Please uncomment the following and put the correct 6i
    # oracle_home value to use Graphics applications.
    #ORACLE_GRAPHICS6I_HOME=<your Graphics 6i oracle_home here>
    # Search path for Graphics applications
    #GRAPHICS60_PATH=
    # Settings for Forms tracing and logging
    # Note: This entry has to be uncommented to enable tracing and
    # logging.
    #FORMS_TRACE_PATH=<FORMS_ORACLE_HOME>\forms\server
    # System settings
    # You should not normally need to modify these settings
    FORMS=D:\Ora10gDS\forms
    # Java class path
    # This is required for the Forms debugger
    # You can append your own Java code here)
    # frmsrv.jar, repository.jar and ldapjclnt10.jar are required for
    # the password expiry feature to work(#2213140).
    CLASSPATH=D:\Ora10gDS\j2ee\OC4J_BI_Forms\applications\formsapp\formsweb\WEB-INF\lib\frmsrv.jar;D:\Ora10gDS\jlib\repository.jar;D:\Ora10gDS\jlib\ldapjclnt10.jar;D:\Ora10gDS\jlib\debugger.jar;D:\Ora10gDS\jlib\ewt3.jar;D:\Ora10gDS\jlib\share.jar;D:\Ora10gDS\jlib\utj.jar;D:\Ora10gDS\jlib\zrclient.jar;D:\Ora10gDS\reports\jlib\rwrun.jar;D:\Ora10gDS\forms\java\frmwebutil.jar;D:\Ora10gDS\forms\java\frmall.jar;D:\Ora10gDS\forms\java\frmall_jinit.jar
    Regards
    justin

  • Issues with migrating to SUN JVM

    Hi
    Chapter 4 of the "Microsoft Java Virtual Machine Transition Guide for IT Professionals" [part of the documentation for "The Diagnostic Tool for the Microsoft Virtual Machine"] contains[under a discussion of disabling Java] :
    (a) '... the Sun JRE, which "impersonates" the Microsoft Java Virtual Machine in IE ...';
    (b) 'Some Java plug-ins install in a Windows system by "impersonating" the Microsoft Java Virtual Machine using the same registry entry and Class ID in installation ... Be cautious when installing JREs that impersonate the Microsoft Java Virtual Machine ...'.
    Can anyone provide more information about this "impersonation" and what to be "cautious" about?
    In particular:
    (1) Does the impersonation only affect interpretation of applets under Internet Explorer plus any direct HTML references to the associated registry entries [and not any direct executable references to the Microsoft Java VM]?
    (2) Does the Microsoft Java VM have to be retained [even if another JRE is installed] to support any direct executable references to it?
    When I run "The Diagnostic Tool for the Microsoft Virtual Machine" on a Windows 98SE system, its VM Dependency Report has many entries for Micrsoft library modules - eg IEDETECT.DLL - and its Visual J++ Class Report has many entries - eg C:\WINDOWS\SYSTEM\MSHTML.DLL.
    There is no information about whether such dependencies are critical - the modules may have alternative paths if the MSJVM is not installed.
    At this stage, I suspect that Microsoft is not going to issue updates to such modules [Windows 98 is no longer fully supported] and therefore it would be unsafe to remove the Microsoft Java VM.
    Chapter 4 also mentions a "TreatAs" subkey, and recommends removing it. Does the Sun JRE install or rely on such a subkey?
    Chapter 6 says that "The use of Microsoft extensions is easy to find in current J++ source files ..." but is there any way that users without access to such source files can find which executable modules are dependendent on the entries shown when I run "The Diagnostic Tool for the Microsoft Virtual Machine" and look at its Visual J++ JAVAREG Report [which lists CLSIDs and associated Java classes for msjava.dll].
    Regards,
    Peter Jones

    HI Owen,
    JVM dependent web Applications are not working with IE after migrating to SUN JVM from MSJVM
    steps I followed are as follows.
    1)uninstalled MSJVM using MSJVM removal tool
    2) Install SUNJVM 1.4.2_07
    os used is windows xp sp2.
    I did checked SUN JVM in Internet options.
    Then I tried to test JVM dependent web apps on this they are not working. sometime JVM was attempting to upgrade to a newer version.
    But strangely it started working when I followed follwong steps.
    1) Install SUNJVM 1.4.1 (initial) - this version actually works proper with Documentum
    2) Uninstall SUNJVM 1.4.1 from Add/Remove Programs AND Remove the two Java Folders from Registry, under the Software Folder
    3) Reboot the pc
    4) Install SUNJVM 1.4.2_07
    5)checked SUN JVM in Internet options.
    Can Some one help me to know the reason for both not wokring and working.espl working since deepending on this I need to decide on how to migrate to SUN JVM
    Thanks
    Nagaraj
    History:
    My client is having MSJVM on their PCs I had suggested to migrate all these MSJVM dependent apps to SUN JVM. In this process I wanted to test these MSJVM apps with SUN JVM. while setting test lab I observed above mentioned behaviour.

  • Forms 10g rel 1( 9.0.4 ) vs SUN JVM 1.5

    Hello:
    From SUN site you can read :
    "Changes in 1.5.0_06
    The full internal version number for this update release is 1.5.0_06-b05 (where "b" means "build"). The external version number is 5.0u6.
    Security Enhancements
    Prior to this update, an applet or application could specify the version of the JRE on which it would run. This has changed. All applets are executed with the latest JRE version. Unsigned Java Web Start applications that specify a version other than the latest trigger a warning, requiring explicit user permission before the application will run. Signed Java Web start applications are not affected. "
    Assuming that our customer will use SUN JVM , NOT Oracle JInitiator.
    We have seen that if in a client machine it is installed SUN JVM 1.4.2_10 ( certified ) AND SUN JVM 1.5 or newer.
    there is NO WAY to force Forms 9.0.4 applications to run with SUN JVM 1.4.2_10.
    In spite of doing the following settings at formsweb.cfg
    # Parameter related to the version of the Java Plugin
    jpi_mimetype=application/x-java-applet;jpi-version=1.4.2_10
    when you run forms 9.0.4 applications from a browser in that machine, SUN JVM 1.5 is mandatory used by the browser.
    It seems that IT IS IMPOSSIBLE to tell 9.0.4 to use SUN JVM 1.4.2_10 because SUN prevents it according to the above documentation .
    Q1) I thank your comments on this
    Then, when you look for certification info:
    a) you can get this info for Forms 10g R2
    http://www.oracle.com/technology/products/forms/htdocs/10gR2/clientsod_forms10gR2.html
    b) you can get this info for Forms 10g R1
    http://www.oracle.com/technology/products/forms/htdocs/10g/clientsod_forms10g.ht
    ml
    Q2) What are ORACLE plans about certification of SUN JVM 1.5 AND Forms 10g Rel 1 ( 9.0.4 ) ?
    Thanks in advance,
    Fernando Rey

    Hi Guys,
    I am currently testing our portal with a number of JRE version or Jinitiator and the SUN JRE.
    I found some very useful information about changing the registry of the local PC to re-enable specific versioning, see info, below.
    I have tested this and it does work, but you need to be careful with Sun JRE versions to ensure that you are on 1.5.0.7 or higher.
    Another useful link is this discussion over on the sun forums.
    http://forum.java.sun.com/thread.jspa?threadID=730855
    Good Luck
    Scott
    We have found a conflict with the Sun JRE 1.4.2.6 and version Sun JRE 1.5.0.6
    To get around this conflict a registry key has to be added onto the users PC and the user needs to remove 1.5.0.6 and install 1.5.0.7 or higher. To make matters worse the auto-update feature in version 1.4, if left enabled, will update the user to 1.5.0.6 even thought the latest release from the sun web site is 1.5.0.8 !
    Therefore can you add this registry key onto the automated install of the Sun 1.4.2.6 setup as per the instructions below.
    Troubleshooting Conflicting JPI Versions on the Desktop:
    Per oracle note 368775.1, JRE 1.5 will not allow static versions. In other words version 1.5
    may override your required version of 1.4.2. They call it a security feature, but it can reek
    havoc with oracle forms. This section addresses a possible workaround.
    If your users either need to run JPI 1.5 for any reason, here is the workaround to force
    BANNER to use ONLY version 1.4.2.
    If you launch forms and in the java console it shows version 1.5.X, perform the following
    steps.
    1. Make a backup of the windows registry
    2. Edit the registry
    3. Navigate to HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\
    4. Create a new directory by highlighting the key above and pressing <RIGHT
    CLICK>/<NEW KEY>
    5. Rename the key to [Java Deployment]
    6. Highlight the new key created in step 5 and press <RIGHT CLICK>/<NEW KEY>
    7. Rename this new value to [Policy]
    8. Highlight the new key created in step 7 and press <RIGHT CLICK>/<NEW DWORD>
    9. Rename this DWORD to “EnableSecureStaticVersioning”
    Re-launch forms and verify via the java console that the desktop is returning 1.4.2.

  • THE SUN JVM IS NOT INSTALLED

    when i open a page with java on it, it is not viewable. instead, i get this error message: THE SUN JVM IS NOT INSTALLED: CLICK TO INSTALL
    so i click to install, but download is 108MB. i was told by a friend that all i need is a 14MB download, but dont know how to find it.
    another friend told me that i need J2SDK, but that's a 165MB download. then i emailed Sun, and they said i just need JAVA VIRTUAL MACHINE and not J2SDK, but when downloading JAVA VIRTUAL MACHINE, i get JAVA RUNTIME ENVIRONMENT SE v 1.4.2_06 with 108MB.
    other things i tried downloading:
    -J2SE SDK which is supposed to be 14MB and i keep getting JAVA2RUNTIME ENVIRONMENT SE v1.4.2_06 which is 108mb.
    j2re-1_4_2_xx-windows-i586-p-iftw.exe.
    -J2SDK SE v 1.4.2_06 by clicking:
    For Windows, choose "Windows Online Installation" for the quickest download and installation on a machine connected to the Internet. The default download size is 48.6MB, which is the maximum download. The size may decrease if features are deselected, to a minimum of 14.3MB.'
    but what downloaded was not 14MB, it was 165MB.
    I need java only for viewing certain parts of pages, nothing more, so 165MB seems crazy. i try to install only certain parts by checking 'do not install this now', but it gets installed anyway. there seems to be no way to only install a portion of the download. and the strangest thing is that i once had java, so where did it disappear to?
    how can i just get the 14 mb download. i've tried EVERYTHING.
    can anyone help? i've spent HOURS being challenged by this.

    you just solved the problem, caffeine! you're the man (or gal) !!!!!
    i clicked on: Online Installer and downloaded: http://jdl.sun.com/webapps/download/AutoDL?BundleId=9811
    which is now (in properties on the install icon), noted as j2re-1_4_2_06-windows-i586-p-iftw 1.35 MB.
    FYI: add/remove programs still says 108MB.
    i'm still having a bit of trouble understanding this concept (could be my ADD) so to clarify...you saying that Add Remove Programs contains only an estimate of the size of an install program after installation, not the download size. i just assumed they were the same size. An install program is usually compressed. During installation, files inside the install program are uncompressed and copied to the appropriate locations on your hard drive , meaning that even tho i am downloading something of 1.35MB, those 1.35MB are compressed, and so when i uncompress them (by installing them on machine) the file size is increased? how can 1.35MB increase to approx. 108MB? and in the end, is this taking up 1.35MB or 108MB on my hard drive. (you say 108 is an estimate. but 1.35 is so different than 108, what kind of estimate is that?)
    and finally,
    - why do some friends have this noted as 14MB in THEIR add/remove programs.
    - why do i have 1.35 and not 14MB (which is what most people have).
    Most of the files for the JRE are copied to C:\Program Files\Java\j2re1.4.2_06. If you want to see the size of that folder and its contents right click on the folder (j2re1.4.2_06) and select properties. when i go to the actual folder, it says 33.7 MB. now i'm doubly confused as i thought it was 1.35MB.
    By the way I believe you have downloaded and installed the JRE 1.4.2_06. yes i have, but i dont think i need the whole Java Runtime Environment just to view apps, do i? whenever i click on a download (like yours, for instance) the link leads to download of JRE 1.4.2_06. how can i get rid of what's not needed. again, i only need JAVA TO VIEW JAVA APPS.
    are you exhausted yet??? (sorry, i really am trying to understand this).
    thanks soooooooooo much caffeine!
    deb

  • Slow Oracle Forms 10gR2 using  Sun's JRE on Windows 7 x64

    Hi,
    We are running Application Server 10gR2 10.1.2.3 and we've been running Sun's JRE on Windows XP SP3 just fine. It is snappy and with the exception of a couple of minor issues, everything works well.
    We are now testing a few new workstations running Windows 7 x64 (64bit) with Sun's JRE again and the performance is just horrible. It is almost unusable. We've tried both 32bit (x86) jre and x64 (64bit) no difference. We also tried Firefox (only comes in 32bit version) and the same problem.
    Oddly the problem does not exist on Windows 7 x86 (32bit). Anyone have any ideas or suggestions to get it to behave?
    Thanks.
    George.

    First, I think we need to clarify what is and is not certified for use with 10.1.2.3 so that other readers don't misunderstand what is being discussed.
    Forms 10.1.2.3 has been certified to use Windows 7 x64 with IE8 and Sun JRE 1.6.0_16+ (32bit only). Refer to the new Forms 10.1.2 Client Statement of Direction which can be found here:
    http://www.oracle.com/technetwork/developer-tools/forms/clientsod-forms10gr2-088253.html
    If you have previously bookmarked the SOD, please update your bookmark as this is a new location.
    Second, without knowing at least some details about the app and even how the client machine is used, it will be difficult to offer any specifics. In general, I don't believe that we (Oracle) have had any specific complaints. However, we are currently investigating at least one performance complaint (it may be yours :) ), but so far details are limited so we don't have much to go on.
    In order for anyone to understand a performance problem we must first understand exactly what is meant be terms like "degraded", "slow", etc. In the case of this thread, it has been claimed that it takes "2 seconds" to get from field to field. Is this an accurate measurement or an exaggerated guess? We also need to understand the app and the environment. For example:
    1. Besides the change in the JRE from one version to another, what else has changed? For example, are more users accessing the server, was the server or Application Server patched, have there been networking changes, has SSL been enabled where it previously was not, etc.
    2. Besides the Forms application, are any other java applications running on the client machine when this performance issue is experienced?
    3. Are there any fat applications running on the client machine? For example, some virus scanners tend to hog significant levels of resources and degrade performance from other apps. Email client software also tends to be fat and hog resources (I won't mention names here :) ). Disable or terminate fat apps and retest. What is the result?
    4. Does the Forms application execute client side java? For example, WebUtil, custom Beans, etc?
    5. Is the client machine configured to access mapped drives (either related or not related to the Forms app)?
    6. Has JRE tracing or logging been enabled? This setting can be found on the Java Control Panel (Advanced tab). If yes, disable it.
    7. Have you tested setting the JRE "..next-generation Java Plug-in" to OFF? This is also on the Advanced tab of the Java Control Panel under "Java Plug-in". Restart the browser will be necessary.
    8. On the server, are the application's modules (fmx, mmx, plx, etc) stored locally with the installation of Application Server or are then access via a net drive?

  • Conflicts between jinitiator and sun jvm:  is webstart a viable solution?

    We currently have a problem where our users have to use multiple sessions in order to keep Sun's JVM from loading in the same IE instance that Jinitiator 1.3.1.21 is running. When jinitiator loads after java is already running, ie exits with a C++ exception, not very friendly to our users.
    Our current solution instructs people to launch the browser in a separate memory space, but that is very tedious to explain to users. We have multiple vendor-provided fat java applets (one using jinitiator, one using sun jvm)
    I've seen some messages on this forum regarding switching the applet into a full blown application running from webstart. What this would do for us is allow us to keep the two jvms separate when they are launched from webstart.
    1) Does anyone else have this problem and have a different solution?
    2) Is it possible from a jnlp file to indicate that jinitiator should be chosen to run the applet/application?
    - from http://java.sun.com/j2se/1.5.0/docs/guide/javaws/developersguide/syntax.html#resources I see <j2se version="1.4+"/> can be picked to choose a jvm in order of preference.
    Is there anything specific about jinititator that would allow it to be indicated on the version line? Has anyone done this?
    Thanks,
    Chris

    The easiest solution would probably be to use the same JRE for all applications. Sun JRE 1.4.x is certified with most Forms versions, however refer to the Forms Client Statement of Direction for your Forms version.
    Forms 6i
    http://www.oracle.com/technology/products/forms/htdocs/clientsod_forms6i.html
    Forms 9i
    http://www.oracle.com/technology/products/forms/htdocs/clientsod_forms9i.html
    Forms 10g (9.0.4)
    http://www.oracle.com/technology/products/forms/htdocs/10g/clientsod_forms10g.html

  • Differences between Sun JVM and Microsoft JVM.

    Differences between Sun JVM and Microsoft JVM.
    I have a very simple applet that I am trying to make compatible with both Microsoft�s JVM and Suns JVM in Internet Explorer.
    However, when I turn on the Sun JVM it works occasionally, but frustratingly on most occasions I get the following error messages:
    In the status bar: "Applet <name> notinited"
    And when I investigate further in the console I get the following output:
    load: class <name>.class not found.
    java.lang.ClassNotFoundException: <name>.class
         at sun.applet.AppletClassLoader.findClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at sun.applet.AppletClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at sun.applet.AppletClassLoader.loadCode(Unknown Source)
         at sun.applet.AppletPanel.createApplet(Unknown Source)
         at sun.plugin.AppletViewer.createApplet(Unknown Source)
         at sun.applet.AppletPanel.runLoader(Unknown Source)
         at sun.applet.AppletPanel.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    Caused by: java.net.SocketException: Malformed reply from SOCKS server
         at java.net.SocksSocketImpl.readSocksReply(Unknown Source)
         at java.net.SocksSocketImpl.connect(Unknown Source)
         at java.net.Socket.connect(Unknown Source)
         at sun.net.NetworkClient.doConnect(Unknown Source)
         at sun.plugin.net.protocol.http.HttpClient.doConnect(Unknown Source)
         at sun.net.www.http.HttpClient.openServer(Unknown Source)
         at sun.net.www.http.HttpClient$3.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at sun.net.www.http.HttpClient.privilegedOpenServer(Unknown Source)
         at sun.net.www.http.HttpClient.openServer(Unknown Source)
         at sun.net.www.http.HttpClient.<init>(Unknown Source)
         at sun.net.www.http.HttpClient.<init>(Unknown Source)
         at sun.plugin.net.protocol.http.HttpClient.<init>(Unknown Source)
         at sun.plugin.net.protocol.http.HttpClient.New(Unknown Source)
         at sun.plugin.net.protocol.http.HttpURLConnection.createConnection(Unknown Source)
         at sun.plugin.net.protocol.http.HttpURLConnection.connect(Unknown Source)
         at sun.plugin.net.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
         at java.net.HttpURLConnection.getResponseCode(Unknown Source)
         at sun.applet.AppletClassLoader.getBytes(Unknown Source)
         at sun.applet.AppletClassLoader.access$100(Unknown Source)
         at sun.applet.AppletClassLoader$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         ... 10 more
    It appears that the applet never gets loaded. I have no idea why?
    What is the Sun JVM doing here?
    Many thanks in advance for any help.

    Oh, one more thing. Here's the outpt of the VM log when I run the test above:
    Java(TM) Plug-in: Version 1.4.2_03
    Using JRE version 1.4.2 Java HotSpot(TM) Client VM
    User home directory = C:\Documents and Settings\Michael
    Proxy Configuration: No proxy
    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
    p: reload proxy configuration
    q: hide console
    r: reload policy configuration
    s: dump system properties
    t: dump thread list
    v: dump thread stack
    x: clear classloader cache
    0-5: set trace level to <n>
    java.lang.NullPointerException
         at sun.plugin.cache.Cache.updateTable(Unknown Source)
         at sun.plugin.cache.FileCache.getMatchingFile(Unknown Source)
         at sun.plugin.cache.CachedFileLoader$2.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at sun.plugin.cache.CachedFileLoader.getCacheFile(Unknown Source)
         at sun.plugin.cache.CachedFileLoader.load(Unknown Source)
         at sun.plugin.cache.FileCache.get(Unknown Source)
         at sun.plugin.net.protocol.http.HttpURLConnection.connectWithCache(Unknown Source)
         at sun.plugin.net.protocol.http.HttpURLConnection.connect(Unknown Source)
         at sun.plugin.net.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
         at sun.plugin.net.protocol.http.HttpURLConnection.getHeaderField(Unknown Source)
         at java.net.HttpURLConnection.getResponseCode(Unknown Source)
         at sun.applet.AppletClassLoader.getBytes(Unknown Source)
         at sun.applet.AppletClassLoader.access$100(Unknown Source)
         at sun.applet.AppletClassLoader$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at sun.applet.AppletClassLoader.findClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at sun.applet.AppletClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at sun.applet.AppletClassLoader.loadCode(Unknown Source)
         at sun.applet.AppletPanel.createApplet(Unknown Source)
         at sun.plugin.AppletViewer.createApplet(Unknown Source)
         at sun.applet.AppletPanel.runLoader(Unknown Source)
         at sun.applet.AppletPanel.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    v

  • BEA-280101 warning while using Weblogic 10.3.3 on SPARC 64bit sun jvm

    Hi all:
    I got this warning when start Weblogic 10.3.3 on SPARC 64bit sun jvm
    <BEA-280101> <The persistent file store "_WLS_xxxdomain" is forced to use buffered I/O and so may have significantly degraded performance. Either the OS/hardware environment does not support the chosen write policy or the native wlfileio library is missing. See store open log messages for the requested and final write policies. See the documentation on store synchronous write policy configuration for advice.>
    I have checked that Native I/O is enabled,but it seems JMS can't find correct .so file
    Any idea? Thanks in advance!
    Best regards,
    James

    We are also getting the same error on a Linux 10.3.3 installation with 64bit jrockit
    Red Hat Enterprise Linux Server release 5.5
    Linux 2.6.18-194.3.1.el5 #1 SMP x86_64 x86_64 x86_64 GNU/Linux
    Is that the correct driver? This is a default weblogic installation, what is missing so it uses the correct I/O method?
    ####<Jun 22, 2010 6:04:12 PM CEST> <Info> <Store> <server> <wlserver> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <12772226524
    27> <BEA-280008> <Opening the persistent file store "_WLS_admdominio1" for recovery: directory=/weblogic103/user_projects/domain/servers/server/data/store/default requestedWritePolicy="Dire
    ct-Write" fileLockingEnabled=true driver="NIO".>
    ####<Jun 22, 2010 6:04:12 PM CEST> <Warning> <Store> <wlserver> <wlserver> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1277222652564> <BEA-280101> <The persistent file store "_WLS_wlserver" is forced to use buffered I/O and so may have significantly degraded performance. Either the OS/hardware environment does not support the chosen write policy or the native wlfileio library is missing. See store open log messages for the requested and final write policies. See the documentation on store synchronous write policy configuration for advice.>
    Edited by: ezra-s on 22-jun-2010 18:46

  • Create Shopping Page gives Javascript Error - Sun JVM in a DMZ?

    Hi SDN
    We are running on SRM 5.0, with server at 5.5 and we have just implemented SP 11.  Since then, our users running IE with the Sun JVM 1.4.2_10 are getting a JavaScript  error everytime an applet loads on their page (in this case, it is the applet within the Document & Attachments section).  Moreover, our portal is being hosted on an SSL secured server within our DMZ, in conjunction with a Provencia IDS System, Blue Coat hardarware, RadWare, ...etc.
    The only way we can make that page work, is by disabling the Sun JVM and use the MS Version of the JVM.  At that point, no issue with the applet on our SSL Secured Portal.  Even funnier, is that when I'm calling directly the Portal Server (without the SSL proxy), even if i run the Sun JVM, I'm not getting the error. Since we have over 1000 users, it woulde be aimpossible to have all of them making that change... We need to make that work.
    Have you ever experienced something like that?  If yes, what have you done to fix it? Any suggestion, OSS notes
    Thanks in advance
    Eric L.

    I am having almost the same issue.  This is what my java console throws "load: class com.sapportals.portal.epcf.EPCMfactory not found."

  • IE doesn't recognise Sun JVM..

    I stuffed up my IE 6.0 installation .... I can't recall what I changed but the browser doesn't recognise my JVM anymore. Applets won't download...... I did all the obvious as explained on the relevant Sun and MS websites, such as:
    - reinstalled JVM 1.4.x
    - configured browser using via Java, Internet Control Panels (uncheck the MS JVM, etc.)
    - flushed temp internet files
    - rebooted
    I am getting desperate for any help..... Thanks in advance.

    Hello All,
    I've been looking into this problem for quite a while now and I'm not sure if it is only 1 problem or two.
    On some machines Java appears to be disabled. This is fixable by uninstalling and re-installing either the Sun JVM (as robby_h mentions) or by re-installing the MS JVM (which is a little hard to find).
    The second problem I have seen is where the Sun JVM still starts as does the Applet, but the database connection we use doesn't work. It appears to be substituting 127.0.0.1 (the local machine) for the Host in the connection string. I'm not sure if this is the only effect but it does cause a major problem for us as some of our clients are unable to use our e-commerce sites and a lot will not be reporting the issue to us.
    I have been working on finding a way to solve the problem. It's not pretty but removing Java (both MS JVM and Sun JVM) completely and then re-installing it has worked so far. I've tested it on win 2k and XP home machines.
    I am not sure where the problem actually is. I believe that it's something to do with IE which is changed (probably a/some dll files) when Java is installed. This would explain why in some cases installing a different version of the Sun JVM might work as if the dll files are different then they will overwrite the bad dlls and hence solve the problem.
    robby_h, have you tried re-installing the latest Sun JVM since you got it working with 1.3?
    If it is a problem with a corrupt dll then I have no idea which one it is. Anyone know how to find out?
    Alastair.

  • Sun JVM works, Microsoft VM gives an error

    I've got this applet:
    import java.awt.*;
    import java.applet.Applet;
    import java.net.*;
    import java.io.*;
    public class Standen
    extends Applet {
    private URL sourceFile;
    private BufferedReader inFile;
    private String lines="";
    public String getScores(String bestand) {
    try {
         sourceFile = new URL(getCodeBase(), bestand);
    getFile();
         getMostRecent();
    catch (Exception ex) {
    return "";
    return lines;
    private void getFile() throws Exception {
    URLConnection link = sourceFile.openConnection();
    inFile = new BufferedReader(new InputStreamReader(link.getInputStream()));
    lines = "";
    String line = "";//lezen van bestand
    do {
    if (line != "") {
              line = line.trim();
    lines = lines + line + "\n";
    line = inFile.readLine();
    while (line != null);
    inFile.close();
    private void getMostRecent() {
         String term = "<mostrecent>";
         String eindTerm = "</mostrecent>";//Tag met mostrecent
         String vergelijkLines = lines.toLowerCase();//Hoofdletters maakt niet uit
         int plaatsTerm = vergelijkLines.indexOf(term);//plaatsen opzoeken van de tags
         int plaatsEindTerm = lines.indexOf(eindTerm);
         plaatsTerm = plaatsTerm + term.length();//Tag zelf niet meenemen
         if(plaatsTerm!=-1 &&plaatsEindTerm!=-1) {//alleen als de tags voorkomen
              lines = lines.substring(plaatsTerm,plaatsEindTerm);//tekst kopieren
         } else {
              lines="";//anders niks teruggeven
    It works fine on my computer with the sun jvm, but it doesn't seem te work if you have the microsoft vm installed. I still want to make the applet compatibel for other people. What can I do about this?

    There is a way to enable the IE Java console - try googling for instructions. There's a good chance the console displays an error message. Or if it doesn't, add debugging println's to pinpoint where something goes wrong.
    The MS JVM is old and has bugs, including security bugs. If the users of your applet are in any way important to you (such as paying customers), try to get them to dump the MS JVM. They are opening themselves up to worms and such nastiness.
    By the way, ' if (line != "")' isn't right, you need 'if (!line.equals(""))'.

Maybe you are looking for

  • Best Practices for sharing media with iMovie and FCPX

    So I've a large iMovie Events directory, and would like to use that media with both iMovie and FCPX projects. I'd rather not duplicate the media, so would prefer to import as references into FCPX. The dilemma is that I see that it's possible to modif

  • Is it possible in BAPI to ignore a reqd field in table while uploading data

    Dear SAP Guru's, A GL account had "allow posting without tax code" unchecked, which meant that tax code had to be specified in order to post balances/data in that GL account. But during cutover, while uploading balances using BAPI, the conversion tea

  • Is there a way to change the size of a lot of shapes on your slide at once (to the same size)?

    Hello, I am using Captivate 8. I have a slide with a lot of smart shapes that are the same - size, color, etc.  If I want to make them all smaller, and still with the exact same dimensions, can I do it all at once.  In other words, can i save size in

  • Google maps url in Web dynpro for java

    Hi all, Can someone tell how I can create a Google Url and show this Url in a Iframe in a Web dynpro. I can create an url but I see the google webpage with the map. I just want only see the map in my Iframe! Kind Regards, Richard

  • Which is better PI 7.0 r 7.1

    hi all, iam going to install PI in my laptop...??? in market now PI 7.1 is also available...but i dnt knw how successfull it is plzz give me u r valuable suggestions....shld i go for 7.0 r 7.1 thnx in adv kiran