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

Similar Messages

  • Difference Between Sun JVM and IBM JVM

    Hi
    Can some one let me on the difference between Sun JVM and IBM JVM
    regs
    Vivek Nidhi

    Sun's JVM is built on HotSpot technology: http://java.sun.com/docs/hotspot
    and covers a broad range of OS/HW combinations: http://java.sun.com/j2se/1.5.0/system-configurations.html
    Maybe you can be more specific in your question or in describing what you want to do.
    -Alexis

  • JPEG color difference between Adobe Raw and Microsoft Image Viewer

    When I calibrate my monitor or use the monitors ICC file which came with the Monitor, there is a color difference between Camera Raw image and the JPEG I save from Camera Raw, displayed in Microsoft Image Viewer.
    However, if I make my ICC file for the system to be SRGB Color Space Profile, and go through the same conversion, the JPEG image created and viewed in Microsoft Image viewer is identical to the one seen in Camera Raw.
    It appears therefore, that the operating system only uses SRGB Color Space profile for Microsoft Imaging Viewer?
    Most people I give photos to, do in fact look at them in microsoft viewer.
    How can I use the ICC profile for my calibrated monitor and end up with the same results in terms of color with Camera Raw and Microsoft image and Fax Viewer.

    All profiles are not created equal.  There's a basic version issue (ICC v4 vs. earlier), and profiles are complex things containing many fields.  Lots of things can go wrong in the creation of a proper color transform from the combination of the document and device profiles, and it kind of depends on what color management code the software uses whether it can be done properly.  Adobe has their own - the Adobe Color Engine - and there are others such as LittleCMS or even Microsoft's system-provided ICM that application designers may be using in their code.
    It may be that the profile your calibrator/profiler has produced for your monitor (or other device) isn't compatible with every application.  It happens.
    This isn't intended to provide a solution or workaround, just to help explain things a bit.
    -Noel

  • Difference between Sun Enterprise Systems and JCAPS

    Hi,
    Can somebody explain to me the differences between Sun ES and JCAPS? Is it true that JCAPS is buit on top of Sun ES? Also, does JCAPS refer to a single product or a collection of products? Which are the products needed for a developer to start off?
    Thanks

    hi *,
    CAPS is based on ES komponents like appserver or JMS server.
    CAPS is one product (one ide & environment) with many modules (connectivity , bpm .....)
    many products best is to read the manuals http://docs.sun.com/app/docs/prod/sj.caps#hic
    regards chris

  • Difference between SUN JDK V1.4.2_05 and JDK V1.4.2_07

    difference between SUN JDK V1.4.2_05 and JDK V1.4.2_07 and I want to the link in SUN for that. I want to know the bug fixes between them.

    Perhaps you should look at the documentation which comes with JDK 1.4.2_08.
    It has the bugs fixed listed.

  • What's the difference between Sun ONE Application Server 6 and IAS6.X

    Hi, can anyone tell me what's the difference between Sun ONE Application Server6 and IAS 6.x?
    Thanks a lot!

    This is only the change in name from iPlanet Application Server to SunONE Application Server. Rest all is same as far as the product is concerned.

  • Difference between Sun and IBM JSSE implementations?

    Hi!
    We have an applet done with Sun JDK 1.4.2-03 which has to connect a domino server in SSL mode.
    During the handshake the connection breaks down.
    The most surpising thing is to use IBM JDK to generate the applet, and the applet works.
    So we are thinking that there are some differences between these jdk (and so jre) which makes connections available or not.
    Does or did someone have the same problem, and find a solution ?
    Thanks for your help.
    Jerome

    HI,
    YAA THERE IS SOME DIFFER...B/W SUN AND JAVA. BUT MAYBE BRAND IS DIFFER I THINK THIS IS THE REASON.
    IF U FINDOUT SOME REASON THEN PLS MAIL ME
    REGARDS

  • Difference between static class and singleton?

    Hi I wonder what could be the difference between static methods and singleton?
    In singleton at any point of time there will be only one object existing in the JVM. We create singleton to avoid multiple object creation for that class.
    If I make all the methods in the class as static also it does the same job. The memory will be allocated once. Even there wont be any object in this case, so time required for object creation also can be saved. looks like more efficient but still why need singleton?
    This question is also posted in java programming forum. The thread is as follows:-
    [Click on this to visit that thread |http://forum.java.sun.com/thread.jspa?threadID=5278517&tstart=0]
    Edited by: murrayb9654 on Mar 25, 2008 8:20 AM

    yawmark wrote:
    Static class is a realization of singleton pattern.Not in any conventional sense.
    ~Especially since a static class is completely different from a class with all static methods.

  • Difference between english (uk) and english british keyboards

    When I typed a message I found my iPhone was set to English (US) when I typed a message, in 'International' I added a 'British' keyboard and now I see I have English so I for some reason have English (UK) and English 'with British in grey underneath' in the keyboard list. Now I see when I go between dictionaries while typing that there are the options of English (UK) and English (US)...  can someone explain:
    1) Why English (US) shows when typing messages and yet it is no longer in the keyboards list?
    2) What is the difference between 'English (UK)' and 'English British'?
    Cheers

    APPLET An Applet represents a bytecode that embedded in a Web Page.
    Applets are executed on the Client Machine automatically the results are displayed at Client Side.
    SERVLET A servlet is a Java Object that provides the implementation of javax.servlet Servlet interface.A servlet is a Server side java program which processes client requests and generates dynamic web content.
    An Applet is a client side java program that runs within a Web browser on the client machine whereas a servlet is a server side component which runs on the web server. An applet can use the user interface classes like AWT or Swing while the servlet does not have a user interface. Servlet waits for client's HTTP requests from a browser and generates a response that is displayed in the browser
    The following are the major differences between an Applet and an Application:
    a. Applets execute within a java enabled browser but an application is a standalone Java program outside of a browser. Both require a JVM (Java Virtual Machine).
    b. Application requires main() method to trigger execution but applets doesn't need a main() method. Applets use the init(),start(),stop() and destroy() methods for their life cycle.
    c. Applets typically use a fairly restrictive security policy. In a standalone application, however, the security policy is usually more relaxed
    PLEASE GIVE ME A REPLY

  • Difference between local agent and standalone agent

    Hi all,
    Can you please tell me the difference between local agent and standalone agent?
    I am getting a bit confused about this.
    Regards,
    Sourav

    Local agent will be running under the context of the main ODI session i.e. it is linked to an open session of the designer, operator etc. Standalone ODI agents run in their own JVM process and could be installed on any server and do not require an open instance of the ODI client GUI to run scenarios

  • What is difference between bex analyser and bex browser

    what is difference between bex analyser and bex browser . please explain what are use of both and what we do in both.

    hi
    Bex Browser
    The Business Explorer Browser (BEx Browser) makes it possible for you to access all document types of the Business Information Warehouse that are assigned to your role or that you have stored in your favorites. You can select and open documents assigned to you in the BEx Browser or store and manage new documents in the BEx Browser.
    Document types that you can work with in the BEx Browser are:
    · BW workbooks
    · Documents that are stored in the Business Document Service (BDS)
    · Links (references to file system, shortcuts)
    · Links to internet sites (URLs)
    · SAP transaction calls.
    · Web applications and Web templates
    · Crystal Reports
    Bex Analyser
    The Business Explorer Analyzer (BEx Analyzer) is the analysis and reporting tool of the Business Explorer that is embedded in Microsoft Excel.
    Features
    You can call up the BEx Query Designer in the BEx Analyzer, in order to define queries. Subsequently, you can analyze the selected InfoProvider data by navigation to the query created in the Query Designer and create different query views of the data. You can add the different query views for a query or for different queries to a work book and save them there. You can save the workbook in your favorites or in your role on the BW Server. You can also save the workbook locally on your computer.
    Beyond that, you can precalculate the workbook and distribute it by e-mail to recipeients or you can export it to the Enterprise Portal and make it accessible to other employees in the company.
    You can start queries in a standard view (with a Standard Web Template set up in Customizing) in the Web browser and forward the URL or continue to navigate on the Web. Similarly, you can export the Web query to MS Excel 2000.
    Overview of the Functional Area of the BEx Analyzer:
    ·        BEx toolbar
    You access the functions of the BEx Analyzer from the BEx toolbar, which takes you to the BEx Open dialog box where you can open existing queries, or to the BEx Query Designer where you can create new queries or change existing queries.
    ·        Evaluating Query Data
    The BEx Analyzer offers convenient functions for evaluating and presenting InfoProvider data interactively. In the BEx Analyzer, you can add queries to workbooks, navigate within them and refresh the data. You can also process the queries further in Microsoft Excel or display them in the Web browser in a default view.
    Navigation of a query allows you, for example, to filter characteristics on a single value, drilldown on all values for a characteristic, regroup characteristics and key figures in the rows and columns of the results area, or hide key figures. Navigation results in different views of the InfoProvider data. In addition, a range of further functions is available which allow you to edit a query interactively (for example, sorting, cumulated output, among others). In addition, you can use the editing functions in Microsoft Excel in order to set up individual format templates, to print results areas, or to create graphics.
    ·        Queries in Workbooks
    Queries are inserted into workbooks so you can display them. When you insert a query, a link is made between the cell areas of the worksheet and the data of the InfoProvider upon which the query is based. A link therefore exists between the Business Explorer and the Business Information Warehouse Server (BW Server).
    When inserting a query into the workbook, a VBA routine is automatically generated in the workbook. You can also connect the Business Explorer with your own VBA programs (Visual Basic for Applications).
    You can create workbook templates, into which you can insert your queries. Workbook templates can contain pre-determined items for the area of the query, formatting settings, logos, VBA macros, and so on.
    ·        Precalculating workbooks
    You can precalculate and distribute workbooks with the BEx Broadcaster, which is a Web application you get to form the BEx toolbar. The system generates MS Excel workbooks with historical data. You determine the time for precalculation yourself: You can have workbooks precalculated at a predefined time or they can be precalculated whenever data in the underlying InfoProvider changes. You can have the precalculated workbooks sent by e-mail or you can export them into the Enterprise Portal, where you can make them available to employees within your company.
    Activities
    To start the BEx Analyzer, choose Start ® Programs ® SAP Front-end Business Information Warehouse ® SAP Business Explorer Analyzer.
    You can also access the BEx Analyzer via SAP Easy Access ® SAP Business Information Warehouse ® SAP Menu ® Business Explorer ® Analyzer or in the Business Explorer Browser using the Business Explorer Analyzer symbol in the menu bar.
    Hope this will solve your issu
    nagarjuna

  • What is difference between SharePoint List and Libraries

    What is difference between SharePoint List and Libraries

    Hello,
    You also might want to loot at here:
    http://veroniquepalmer.com/2013/02/24/the-difference-between-sharepoint-2010-lists-libraries-and-pages/
    http://social.technet.microsoft.com/Forums/sharepoint/en-US/1d4152cd-92a6-4eed-9a52-a519ec71c674/what-is-the-difference-between-document-library-and-list-in-sharepoint
    Hope it could help
    Hemendra:Yesterday is just a memory,Tomorrow we may never see
    Please remember to mark the replies as answers if they help and unmark them if they provide no help

  • What is difference between distribution list and share point group? Can we add distribution list into person and group column of share point list?

    what is difference between distribution list and share point group? Can we add distribution list into person and group column of share point list?

    there is a workaround you can try, create audience and add DL to them and deal with the audience or convert DL to groups
    https://social.technet.microsoft.com/Forums/en-US/02f0d773-8188-4d94-a448-0c04d838b0cf/distribution-lists-in-sharepoint?forum=sharepointgenerallegacy
    Kind Regards,
    John Naguib
    Technical Consultant/Architect
    MCITP, MCPD, MCTS, MCT, TOGAF 9 Foundation
    Please remember to mark your question as answered if this solves your problem

  • Whats the difference between an INTERFACE and a CLASS?

    Whats the difference between an INTERFACE and a CLASS?
    Please help.
    Thanx.

    http://search.java.sun.com/search/java/index.jsp?col=javaforums&qp=%2Bforum%3A31&qt=Difference+between+interface+and+class

  • Differences Between Optimizer Solution and Planner Solution in Project Server Events

    Dear All,
    Does anyone know the differences between Optimizer Solution and Planner Solution in Project Server? 
    In http://msdn.microsoft.com/en-us/library/office/gg204879(v=office.15).aspx and http://msdn.microsoft.com/en-us/library/office/gg200978(v=office.15).aspx, they stated same definitions for both Optimizer Solution and Planner Solution.
    Thank you.

    Not entirely sure, but I'd guess they are the same.  This is probably a relic of the old Portfolio Server which had Planner and Optimizer as separate modules.  My guess is that some of that got grandfathered in to Project Server, but due
    to functionality creep, ended up meaning pretty much the same thing.
    Andrew Lavinsky [MVP] Blog: http://azlav.umtblog.com Twitter: @alavinsky

Maybe you are looking for

  • Capacity planning in ASCP

    Hi, Does anyone know how ascp plan calculates "Daily Hours","Touch Time" and "Adjusted Resource Hours" in horizontal plan for a resource? Looks like plan used below logic to calculate resource hours. (usage rate of a resource in Minutes/60) * Schedul

  • Dropping signal on both Wired PCs WRT54G.........Help!!!!!

    Ok Im lost here.............Ive got a WRT54G V8.......I have two wired computers and both are having issues dropping signal. One PC is Vista and the other is XP. If I disconnect the router and run one PC on the dsl modem it runs fine with no issues o

  • Access replicated DB environment via SQL/sqlite/ODBC/JDBC interfaces

    I'm wondering whether replicated DB environments can be also accessd via the SQL (sqlite, ODBC and JDBC) interfaces? How to deal with the DB_ENV->rep...() methods in this case? Is it actually necessary to share my DB_ENV poiner (which I setup for rep

  • BW WAD is giveing java error due to duplicate user mapping

    Hi, In BW WAD is opening with some user IDs successfully.But for some user IDs it is giving jav error. BW and portal integration is correct and SSO also configured properly.The problem is duplicate usermapping.How to find out ABAP ID is mapped to use

  • Help needed on java Logger, please...........

    Hi, can anyone give me a good tutorial link on java Logger? one more doubt, In logging, in the log file the info is saved in XML format. How can i change it to normal text format? pls help..... -Soni.