Spot the J++ applet/class or MS VM dependent code

I wonder if an applet made by J++ that runs in Microsoft VM runs in the java plugin. Since MS diliberately changed some things in the core language code could have unexpected results when it's run with the Java Plugin.
Our coumpany uses external recourses and they use applets. Some applets work ok in the MS VM but not with the SUN plugin.
I authorized the applet to make network connections and read files (there were security exceptions first) but then the applet just crashes.
Since I didn't write the applet I cannot show code here.
My question is how to spot the J++ applet, to show that the applet is made for and tested for the MS VM.
Thanks,
Harm

http://www.javaworld.com/javaworld/jw-11-1997/jw-11-pitfalls.html
Used the javap but could not find any added classes in applet.
The applet is a zip file, I think this is the standard used by J++ to create a package but I am not sure.
Anyway someone else wrote the applet and they should fix it. If it doesn't run with the SUN plugin it's not my problem allthough I cannot prove this is due to MS incompatibillities.
Thanks,
Harm

Similar Messages

  • How to extend the JVue applet class using ActiveX Control

    My SR recommendation was to post this here:
    ) How to Extend the JVue Applet class
    This is the preferred solution. However, when using the ActiveX control, my derived JVue class that is specified in autovue.properties is not being instantiated.
    Your ActiveX bridge looks like it's hard coding a "new JVue()" which means I have no integration hook using the ActiveX control.
    To reiterate, if I extend JVue to add functionality and specify it in the autovue.properties, it is picked up when I run it standalone but if I use the ActiveX component, it is not being picked up.
    I have already read all the documentation, have had web conferences with Mahmood and Jeff Chapman and the engineering staff who recommended this approach as the preferred option.

    We have a need to override certain VueBean/JVue method calls to meet our document handling(documents need to handle metadata information and hence change the document loading cycle, ie markup loading/XRef resolution is dynamic). Also the invokeAction/invokeSubAction do not allow parameter passing(which we have requirements for certain actions again due to metadata) so we would like to override the invokeAction method to include custom processing(we will encode the action with parameters).
    We are already using Custom VueActions for other simpler UI event handling that don't have parameter requirements.
    As I said above, these use cases were relayed to the engineering team and senior staff members in early December and we were told that we could proceed with overriding the main class in the autovue.properties file. I have SR(s) opened with a long thread detailing this so I really don't want to go through this again.
    A custom VueAction does not seem to work because it binds to late in the object call/event stream.

  • How to hide applet .class name in html under CODE= applet.class?

    I want the user not to know about my .class name in the source code.
    I know there is a way in javascript.
    Does anybody knows how to do it?
    in other words...in the following code ..the user can know what it the .class name of my applet..and can download the NewJApplet.class
    on his/her computer easily..
    remember it could be .class or .jar file FYI.
    Thanks in advance
    <HTML>
    <BODY>
    <P>
    <APPLET  code="NewJApplet.class"  width=800 height=560></APPLET>
    </P>
    <HR WIDTH="100%"><FONT SIZE=-1>
    </BODY>
    </HTML>

    Thanks for your comment .. but it sounds lots of encryption/decryption
    involved.. I need somthing very simple... i have seen this code which does this.. here is the code but i am not an javascript expert .. so please
    if someone gets any clue let me know...
    here is the code ... it just a part of the drop down menu that 's
    why it has <a class="drop" syntex in front of it ...
    <a class="drop" href="javascript:AnyApplet('y')">My Applet</a><br></div>

  • Swing Applet Class Names. Help!!

    I`ve written an applet to put on my web page. I use Kawa to compile my Java files. The problem I have is that when I try and upload my .class files to the server, it says the filenames I`m using are illegal.
    The main applet class contains an inner class that contains the event listeners. The main class is called Frame and the inner class called Listener. This means that when I compile I end up with the .class files, Frame.class and Frame$Listener.class. I believe the server wont allow the dollar symbol, $. Is there any way I can get around this without rewriting my applet???
    Thanks

    First, applet doesn't run out of the server...it's run out of the user's system. Second, to some servers, a $ in the name of the file is considered an illegal character -- in cases like this, the only way to get around it is to put all of your class files in a jar like so:
    jar -cf myJar.jar *.class
    and in your HTML, your applet tag would look like this:
    <APPLET CODE="myApplet" CODEBASE="." ARCHIVE="myJar.jar" WIDTH=100 HEIGHT=100>
    </APPLET>
    where myApplet is the name of your main class and myJar.jar is the jar file created with the jar command shown above.
    ;o)
    V.V.

  • How to add a code TestIfElse(10) to the Main method of the Program.cs class?

    How to add a code  TestIfElse(10) to the Main method of the Program.cs class?
    Here is my code and I have copied from the Wiley book for Microsoft certification page 14,
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;
    using System.Threading.Tasks;
    namespace ifelse_Statement
        class Program
            static void Main(string[] args);
            TestIfElse(10);
            public static void TestIfElse(int n);
            if(n < 10)
                     Console.WriteLine("n is less than 10");
             else if(n < 20)
                    Console.WriteLine("n is less than 20");
             else if(n < 30)
                Console. WriteLine("n is greater than or equal to 30");
    Here is the error list I am getting,
    Error 1      Method must have a return type        C:\Users\PVS\documents\visual studio 2013\Projects\Lesson01\switch_Statement\Program.cs
    12 13
    switch_Statement
    Error 2
    Type expected C:\Users\PVS\documents\visual studio 2013\Projects\Lesson01\switch_Statement\Program.cs
    12 24
    switch_Statement
    Error 3
    Method must have a return type C:\Users\PVS\documents\visual studio 2013\Projects\Lesson01\ifelse_Statement\Program.cs
    12 9
    ifelse_Statement
    Error 4
    Type expected C:\Users\PVS\documents\visual studio 2013\Projects\Lesson01\ifelse_Statement\Program.cs
    12 20
    ifelse_Statement
    Error 5
    Invalid token 'if' in class, struct, or interface member declaration
    C:\Users\PVS\documents\visual studio 2013\Projects\Lesson01\ifelse_Statement\Program.cs
    16 9
    ifelse_Statement
    Error 6
    Invalid token '10' in class, struct, or interface member declaration
    C:\Users\PVS\documents\visual studio 2013\Projects\Lesson01\ifelse_Statement\Program.cs
    16 16
    ifelse_Statement
    Error 7
    Type expected C:\Users\PVS\documents\visual studio 2013\Projects\Lesson01\ifelse_Statement\Program.cs
    16 16
    ifelse_Statement
    Error 8
    Invalid token '(' in class, struct, or interface member declaration
    C:\Users\PVS\documents\visual studio 2013\Projects\Lesson01\ifelse_Statement\Program.cs
    18 35
    ifelse_Statement
    Error 9
    A namespace cannot directly contain members such as fields or methods
    C:\Users\PVS\documents\visual studio 2013\Projects\Lesson01\ifelse_Statement\Program.cs
    20 10
    ifelse_Statement
    Error 10
    Type or namespace definition, or end-of-file expected
    C:\Users\PVS\documents\visual studio 2013\Projects\Lesson01\ifelse_Statement\Program.cs
    30 1
    ifelse_Statement
    Error 11
    The type or namespace name 'n' could not be found (are you missing a using directive or an assembly reference?)
    c:\users\pvs\documents\visual studio 2013\projects\lesson01\ifelse_statement\program.cs
    16 12
    ifelse_Statement
    Error 12
    'System.Console.WriteLine(string, params object[])' is a 'method' but is used like a 'type'
    c:\users\pvs\documents\visual studio 2013\projects\lesson01\ifelse_statement\program.cs
    18 26
    ifelse_Statement

    static void Main(string[] args){
    TestIfElse(10);
    public static void TestIfElse(int n)
    if (n < 10)
    Console.WriteLine("n is less than 10");
    else if (n < 20)
    Console.WriteLine("n is less than 20");
    else if (n < 30)
    Console.WriteLine("n is greater than or equal to 30");
    Fouad Roumieh

  • Simple cylinder by using the Cylinder utility class

    I compiled the example of a Cylinder from the following internet-page:
    [This creates a simple cylinder by using the Cylinder utility class|http://www.java2s.com/Code/Java/3D/ThiscreatesasimplecylinderbyusingtheCylinderutilityclass.htm]
    I could compile it, but when I started it, I got this error:
    exception in thread "main" java.lang.NullPointerException: Canvas3D: null GraphicsConfiguration
    Is there an error in the code?

    try to replace the line: protected Canvas3D myCanvas3D = new Canvas3D(null);
    with
    protected Canvas3D myCanvas3D = new Canvas3D(SimpleUniverse.getPreferredConfiguration();

  • HT5106 what is the cost to take the Logic Pro Class

    What is the cost to take the Logic Pro Class?

    Hi
    It depends where you take the class
    Check here to find a course near you, click the "Register" button to find out the details (including the cost)
    http://training.apple.com/schedule/logic101?d=201306
    CCT

  • Netscape 's inconsistency in the loading of applets/classes

    Please I will appreciate any help.
    I am using Netscape version 4.75 on a Windows NT platform to launch my application.
    My application is a collection of java classes and applet classes and a gif file all zipped
    into an archive ( zip -o ). These classes are written in the old java version 1.0.2
    (unfortunately).The problem is that when it is launched from a netscape browser,
    sometimes all the classes get loaded but other times the loading fails. The zip file is not compressed since we realized that it was failing more often with a compressed zip file.
    SO we removed the zip file... This is how we are launching the application now but this,
    too, creates a problem because there are incidents of partial or incomplete loading of
    the classes. This application has been in use for over 3 years now, what can I do?
    Please help!
    Ike Eke

    Thanks for you quick response.
    I have not tried a jar. Can I jar these classes that were written in java 1.0.2?
    I have recommended that the application be upgraded to 1.1.x but they say there is
    no money to do that, The customer would not fund it.
    This problem does not occur on IE but we do not support IE any way. We run on HP,SUN,
    and Windows NT platforms but this problem occurs only on NT. This is a production problem
    so it occurs very where there is an NT machine ( over 200 NT users out there).
    This is the version of Netscape that was chosen by the customer and yes it occurs on other netscape versions as well. I thought that jar files came with the emergence of java 1.1.x.
    If it is possible to jar this outdated version of java classes, then I am willing to try it but
    what is required to do this?
    Thanks again
    Ike

  • JSP can't call applet if the applet class is put WEB-INF/classes  in weblogic6.1sp1

              Can't the applet be put at the WEB-INF/classes folder?
              If the applet can put at WEB-INF/classes, where is the plugin's codebase?
              

              Can't the applet be put at the WEB-INF/classes folder?
              If the applet can put at WEB-INF/classes, where is the plugin's codebase?
              

  • Multiple instances of the same applet loaded causes problem

    I have a java applet that has several classes in the project. The applet has a JTable a JButton and a JLabel control. The applet is displayed within an HTML page. The problem is that if a user opens the same html page more than once with the applet in it, only the last applet loaded receives the screen updates.
    For example in one senario. I have an error message that displays in the Label control once they click on the button.
    The user opens the html page and the applet is loaded (window 1). The user then opens the same html page again (window 2) with window 1 still open. If the user clicks on the Button in window 1, the error message is displayed in the window 2 applet.
    Originally I had some static variables. Thinking it was being used globally by the JVM so I removed all of them and it still happens. I have tried using both the Applet and Object tag. But it still happens.
    Has anyone experienced this before? Any suggestions on how to make the applet update the instance that recieved the events and not just the last one that was loaded?

    You need to look at applet classloader issues. If applets have the same archive list and come from the same codebase, they have the same classloader. A class is namespaced by it's class + classloader. Any statics in a class with a classloader will be shared. If you instead make it such that your applets have unique classloaders (which you can't change for unsigned applets by yourself) by changing the codebase, that would be one solution.
    For other solutions, I recommend searching the forum. This issue comes up a lot.

  • "Bad Applet class name" error while recording on Oracle Forms 11g through OpenScript (JRE 1.7.0_17)

    Hi,
    I am trying to record automation functional test script on Oracle Forms 11g using OpenScript.
    Able to open the browser, but after accessing application URL, getting application error as "Bad Applet class name"
    Java Plug-in 10.17.2.02
    Using JRE version 1.7.0_17-b02 Java HotSpot(TM) Client VM
    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
    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>
    SSV dialog is suppressed........
    cracked oracle.forms.engine.Main
    Loading cached Forms Jars ...
    Is this version (Oracle forms 11g, JRE 1.7.0_17) supported by OATS-OpenScript ?
    Please advise if there is any work around here.
    Thanks.

    From the last OATS release notes available in the C:\OracleATS\docs directory:
    4.1 Oracle Functional Testing/OpenScript
    Oracle Functional Testing’s OpenScript scripting platform has the following system
    requirements:
    ■ Operating System (32-bit and 64-bit versions): Windows XP, Windows Vista,
    Windows 2003, Windows 7, Windows 2008, Windows 2008 R2.
    ■ Memory: Minimum 1 GB
    ■ System: x86, 32-bit or 64-bit processor, 2.6 GHz or faster
    ■ Disk Space: 4 GB minimum
    ■ Browser: Internet Explorer 7.x, 8.x., 9.x; Firefox 3.5/3.6, 6.x, 10; Chrome 27+
    (playback only).
    ■ Java Runtime Environment: JRE 1.6 minimum (up to build 38), JRE 1.7 (up to build
    11) .
    So basically, it's not supported... Can you try with another JRE version?
    As always don't forget to run OpenScript as administrator on W7/8 or equivalent
    JB

  • Browser doesn't display applets (classes)

    hi all,
    i am sure every beginner faced the same problem
    though i am not a beginner, i am facing this strange problem, and i can't figure out where the proble is .
    i just started developing simple swing applications. first i want to try the examples given in a tutorial.
    most of them are japplets (applets created by swing components)
    Strange thing is that none of htem works on my browser WHICH DRIVES ME CRAZY !!
    let me make my situation clearer:
    i put the Japplet class file and the html file whick invokes the applet under the same directory
    as far as i know , since they are in the same directory i don't need t to set the classpath , am i right?
    well, if i open the html file directly from that directory, it can find the Japplet and it works
    but when i put them in another directory under the root of tomcat 4 and try to access them through :
    http://<hostaddress>:8080/applet.html
    applet.html opens but can't find my applet class saying that app.class not found
    the relevant html code is as follows:
    <html>
    <body>
    <applet code=app.class width=100 height=50>
    </applet>
    </body>
    </html>
    what am i supposed to do?where am i wrong?
    by the way to make sure i also added .; to my classpath
    my OS is win 2000,
    i am using jdk1.3.1
    do i need something else to make them work
    thanks for helping in advance :)
    cheers :)

    Is it a typing error or not.
    Your html code is
    <applet code=app.class width=100 height=50>Is this really the code you use?
    I am missing the " "
    <applet code="app.class" width=100 height=50>If you don't use the "", app.class can not be found.

  • Problem in compiling the sample applet

    hello: im installed jdk 1.2.2 now i wanna folow the instruction written in the
    PDF document.i did everything as it is but when i arrived to the step
    "compiling the sample applet" i issue the command
    " javac -g src/com/sun/javacard/samples/helloWorld/*.java"
    but it doesn't work it give me a message that the command is not known.
    i changed the directory where i issue the command from to c:\jdk1.1.6\bin
    then he find it but i have an other problem is that he makes to error:
    "package.javacard.framework not found in the import"
    "import javacard.framework.*"
    the second errer :
    "superclass com.sun.javacard.samples.HelloWorld.applet of class com.sun.javacard.samples.HelloWorld.HelloWorld not found"
    "public class HelloWorld extends applet"
    i don't know why it doesn't work eventhought i folowed the steps as they are written .
    can some one help me because i can"t pass to the next step if i couldn't compile those files.
    thank you very much

    See http://forum.java.sun.com/thread.jsp?forum=7&thread=203737

  • Where should i put html with applet class embedded?thanks

    Tomcat4.0 server
    i put html and applet class in the root of my project(/webapps/test/)
    when i hit the html file locally, it displays well. but it doesn't work when it comes to service.
    plus:the applet class is developed with jdk1.1.8
    any help is apprieciated!

    The first thing I would do is recompile the applet with a newer JDK. Second, you need to post more info on the problem. What do you mean by "service"?

  • Servlet cannot find applet class.. HELP..DONT REPLY..SOLUTION FOUND

    Hi.. can anybody help me.. with this age old problem?
    I have an applet.. which generates a pie chart .. Pie.class. If i embed it in a normal HTML page.. it runs smoothly.
    Now the problem is.. in my servlet i tried to do this
    out.println("<applet code=Pie.class codebase=/mywebapp/  height=300 width=300">);etc..
    but when the servlet runs.. the applet is not initalised .. so instead of having the applet i have a 'x' sign.. .. To diagnose the problem better.. i right click on the area that is supposed to be the applet and select 'Open Java Console' . ..there i see.. a ClassNotFound Exception.
    I have kept the Pie.class in the WEB-INF -> classes Folder ( where all the other class files of the servlets are kept ).
    Can anybody help me??
    Thanks in advance
    Hi guys sorry to bother u.. i have found the soln. myslef... my mistake was to place the applet class in web-inf-> class folder.. as soon as i placed it outside the folder.. it worked superbly. Thanks anyway
    Message was edited by:
    arijit_datta

    me also same problem...
    this class path is included in server itself..
    or we can set during compiling time...
    then this is my compile.bat file please check
    set classpath=%CLASSPATH%; ./WEB-INF/classes;
    @echo off
    javac -d ./WEB-INF/classes/ ./dev/beans/*.java
    javac -d ./WEB-INF/classes/ ./dev/ContentManagement/beans/*.java
    javac -d ./WEB-INF/classes/ ./dev/servlets/*.java
    and my servlet file like this below..
    import java.io.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    import com.deploy.servlet.*;
    public class ControlServlet extends HttpServlet
         public void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException,IOException
              response.setContentType("text/html");
              PrintWriter out = response.getWriter();
              out.println("Testing");
    /*          if (request.getParameter("pageName")=="CEOSpeak")
                   CEOBean CB = new CEOBean();
                   if (request.getParameter("actionType")=="add")
                   else if (request.getParameter("actionType")=="edit")
                   else if (request.getParameter("actionType")=="delete")
                        if(CB.deleteCEO(request.getParameter("CEOId")))
                             response.sendRedirect("CEO_Speaks.jsp");

Maybe you are looking for

  • Is there a way to speed up charts on Forms?

    Hi, I have a chart incorporated on a form using the chart wizard. The problem is that the first chart generated takes forever although subsequent charts are seem much faster. I know that this is related to Oracle Graphics Batch but is there a way to

  • LCRSAPRFC is missing in Visual Admin (JCo RFC Provider)

    H y, I'm facing a problem while connecting our SolMan via RFC to SLD. Found documents explainig how to set up connection to SLD. SAPSLDAPI (was present in Abap and Java - wrong credentials - repaired) LCRSAPRFC (only present as RFC CONN in ABAP, but

  • How to use multi queries inside the RTF file

    Hi all, I develope a data source in report developer 10g, and use it to create the RTF files... I have some files wich contains more than 1 query. how can I refer to the fileds in the other queries in side the RTF file, because it's bring the filed f

  • Car Demo on MyFaces implementation doesn't run !

    I'm trying to use the myfaces 0.9.1 implementation for the cardemo sample from the JSF 1.0 FCS. The error I'm getting is - java.lang.NullPointerException: Could not find factory configuration in faces-factoryConfig at net.sourceforge.myfaces.config.c

  • Immediate feedback in drag & drop

    Hello - I am using the Drag and Drop Interaction Wizard in Captivate 7.  I have 5 targets and 5 dragable objects on my slide with each target having only one correct match. I would like to provide immediate feedback for the learner after each drag, i