Urgent - How to Run Applet without JRE installation

I am creating an applet which displays information using JTree. This applet needs to be deployed in 'n' systems which may or may not contain JRE. Is there any way where in i can deploy in all the systems without any error.

You could provide swing.jar and have the applet load that. It is
slow though.

Similar Messages

  • Run applets without JRE

    Hello to all developers,
    I know that to run applets in IE we should have the JRE installed on our machines. But is there any way that we can run applets without the JRE being installed on our machines. I have also heard of something called as the Microsoft JVM. How can we use it to run the java applets.
    Thanking in advance.

    The Microsoft JVM is extremely outdated and not recommended at all. You can't really run a Java applet without a JVM, and I'm not sure if any but the one Sun makes comes with a browser plugin.

  • Urgent: how to run applet which connected to the servlet?

    hi frends:
    i have written an applet on the server side and it supposed to pass parameters to my servlet and retrieve some info from the servlet.
    i put both applet and servlet under tomcat../WEB-INF/classes. but when i run the applet from the web browser, there is no response from the servlet.
    could anyone help me to solve this problem?
    one more thing is i know that applet is able to connect to servlet, but how about java application? is it able to do so? if yes, is it also using URLconnection as applet? and how to run it?
    i will be very appreciate if anyone can help me... thanx a million.

    You can connect to the servlet from an application.There's a URL class in java.net that has an openConnection method. Then cast the return to an HttpURLConnection and use setMethod to set up as a post request.This may be the default if you call setDoOutput(true) on the URLConnection. Then you'll need to get an OutputStream and write properly formatted form POST data to it. It's also possible to encode your data on the URL, even when using the POST method, and this may be easier when doing it programmatically from an application. To send a get request you can append the name-value pair at the end of the url.

  • Is it possible to run applet without JRE

    hello friends,
    Presently I hava developed chating application. Now I want to download my applet on client side and run ther wether client's computer has JRE or not.
    so is it possible to run applet on computer which doesnt have JRE?
    Thanks in advance

    Not unless you create an executable file and jam the whole JRE into it.

  • Run applet without install plug-in

    Hi,all!
    I surfed on IBM site of iSeries information center and saw that this site has on it's rigth site - applet menu and it works fine even without installation of java plug in on client side.I know because in our company not everybody has a simple java JRE installation on windows environment, so
    I was wondering if one of you could help me understand how does it work without even installation of java plug in on client side?
    I cannot talk about "Silent installation" because , for example , applets that on server local network drive are not working for the same users machines. What the secret?
    Can applet run some other way than plug in on user's side?
    Thank you in advance.

    I forgut to give a link for that site :
    http://publib.boulder.ibm.com/iseries/v5r2/ic2924/index.htm

  • Applet without JMF installation at client side

    hello,
    I am trying developing an applet SIP phone based on Jain Sip Applet Phone( which originally can only deal with audio signal). But I found a big problem that I have to make every client install the JMF, however the clients hope there is no software to be installed locally.
    In application, I can run it without JMF installation by copying all the dlls to system32 directory and add some related JMF source code into my own project. Or just simply put the jmf.property to the "lib" directory, which also works.
    However, as for the applet, it dosen't that simple for the security thing. Here is the output in cosole:
    @mediaManager.detectSupportedCodes- number of capture devices: 2
    - name of the capture device: JavaSound audio capture
    - format accepted by this AUDIO device: LINEAR, 44100.0 Hz, 16-bit, Stereo, LittleEndian, Signed
    - format accepted by this AUDIO device: LINEAR, 44100.0 Hz, 16-bit, Mono, LittleEndian, Signed
    - format accepted by this AUDIO device: LINEAR, 22050.0 Hz, 16-bit, Stereo, LittleEndian, Signed
    - format accepted by this AUDIO device: LINEAR, 22050.0 Hz, 16-bit, Mono, LittleEndian, Signed
    - format accepted by this AUDIO device: LINEAR, 11025.0 Hz, 16-bit, Stereo, LittleEndian, Signed
    - format accepted by this AUDIO device: LINEAR, 11025.0 Hz, 16-bit, Mono, LittleEndian, Signed
    - format accepted by this AUDIO device: LINEAR, 8000.0 Hz, 16-bit, Stereo, LittleEndian, Signed
    - format accepted by this AUDIO device: LINEAR, 8000.0 Hz, 16-bit, Mono, LittleEndian, Signed
    - name of the capture device: vfw:Microsoft WDM Image Capture (Win32):0
    - format accepted by this VIDEO device: YUV Video Format: Size = java.awt.Dimension[width=352,height=288] MaxDataLength = 202752 DataType = class [B yuvType = 32 StrideY = 704 StrideUV = 704 OffsetY = 0 OffsetU = 1 OffsetV = 3
             - format accepted by this VIDEO device: YUV Video Format: Size = java.awt.Dimension[width=160,height=120] MaxDataLength = 38400 DataType = class [B yuvType = 32 StrideY = 320 StrideUV = 320 OffsetY = 0 OffsetU = 1 OffsetV = 3
             - format accepted by this VIDEO device: YUV Video Format: Size = java.awt.Dimension[width=176,height=144] MaxDataLength = 50688 DataType = class [B yuvType = 32 StrideY = 352 StrideUV = 352 OffsetY = 0 OffsetU = 1 OffsetV = 3
             - format accepted by this VIDEO device: YUV Video Format: Size = java.awt.Dimension[width=320,height=240] MaxDataLength = 153600 DataType = class [B yuvType = 32 StrideY = 640 StrideUV = 640 OffsetY = 0 OffsetU = 1 OffsetV = 3
             - format accepted by this VIDEO device: YUV Video Format: Size = java.awt.Dimension[width=640,height=480] MaxDataLength = 614400 DataType = class [B yuvType = 32 StrideY = 1280 StrideUV = 1280 OffsetY = 0 OffsetU = 1 OffsetV = 3
    java.lang.RuntimeException: No permission to capture from applets
    -> Couldn't connect to audio capture device
    java.lang.RuntimeException: No permission to capture from applets
    -> Couldn't connect to video capture device
          I found that my applet can detect two device which is correct but has "no permission to capture from applets".
          In the progress of installation the JMF, and option is "permit recording from an applet". I read the source code, and found it dose the following works:
          if I choose "permit recording from an applet",  then "allowCapture=1", and in "settingPanel.java" it dose:
         "boolean allowCapture = checkAllowCapture.getState();
          Registry.set("secure.allowCaptureFromApplets", new Boolean(allowCapture));"
          I want to do what the installation progress did to give permition to applet, however, when I do the following:
           private static final String PROP_ALLOW_CAPTURE_FROM_APPLETS
            = "secure.allowCaptureFromApplets";
           Registry.set(PROP_ALLOW_CAPTURE_FROM_APPLETS, new Boolean(true));
           Registry.commit();
          in my project , it throws exception like this: "Failed to initially commit JMFRegistry. Ignoring err.java.lang.SecurityException: commit: Permission denied"
          The code which i thought could give applet the rights is denied.
          Till now, I have also read some similar questions in different forums, but there is no good answer.
          Can you help me? Is there any possibility to run the applet without installation on the client side ? Is my method right? If not, how should I do?                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    xljiayuan wrote:
    ..I am trying developing an applet SIP phone based on Jain Sip Applet Phone( which originally can only deal with audio signal). If this is pure audio, can it be done using JavaSound?
    ..But I found a big problem that I have to make every client install the JMF, however the clients hope there is no software to be installed locally.To run an applet, the applet needs to be 'installed' on the user machine. Same with anything else.
    BTW - have you investigated JavaFX? It is effectively the replacement for JMF, and possibly has a better end-user experience than trying to install JMF.
    However, as for the applet, it dosen't that simple for the security thing. Here is the output in cosole:
    in my project , it throws exception like this: "Failed to initially commit JMFRegistry. Ignoring err.java.lang.SecurityException: commit: Permission denied"Is your applet digitally signed? If not, it has no hope of intercepting sound on the client. It is that simple.
    Imagine if you visited a web page with a 1px x 1px applet (effectively invisible) that could hear everything you say, and transmit it back to the server. Sun is not about to allow that, unless the end-user has granted the applet extended permissions.

  • HOw to run Applet in browser.

    Hi guys. I've got 2 problems.
    1. In Window, I've got Java installed (and using NetBean IDE as Java editor), so of course I've got j2sdk_nb-1.4.2 installed as well. But I couldn't run any applet in IE, for example, in games.yahoo.com, I couldn't join any game because applet always failed to load. But yesterday, I've got a pop up asking to install jre1.4.2 and after install this JRE, everything works fine. My point here is, when I have SDK1.4.2 which contains JRE, why should I have to install new JRE to run applets ?
    2. Could anyone tell me how to run applet in Mozilla, Linux. I'm using Linux RedHat 9 as well. And in Redhat, I've got J2sdk_nb-1.4.2 installed with NetBeans IDE. It said that I need appropriate Plugs-in, but in my Java directory, I also found Plugsin directory. So how to configure Mozilla to run applet.
    Thanks for reading.

    Just to let you guys know that I sorted it out already. Well, the problem lies in I'm confused between two directory /usr/lib/Mozilla and /usr/lib/Mozilla and two Java plugs-in available in nsc60 and nsc60-gcc (don't remember exactly)
    For my Linux (Red Hat 9), I've got to create symbol link from nsc60 directory to /usr/lib/Mozilla, not any other way.
    Thanks

  • How to run applet in a browser

    I know already how to jar files but my only problem is how to attached my applet in an html.. how to run this in a browser.. please help..

    http://java.sun.com/docs/books/tutorial/deployment/applet/deployindex.html

  • How to run report without report server

    hi
    my question : how i can run report without using the report server; by simple URL to the report stored in directory and accessing by HTTPserver; and the report is running by the local client runtime.
    thinks for replay

    hello,
    what you could try, is to associate the RDF/REP extension with a mimetype (e.g. application/oracle.reports) on the server and then add this mimetype to the browser applications associated with the reports runtime executable.
    regards,
    the oracle reports team

  • How to run VI without the DAQ card connected to the labtop

    This may be a silly question but I want to have the answer and couldn't find the answer for spending time in searching in the web.
    I want to run the VI that controls the intruments in my labtop. The VI was run in a destop that has a DAQ card in the PC (a PCI card).  I know it is possible to run it without errors (without a DAQ card) in my labtop . Anyone knows how to do it? I used labview 7.1. Thanks,
    Jun

    If you are using DAQmx and if the DAQ card is supported, you can add a simulated device in MAX.

  • Urgent - How to Run a FM using CATT script tool,

    Hi All,
    How to Run a FM using CATT script tool,
    Thanks in advance,
    KSR

    choose  type as "Function module test" (if you are in release less than 6.4 abap) after entering into t.code SCAT.
    Pl. refer to this documentation for creating function module test cases
    <a href="http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCCATTOL/CACATTOL.pdf">http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCCATTOL/CACATTOL.pdf</a>
    reward if it helps
    Krishna

  • URGENT: How to run threads in sequence?

    Dear experts, I am new to writing threads. I would like to know how to run threads in sequence? How do I know when a thread finishes its task?
    In the following code, classes Process_A(), Process_B(), Process_C() and Process_D() are subclasses of Class Thread.
    I'd like to know if I am using the join() function correctly? My intention is to wait for the previous process to finish before running the current process.
    Could anyone kindly give me some solutions on how to run the processes in sequence?
    Thanks!!
    =============================================================
    Thread process;
    Vector process_names = new Vector();
    process_names.add("a");
    process_names.add("b");
    process_names.add("c");
    for(int i=0; i<process_names.size(); i++)
    String process_name = (String) process_names.elementAt(i);
    if(process_name.equals("a"))
    process = new Process_A();
    else if(process_name.equals("b"))
    process = new Process_B();
    else if(process_name.equals("c"))
    process = new Process_C();
    else if(process_name.equals("d"))
    process = new Process_D();
    timer = new javax.swing.Timer(1000, new ProcessListener());
    timer.start();
    // ProcessListener()
    class ProcessListener implements ActionListener {
    public void actionPerformed(ActionEvent evt) {
    if(process!=null)
    if(process.isAlive())
    try
    process.join();
    catch(Exception ex)
    ex.printStackTrace();
    process.start();

    just look at this simple example u will get to know how to use join method
    This does exactly what u want
    class callme
    void call(String msg)
    System.out.println("["+msg);
    Try
    Thread.sleep(1000);
    catch(InterruptedException e)
    System.out.println("interrupted");
    System.out.println("]");
    class caller implements Runnable
    String msg;
    Callme target;
    Thread t;
    Public Caller(Callme targ, String s)
    target=targ;
    msg=s;
    t=new Thread(this);
    t.start();
    public void run()
    target.call9msg);
    class Synch
    public static void main(String arg[])
    Callme target=new Callme();
    Caller ob1=new Caller(target,"hello");
    Caller ob2=new Caller(target,"Synchronized");
    Caller ob3=new Caller(target,"world");
    Try
    ob1.t.join();
    ob2.t.join();
    ob3.t.join();
    catch(InterruptedException e)
    System.out.println("interrupted");
    waiting for dukes

  • How to run Applet programe in IE

    I' am beginner in java & i want to run applet in IE.But when i tried to do it in IE,"page can not displayed" error is shown.
    why this is so?
    which steps to follow?

    which JVM is used by IE? The 1.1.8JVM from IE is very old so you should use a Java2 JVM or a Swing-Plugin for IE

  • How to run Paypal without payment for test/demo products as a pass thru ?

    I have a paid report on my website whereby users go to Paypal to pay for the report first, then my backend system provides the report.  From time to time I need to run non-paid reports as teasts or demos.  Is there a way to set up a credit card on my account or a process whereby I can run Paypal without payment... as a pass thru ?

    What you're explaining is exactly what the sandbox is for:  testing and demoing PayPal solutions and the events that are triggered when transactions are completed. It's a recommended practice anyway to keep a copy of your site on a test server somewhere which mirrors everything about your live server except that it works with the sandbox instead of the live PayPal site. That way future development can be done on your test site with the sandbox and not moved to your live site until it's all demoed and proven to be fully functional as expected.  It's also a nice place to always have functional demos for any purpose at all. So yes, the sandbox will definitely suit your needs and would be the recommended way to go.   With proper integration the test/sandbox site and your live site can easily be switched back and forth using a flag in a config file or a URL parameter, for example.  On that note, you could set that sort of thing up on your live site, too, so that everything works in the sandbox when this flag is provided.  Then you wouldn't have to maintain separate servers. Again, though, it's recommended for developers to always keep separate test servers anyway.

  • Urgent: How to run Multiple Applets from a URL

    Hi,
    I am developing an applet that needs memory more than 64MB and I have used -Xmx to set it to 128 MB.
    On my web page, I have 3 applications that use the same JAR file of the applet, but the problem is all applets are opened/loaded in same heap space by JVM. So, when I load first applet, it uses 80 MB and when I start 2nd applet, after using 40 MB, it throws OutOfMemory exception.
    Is there a way to start each applet with fresh 128 MB heap space rather than all applets sharing 128 MB heap space?
    Thanks,
    Ajit

    That's some hefty requirements for an applet. I believe that the only way to do the Xmx thing on the client side is to have them manually add it in the JVM arguments section of the Java Plugin Control Panel.
    The browser/plugin is going to use the same JVM to run all 3 applets in a page. I've never seen a way to tell it to do otherwise. The only separation is the applet contexts, but that is more of a security manager grouping thing.
    Maybe you should look into how you can better manage your data so you don't need so much memory.

Maybe you are looking for