Microsoft & Sun JVM compatability

Are there any reasons why an application (with Java 1.1.8 ) designed to work with Microsoft JVM 5.0.0.3234 or above should not work with Sun JVM v1.4.2.03?

Your options are:
1. Run it in the MS JVM (but you knew that)
2. Download, disassemble and fix the code to run in Sun's JVM. Various tools available to aid in this, but it's legally questionable.
3. Use a wrapper environment to host the code.
I don't know if 3 exists, or indeed if it's possible because I don't know much about MS's proprietary changes. If they altered bytecode it's probably not, if they didn't, it probably is. I don't know of a product that does this, but it's worth having a dig around on google. If it's possible and a suitable product exists, that's probably the best solution.
Dave.

Similar Messages

  • 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(""))'.

  • Microsoft JVM vs Sun JVM

    We have an application that requires only Microsoft Java VM be running in our IE browsers, so we cannot run Sun Java VM at the same time. Is there a workaround that will allow users to view Discoverer output? I am still investigating utilizing Discoverer as we have an enterprise license, so my choice of client viewers is still undecided.

    Because of Microsoft's strong commitment to the Java platform, we have had to discontinue support and certification for the Microsoft VM. The only two JVMs supported and tested for Discoverer Plus are JInitiator and the Sun JVM.
    Thanks
    Abhinav
    Oracle Business Intelligence Product Management
    BI on Oracle: http://www.oracle.com/bi/
    BI on OTN : http://www.oracle.com/technology/products/bi/
    Discoverer : http://www.oracle.com/technology/products/discoverer/
    BI Software : http://www.oracle.com/technology/software/products/ias/devuse.html
    Documentation: http://www.oracle.com/technology/documentation/appserver1012.html
    BI Samples : http://www.oracle.com/technology/products/bi/samples/
    Blog : http://oraclebi.blogspot.com/

  • Microsoft JVM & Sun JVM

    I have the Sun JVM 1.3 and 1.4 installed on my computer.
    IE is set to use the sun JVM (1.4) for the <APPLET> tag (in tool->Internet Options->Advanced).
    How can I launch an applet using the Microsoft JVM ?
    I have try something like:
    <object classid="08B0E5C0-4FCB-11CF-AAA5-00401C608500"
    width=150 height=150>
    <param name=codebase value="http://www.blabla.com/here">
    <param name=code value="JavaClass.class">
    </object>
    But my IE keep craching.
    Any help ?

    Well in fact I have found a solution, but I don't know if it's full proof, does somebody have any idea ?
    I use:
    <object classid="java:MyCode.class"
    codetype="application/java"
    width=my_width
    height=my_height>
    <param ....>
    </object>

  • IS cookie handling in the Sun jvm automatic like the microsoft JVM?

    Hi,
    I am moving from a micrsoft JVM to the sun JVM. I am dealing with cookies. It appears that the microsoft JVM Wininet URL handler automatically handles cookies. Does Sun's do that for more current versions?
    thany you,

    It stores cokies, yes.
    In JDK5 there was an API added which even allows you to control cookie handling yourself.
    lg Clemens
    By the way, JDK6u10 us currently in BETA, it offers many enhancements on desktop, give it a try:
    http://download.java.net/jdk6/binaries/

  • Game runs fine in sun jvm, microsoft jvm causes 99% cpu usage and is SLOW

    In the microsoft JVM (my target platform) I get 2 frames per second... in the sun JVM I get at least 60.
    The strangest part, is that this only repros when iexplorer.exe is the only process running java anything... for example, if I have net beans running, I get 60 FPS in the microsoft JVM as well. That makes no sense to me.
    I have tried thread.yeild and thread.sleep in my main loop, and that didn't fix anything.

    In the microsoft JVM (my target platform) I get 2
    frames per second... in the sun JVM I get at least
    60. Don't use the MS JVM. I
    The strangest part, is that this only repros when
    iexplorer.exe is the only process running java
    anything... for example, if I have net beans running,
    I get 60 FPS in the microsoft JVM as well. That
    makes no sense to me.
    I have tried thread.yeild and thread.sleep in my main
    loop, and that didn't fix anything.About these 2 methods.
    sleep() // example in almost every book. Leaves
    // Thead on the schedule list
    yeild() // Pell mell as in no control of when it unyields.
    // prone to race/deadlock UNLESS monitored by
    // another thread that wakes up periodically.
    Tony's "Theorized" <- make the uptight acedemic sycophants happy.
    Law of the exec constant.
    "Any Thread or process *that locks the system MUST yeild controls for at
    least 20MS pre iteration."
    Why 20MS? It gives the underlying OS a little slice and is enough
    to ensure everything gets enough CPU. Every MS under 20 increases
    the deadlock potential. (*If at zero wait you get a preempted deadlock)
    You can play with this value but I have found it is pretty consistent
    across CPU speeds / hardware/
    Use a synchronized wait() in your main run method every iteration.
    Objet waitObject();
    synchronized(waitObject)
    try
       waitObject.wait(20);
    catch(InterruptedException ie)
    }wait() Removes the Thread from being scheduled.
    This iwll give IE the CPU it needs and your CPU should dro
    to around 1%.
    Hmm now how many kicked dog howls am I going to get about his message
    (T)

  • 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

  • JVM Compatibility

    (new thread please!) Grant Ronald - Forms Product Management.
    At your request Grant.
    Compatibility ( Jinit vs Ms JVM vs Sun JVM ) - Not sure what you mean, we certify Jinit, we certify native JVMs we certify the Sun plug in, we certify IE, we certify NS, we certify Mac browsers - whats the issue
    Oracle Certainly doe support many different environments, the problem is that forms deployment on the internet is still a problem. As we have started our deployment we are seeing failures in 10-20% of clients, with jvm problems and we specify IE only. These clients have either no JVM or the wrong JVM for forms.
    We do not have this problem with the menu applet that we use.
    The solution to this is to force a download of a JVM as part of the initial process. As we examined this we found:
    1. Jinitiator -
    8 megabyte download
    No Feedback on download when triggered from the form until the download is complete.
    No usable Oracle source for the plug-in. Try wading through the download to get the right Jinitiator.
    No Web Install for Jinitiator. ( user gets F.U.D. when faced with exe download pop up).
    2. Microsoft JVM
    5 megabyte download if you can find it.
    No longer supported by Microsoft, but available on other sites.
    Limited functionallity. 800k Cab file must be downloaded for each form session.
    3. Sun Java Plug-in
    14 megabyte download
    This downloads and installs as J2ME not as a simple plug in.
    The only doc on setup for this is a White paper, which is not specific enough for most developers.
    The current download 1.4.2_1 also has warnings on the download that the file does not match the certificate.
    Also, the signature of the applet with JDK is downright hokey.
    Distributing an applet signed by "Developer" whose authenticity is verified by "Oracle" who is not trusted.
    Come on. This is your "Oracle's" applet not and you can afford to buy a certificate from Verisign.
    As we developers and our customers struggle, we see Microsoft pushing .Net where the promise is 95% compatibility with no download required ( since the hide it in the base OS).
    Grant you are caught in the middle but there are things that you can do.
    1. Fix the jar signature now
    2. Continue to work with Sun on a light-weight browser plug-in. The "Java Get it now" should be as simple as the Acrobat reader process without the extra baggage.
    These are the things to do if you are serious and we are watching you.
    Kevin

    Kevin,
    sure Forms very much depends on the JVM it is executed in. But saying "Continue to work with Sun on a light-weight browser plug-in. The "Java Get it now" should be as simple as the Acrobat reader process without the extra baggage." is not fair as it ignores the fact that Adobe is a meta data definition while Java is a J2SE platform for real application programming.
    Native Java Swing apps, even those using Java Webstart", all require VMs for execution. However, it is not only the VM that you download when installing JInitiator or the Java plugIn, its the full Java platform stack you get too. With each Java release the Java language grows and becomes more complex, the VM needs to know how to handle this.
    JInitiator basically is an Oracle patched version of SUNs Java PlugIn and therefore doesn't differ much in the way you install and deploy it.
    I agree that we all want it easier and smaller. Microsoft and Netscape terribly failed in integrating a solid and up to date VM to their Browsers and Opera didn't even try.
    Simply remove pieces from the JVM or the Java platform to reduce size gets you into more trouble due to broken functionality and you don't really want to deal with this.
    Partial - on demand - loading of the Java platform code does not work either for security reason.
    Though its hard to live with a PlugIn it basically works and beside of that is all we have.
    Fran

  • 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.

  • 9i FORMS and SUN JVM 1.4.2_03

    Hi,
    We are planing to upgrade our IE browser with SUN JVM 1.4.2_03 virtual maching and our forms are not working when we access it from the update browser.
    They are working fine with the IE browser and Microsoft JVM.
    We are getting FRM -92050 error when we want to use SUN JVM and the same forms working fine with Microsoft JVM.
    It is been causing business issues so any early help will be much appriciated.
    Advanced Thanks,
    Santosh

    Hi,
    actually I don't know what exact does cause the problems, but the last version of Java 1.4 Plugin I got to work is 1.4.1_02.
    If you look at the Java panel of the Plugin you should find a couple of file not found messages spilled out.
    Not sure if Java Plugin 1.4.2 already has been certified with Forms. I think that not.
    Frank

  • What's the difference between MSJVM and SUN JVM

    Sometimes I can run a program under MSJVM more stable (faster) than that under SUN JVM. Would you please tell me why or tell some difference between them?? Many thanks.
    Edited by: ericfok on Dec 5, 2008 8:48 AM

    vitallis wrote:
    MSJVM has JNI ver. 1.1. My JNI wrapper generator also supports it. I wrote JNI code for MSJVM in 2000.No you didn't.
    You either used the MS VM linkage format, which resembles (strongly) how C# does it or you were not using the MS VM but rather the Sun one.
    The fact that MS Java supported third party dlls does not make it JNI. JNI was a specific specification on exactly how such support would be provided. And MS Java did not have it.
    References, search for "microsoft"
    [http://www.javaworld.com/javaworld/jw-10-1999/jw-10-jni.html]
    The following from Microsoft itself asserting that JNI cannot be required part of java. Search for "JNI". Presumably if MS was claiming that it wasn't required then obviously they knew that it wasn't in fact in there.
    [http://www.microsoft.com/presspass/legal/10-21copyright.mspx]

  • Microsoft Office Excel - compatibility Checker message in BPC 7.5

    Hello Experts,
    We are using BPC 7.5 M with Office 2007 on Application Server, we have upgraded from BPC 5.1 with Office 2003 where Dimension were of .xls and templates & Reports were of .xlt (office 2003 format) , After upgrade we have not done any changes in Dimension, Templates, reports version and they all are in .xls (Dimension) & .xlt (templates & reports) version
    We are getting a error while saving a dimension in Admin module (by clicking on "Save to Server" link):
    Microsoft Office Excel - compatibility Checker
    Significant loss of functionality
    Some cells have overlapping conditional formatting ranges.
    Earlier version of Excel will not evaluate all of the conditional
    formatting rules on the overlapping cells. The overlapping
    cells will show different conditional formatting.
    Do we need to convert the dimension files in 2007 format (.xlsx) or how to avoid the above told message while saving dimension file.
    Thanks,
    Rohit

    Hi Rohit Khatak,
    Could you solve your problem? I'm having this issue while processing ACCOUNT dimension (and only ACCOUNT) on Development environment, and nothing was changed at the server.
    Every time I try to save, I receive this compatibility error, and when I press "Continue", the file gets with a strange format. If I press the save again, it stil gives me the same error.
    I already tryed to process the dimension, to Refresh Dimension Members, and the error persists.
    Is there a way to solve this problem at BW side? On RSD1 maybe?
    Thanks in advance.
    Yours,
    Adriano

  • 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

  • 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

Maybe you are looking for

  • ERROR Message while creating Rebate condition record T code VBO1

    Dear Experts, I am getting error message while creating rebate condition record T code-VBO1-Error Msg-862 system cannot read the structure for table,because of this i could not create condition record. Please give the solution to create condition rec

  • Enquiry about audigy 4 [NON-PRO] & audigy 2

    Hi, I would like to make an enquiry about a few creative products. I am currently intrested in getting a T7900 speaker system. However i have doubts on the soundcard that i should get. Could anyone identify the difference with a Audigy 4 [NON-Pro] an

  • Question about blazeds turnkey installation and directory structure

    hi. this question is pretty basic...been reading sujit reddy g's blog on installing/setting up blazeds. in one article he creates a samplewebapps directory in C:\Program Files\Apache Software Foundation\Tomcat 6.0\webapps\samplewebapps and copies the

  • NO iPhoto Library showing in Desktop and Screensaver Menu in SL

    Hi experts, I have experienced a problem after I updated to SL last night. I made a fresh install of both SL and iLife 09 on my mbp unibody late 2008. Afterwards, I replaced the my fresh iphoto library simply with my old iphoto 09 library from time m

  • How to Create OSS Message to SAP??

    Hi Experts, I need to create OSS Message to SAP? could you please provide the related info??