JRE Detected---Version Collision problem!!--plz help..it's urgent

Hello ,
I am working on developing a upload component in applets that would be used to
Let the user browse thru his/her local file system, select it and then upload that file
to a Specific location on the server, during this file transfer operation it also
Shows the bytes remaining and a progress bar with percentage.
I have developed it already and my purpose is to make it available as a cross-
Platform independent component that can simply be merged/used with just about
any application developed in any language/or on any platform and so I developed
it in java using applets, bcauz it has to run and be accessible via a browser.
Now, the component is working fine but there�s a problem to which I have not
Found a complete and stable solution.
The problem is with the JRE(Java Runtime Environment), that if the html page that
Contains my applet does find a JRE already installed on someone�s browser but
With a different version to that of which I have used for example(1.4.2_07-b05) it
Gives an error saying �jre detected-version collision� and I understand fully by
Looking up on net as to what this error means, but how do I remove this problem
i.e. I simply want that (since I am already using the OBJECT tag in my html file)
when my html page containing loads up in any one�s browser then even if that
browser doesn�t contains a JRE in it, it should(my applet)should run, as I guess
my browser only had a default MSJVM earlier and had no JRE for instance, still
any site that I opened on net which contained applets , never gave me any such
kind of error.?
One temporary solution that I did, (although it�s not what I would like to do as it is
not user friendly at all) is that in my OBJECT tag I had used a codebase attribute
which contains the path of my jre�s exe file like this:
I am giving here the complete code for my html file:
<html>
<OBJECT classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93" name="Helper" width="900" height="200"
codebase="http://10.11.13.63:8090/j2re-1_4_2_07-windows-i586-p.exe">
<PARAM name="java_code" value="FileChooserDemo.class">
<PARAM name="java_archive" value="filechooser.jar">
<PARAM name="type" value="application/x-java-applet;version=1.4">
<PARAM name="progressbar" value="true">
<PARAM name="boxmessage" value="Please...wait..while..the..applet..starts..up">
<COMMENT>
<NOEMBED>
</NOEMBED>
</COMMENT>
</OBJECT>
</html>
further I also have to take care that if the above problem occurs i.e.(�JRE detected-version collsion�) then I got to tell the user to first go into his/her control panel and then
remove the JRE�s exe file from add/remove programs and then come back to his/her browser to get the JRE�s exe file downloaded automatically from the location of intranet
(my web server path) and run itself and install it on his/her browser bcauz of the tag that
I used above.
But all this is not at all a user friendly solution and I would not want any user to go thru the hassle of all this.
Can there be any way to let my applet run on any browser without the JRE problem ,
Plz suggest as I have now fully developed my applet upload component after a month�s
hard work , but is not able to now finally integrate it with our email server application that we have in our office, just bcauz of this problem..
Thanks in anticipation
Regards
Sd76

I don't know what version collition means but what jdk version you used to compile your
applet?
clsid:8AD9C840-044E-11D1-B3E9-00805F499D93 is dynamic versioning classid and
allowes IE to run your applet with any installed jre without trying to install a newer one.
Problem here is when you compiled with 1.5 and try to run it with an older version there
might be some problems.
Try to compile it with -source and -target option so your applet is compatible with 1.3
http://java.sun.com/products/plugin/versions.html
Another thing is that your platform independent file uploader will only run in active x
enabled browsers like Microsoft Internet Explorer and not with mozilla(see link above) .

Similar Messages

  • ORA-01552 problem, plz help it's urgent

    Actually, before one week I made (run Norton QuikScan) & this ended by the ORA-01033 problem, I realized that the file (E:\ORACLE\PRODUCT\10.2.\ORADATA\ORCL\UNDOTBS01.DBF)
    was corrupted, so I dropped it from the (Dos command Prompt), then the system generated it again and then everything was excellent.
    After that I couldn't create any new tables.
    NB. I've more than 30 large table.
    then i got the ORA-01552 problem,
    cannot use system rollback segment for non-system tablespace...
    i did this:(
    & i got this error:
    SQL> alter system set undo_management=manual scope=spfile;
    System altered.
    SQL> shutdown immediate;
    ORA-00376:file 2 cannot be read at this time
    ORA-01110:data file 2:
    'E:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\UNDOTBS01.DBF'
    SQL> select name, status, BLOCK_SIZE from v$datafile;
    NAME
    STATUS BLOCK_SIZE
    E:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\SYSTEM01.DBF
    SYSTEM 8192
    E:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\UNDOTBS01.DBF
    RECOVER 8192
    E:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\SYSAUX01.DBF
    ONLINE 8192
    NAME
    STATUS BLOCK_SIZE
    E:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\USERS01.DBF
    ONLINE 8192
    E:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\EXAMPLE01.DBF
    ONLINE 8192
    E:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\UNDO01.DBF
    ONLINE 8192
    i need to solve it...:(
    is it correct to uninstall the ORACLE & install it again.
    thanks in advance.

    ORA-01033 ORACLE initialization or shutdown in progress
    Cause: An attempt was made to log on while Oracle is being started or shut down.
    Action: Wait a few minutes. Then retry the operation.
    Does not mean your datafile was corrupted!! You meed to recover the undo dbf. It does not have anything to do with reinstalling Oracle. You can restore from hot backup and recover the db, or drop and recreate the undo ts at mount.

  • Classpath problem plz help me

    hi!
    i am unable to run my RMI server program .Name of My server class is SumServer.java,it implements SumInterface.java all the files(.class,.java and stub) are at location c:\javaprog\rmi\sum.
    I have not put them in any package.
    value of classpath is
    classpath=c:\jdk1.4\lib;.;c:\javaprog\rmi\sum
    i go in sum folder and run the program
    c:\javaprog\rmi\sum > SumServer
    it gives me following exception.plz help me out.
    Thx in advance.
    Exception occur.Unable to register serverjava.rmi.ServerException: RemoteExcepti
    on occurred in server thread; nested exception is:
    java.rmi.UnmarshalException: error unmarshalling arguments; nested excep
    tion is:
    java.lang.ClassNotFoundException: SumServer_Stub

    Deepa lakshmi wrote:
    Hi,
    Am new to weblogic.
    Am using the tools are,
    Weblogic8.1 version
    MySql5.0,mysql-connector-java-3.1.12-bin.jar file
    While test configuration of connection pooling am getting the error is "JDBC Driver is not on the classpath".
    How can i solve this problem
    plz help me
    regards
    DeepaEdit the start-weblogic script. Near the bottom, you will see
    lines that create a CLASSPATH for the weblogic server. Add a
    script line that adds the mysql driver to the classpath there.
    Joe

  • Audio Clip problem plz help..

    There is some problem with my code. It is actually for simply playing a wav file.
    It gives errors on two lines....
    import java.awt.*;
    import java.awt.event.*;
    import java.io.*;
    import javax.swing.*;
    public class MediaPlayerDemo extends JFrame
         AudioClip clip; //Error Here
         public MediaPlayerDemo(String title)
              super(title);
         clip = getAudioClip(getCodeBase(),"access.wav"); //Error Here
         clip.loop();
         public static void main(String args[])
              MediaPlayerDemo m = new MediaPlayerDemo("Title");
              m.setSize(400,400);
              m.setVisible(true);
    }

    "Audio Clip problem plz help"
    You have to learn to help yourself.
    Have you done anything to try to fix the errors yourself?
    AudioClip clip; //Error Here
    the error generated here is self-explanatory.
    if you can't fix this, you should get a good book on java basics and start again.
    the other error is also easy to fix.

  • I want to delete my data from iphone while i doesnot have the access but i know my apple id so plz help me its urgent, i want to delete my data from iphone while i doesnot have the access but i know my apple id so plz help me its urgent

    i want to delete my data from iphone while i doesnot have the access but i know my apple id so plz help me its urgent, i want to delete my data from iphone while i doesnot have the access but i know my apple id so plz help me its urgent

    Welcome to the Apple Community.
    You can only wipe your device when it is logged into iCloud and 'Find My Phone' is enabled, additionally the device will need to be switched on and connected to a wifi or cellular network.
    Unfortunately, you cannot activate iCloud or 'Find My Phone' remotely.

  • Plz help me its urgent i have iphone i dnt want my deleted texts my phone was jailbroken if i do restore widout backup should i jailbreak again ,should i unlock again,will the data of texts premantly erased plz answr me

    Plz help me its urgent i have iphone i dnt want my deleted texts my phone was jailbroken if i do restore widout backup should i jailbreak again ,should i unlock again,will the data of texts premantly erased plz answr me

    Jailbroken phones cannot be discussed in an Apple forum. If you synced your phone with your computer the texts will be in the backup, so if you restore the backup you may get them back, but with a jailbroken phone it's anybody's guess what will happen.

  • Big Problem, PLZ HELP

    So, when i click on the itunes shortcut, which has the same icon as the Apple Software Updater, I get a box that says that iTunes has encountered a problem and needs to close. We are sorry for the inconvenience. I hit send once and sent the error report, and then restarted my computer to see if that would help. It didnt, so, now i cant access itunes this is a major problem cause i have all my songs on this computer. I also tried to plug in my ipod and see if that would make it load.
    I installed iTunes 7.0 on my laptop, the exact same way, and i works on my laptop, but not on my computer.
    PLZ HELP ME

    ok this is what i did when that happened to me. i uninstalled quicktime then went here: http://www.apple.com/quicktime/win.html and reinstalled the latest version :0)

  • N95 maps problem plz help me

    please any body can solve my problem?
    i have n95
    when i open gps application
    then on the screen globe is not showning and no maps are showing on screen
    only city names are showed
    and after the closing of map application in apst there are type on screen
    saving maps and data
    but now nothing typed
    plz help me

    i am using latest firm ware
    and using old maps application bcoz new beta 2.0 not showing my accurate position in pakistan
    if i am in my city
    the maps application shows u r 10 km from your city
    but old version give me accurate position...

  • Problem PLZ Help me

    Hi Guys,
    I have a problem to make a developer application Client/Server.
    When i install forms Runtime on the Client`s computer and i open the application, i get the error that he can`t find the menu and the libraries.
    The menu path is for example on my computer F:\s3\Salesmenu
    But on the client it can be a different path an then he can`t find the menu.
    Now the properties for the main form are:
    Menu module f:\s3\Salesmenu
    Initial menu Salemenu
    Does anyone know how to fix this problem for example:
    1) by let the program search for the menu.
    2) .....
    Plz Help
    Vincent

    set your FORMS60_PATH on the client to Formspath;libpath;menupath so it looks in every dir named in the path.

  • Nokia n79 problem Plz Help!

    Hello!My nokia just stuck,or hang in(i dont now english good) but i cant do enything.Evry button just dont work only at start when i write my pi(and somethimes then too).Works only power button.Its weard.Plz help.Somethimes a whole day are no problems somhetimes a whol day.

    hey ivee n everyone else .. i'm facing the same problem.. n i need to fix this problem myself..
    my n79 gets hang constantly nowadays.. i've used this phone for 1 year plus now so warranty's no more..... none of the buttons on the keypad works when it gets hang.. onli the power button is functioning.. now it's gettin worse .. it even hangs before i insert my pincode... i cant sms, call , or anything.. it hangs after i pressed a few buttons..
    so ivee u've fixed ur n79 youself right..? umm.. can u explain to me wat a smallboard is? is that the board at the lower part of the keypad where u can see buttons underneath the white layer? and is that board expensive?
    pls reply asap anyone.. urgent

  • N79 hanging problem plz help....

    while unlocking the keypad of my n79 sometimes the phone gets hanged then i have to take the battery out and then again switch on the phone........plz help me how to get rid of this problem???

    I have also same problem with my Nokia N79, I just cancelled sensor for automatic themes from cover. Just open back cover & stick some paper or plastic cello tape on four hole marks of covers wich r sensor for automatic themes to change colour of back cover same as theme colour. From 2 days I feel my mobile working fine without hanging ! so try it, all the best.

  • Bluetooth connection problem plz help...

    hi everyone, just bought a new pearl 9105. everything works fine and even bluetooth... through which i can transfer data from blackberry to other mobiles(samsung,sony ericsson)... but the problem is i could not recieve data from other mobiles.i should get contacts list from the other mobiles... but due to this problem i couldnt. plz help me out..

    The best way to receive a file from another device via bluetooth is to go to Media, then press Menu, choose Receive Using Bluetooth, waiting for connection will be display, then send from the other device. It should work without hassle.

  • Applet problem plz HELP

    Hi all,
    I have a problem when I am trying to run a jar file from an applet. The jar is for remote desktop application. Jrdp.jar.
    And the Exception is���.
    Exception in thread "Thread-6" java.security.AccessControlException: access denied (java.util.PropertyPermission gnu.posixly_correct read)
    at java.security.AccessControlContext.checkPermission(Unknown Source)
    at java.security.AccessController.checkPermission(Unknown Source)
    at java.lang.SecurityManager.checkPermission(Unknown Source)
    at java.lang.SecurityManager.checkPropertyAccess(Unknown Source)
    at java.lang.System.getProperty(Unknown Source)
    at gnu.getopt.Getopt.<init>(Getopt.java:617)
    at gnu.getopt.Getopt.<init>(Getopt.java:581)
    at net.propero.rdp.Rdesktop.main(Rdesktop.java:290)
    at net.propero.rdp.applet.RdpThread.run(RdpApplet.java:190)
    can any one suggest me what I have to do???? Plz give your valuable suggestion in that matter. Should I have to do any thing in java.policy file. In that case what would be the syntax and what have allow. If possible plz help me out.
    Thanking you,
    With regards
    Shibaji Sabyal

    Try googling on how to sign your applet. The error you're getting can usually be solved by signing it.

  • Package Problem : Plz help

    I've make two classes named First.java and Second.java in e:\javafiles\test\vg folder
    package vg;
    public class First
              public int m = 100;
              public int n = 200;
    package vg;
    public class Second
              public static void me0()
                   System.out.println("Stupid cant u see the value of m is zero");
              public static void mgrn()
                   System.out.println("Yaar m is greater than n");
              public static void neven()
                   System.out.println("The value of n is Even");
    and a Third class
    import vg.*;
    public class Last
              public static void main(String robert[])
                   Second d = new Second();
                   First f = new First();
                   if(f.m==0)
                        d.me0();
                   if(f.m>f.n)
                        d.mgrn();
                   if((f.n%2)==0)
                        d.neven();
                   else
                        System.out.println("The value of n is Odd");
    Now the problem is that if I put the Last.java at e:\javafiles\test and compile it , it works fine but if I put the Last.java anywhere else e.g at e:\javafiles and try to compile it it does not works and gives error
    E:\JavaFiles>javac Last.java
    Last.java:1: package vg does not exist
    import vg.*;
    even if I change classapth variable as E:\javafiles\test or even E:\javafiles\test\vg
    plz help me in this regard

    You need to change where it is trying to find the 'vg' package. So, if your Last.java is in e:\javafiles, then you need to
    import test.vg.*
    e.g.
    import test.vg.*;           // Change this line
    public class Last
              public static void main(String robert[])
                   Second d = new Second();
                   First f = new First();
                   if(f.m==0)
                        d.me0();
                   if(f.m>f.n)
                        d.mgrn();
                   if((f.n%2)==0)
                        d.neven();
                   else
                        System.out.println("The value of n is Odd");
    Alan

  • N95 problem, plz help

    How do i auto save my files that i receive from bluetooth to my file managers,
    it always go to my msg inbox. really anoyin,
    plz. help me.

    I'm using an i-tech usb BlueCON U2 (http://www.itechdynamic.com/en/products_spec.asp?cid=6&pid=06030)
    With the latest version of Bluesoleil that seems to work very well with Vista.
    Just access the phone, mine is an N95, through the pc and drag and drop the files you want moving anywhere you want, phone or memory card.
    by the way Robert, i've seen you blog on rotateme and was wondering if you could send me a signed copy?
    o2-uk, N95 8GB
    V20.0.016, 28-02-08, RM-320, (88.01)
    Running Rotate Me 2.2 & Rock'n'Scroll & Shake SMS & ShakeLock & Flip Silent

Maybe you are looking for

  • HP Pavilion x360 touchscreen stops working with Win 8.1 pro

    I currently have a HP Pavilion x360 2in1 convertible laptop.  The model # is 11-n010dx.  My issue is the touchscreen was working just fine with Win 8 on it, however, I need to be able to connect to my work network and that requires Win 8.1 pro.  I di

  • BPM and Workflow for SRM 7

    Hi Does anyone know if BPM (Business Process Management) supports SRM and specifically SRM 7.0? Is it possible to create the workflow in BPM and then transfer it to SRM 7? Will that work flow be a "developed" workflow from SRM point of view? Sincerel

  • Other screens.

    Greetings. I am a teacher of English as a Foreign Language. I bought an iPod Touch (32GB) and put all the audio material I'm using in my current classes onto it. Wonderful! I also put some EFL video material onto it. Again, wonderful. (Many thanks to

  • Fn key not working at all (in 10.4.11 and XP)

    Hello my fn key doesn't work at all, there is no difference whether I press it or not and with that none of my function keys e.g. for brightness or volume control work at all either. I am on the latest software updates. Have VMWare installed for XP,

  • XML Signatures using Smart Cards

    Hello guys, I know this is not exactly a javacard topic, but I think this forum is where I 'll get the best replies. We need to perform XML document signatures and verification using smart card stored certificates. The certificates are created using