Link to home
Start Free TrialLog in
Avatar of cvengatesan
cvengatesan

asked on

classid for JDK 1.4

Hi All,
I need        "<OBJECT classid=" for  the JDK 1.4. if anyone knows please let me as earliest
for example i am having for 1.3.02
classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93"
Thanks in advance
Venkatesan
Avatar of TimYates
TimYates
Flag of United Kingdom of Great Britain and Northern Ireland image

just use the applet tag

<APPLET ARCHIVE="jarfile.jar" CODE="main.class" WIDTH="100" HEIGHT="100">
</APPLET>
they fixed that malarkey in 1.3.2
ASKER CERTIFIED SOLUTION
Avatar of CEHJ
CEHJ
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ooooooh :)
What a mess! ;-)
Indeed!

Hmmm...it looks like they recommend static linking, but from what I understand from their webpages, if you statically link to 1.4.2, and someone comes along with a 1.4.3 JVM, they will be asked to download 1.4.2

Which seems a bit mad :-/

Bah

Tim.
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area that this question is:

Accept objects's comment as answer.

Please leave any comments here within the next seven days.

PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!

objects
EE Cleanup Volunteer
Don't necessarily accept that 'decision' - will look into it.
My reasoning is as follows:

This was the question:

>>I need       "<OBJECT classid=" for  the JDK 1.4

AFAIK the clsid mentioned by objects is the clsid for a particular *plugin*, which is not the same thing. In order for that to work, and to meet the requirements of the question and the questioner, the following should be true

a. the questioner has 1.4 (given)
b. that clsid should be present in the Windows registry
c. the questioner's plugin should be able to use the profferred clsid

Although I don't myself have 1.4 in Windows, so far my enquiries have not found a. and b. to be simultaneously present
The q asked for the clsid for 1.4, I gave that.
There was no mention of requirement, it asked simply what the clsid was for 1.4.
I've already quoted what the questioner was asking for. The requirement is clear from that.
yes the clsid for 1.4 :)
will let the mods sort it out.
Not the 'clsid for 1.4' but the clsid for 'the JDK 1.4"
> depending on how you interprete the question

My interpretation is that they are asking what classid to use for 1.4, ie. what do I replace " for  the JDK 1.4. " with so it runs on 1.4 plugin (which is installed with JDK).
The mention of JDK is because as a developer that is what they use, and what they have installed.
And I can't see any other reason for asking for a classid.

> I personally think the guy had missed the last number in the version (1,2,3 I have no idea)

1.4 == 1.4.0
Everythings possible, if so it just requires a single digit change in the classid.
> He had put the point.

Seemed more like a full stop to me :)
And if you read the actual question title it also asks for 1.4 (no dot) :)
And also asks for JDK 1.4 - not plugin 1.4
the q actually got asked again, this time asking for "plugin jdk" which sort of confirms my interpretation mentioned above:

https://www.experts-exchange.com/questions/20759057/Classid-for-JRE1-4-Plugin-to-automatically-install-in-client-browser.html
Thanks for that link - have posted over there.

>>>

> I personally think the guy had missed the last number in the version (1,2,3 I have no idea)

1.4 == 1.4.0

>>>

In that case, the clsid is 8AD9C840-044E-11D1-B3E9-00805F499D93. From Sun's plugin guide at  http://java.sun.com/j2se/1.4.2/docs/guide/plugin/developer_guide/using_tags.html :

<OBJECT classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93"
    width="200" height="200" align="baseline"
    codebase="http://java.sun.com/products/plugin/1.4/jinstall-14-win32.cab#Version=1,4,0,mn">
    <PARAM NAME="code" VALUE="XYZApp.class">
    <PARAM NAME="codebase" VALUE="html/">
    <PARAM NAME="type" VALUE="application/x-java-applet;jpi-version=1.4">
    <PARAM NAME="model" VALUE="models/HyaluronicAcid.xyz">
    <PARAM NAME="scriptable" VALUE="true">
    <COMMENT>
        <EMBED type="application/x-java-applet;jpi-version=1.4" width="200"
           height="200" align="baseline" code="XYZApp.class"
           codebase="html/" model="models/HyaluronicAcid.xyz"
           pluginspage="http://java.sun.com/products/plugin/1.4/plugin-install.html">
            <NOEMBED>
                No Java 2 SDK, Standard Edition v 1.4 support for APPLET!!
            </NOEMBED>
        </EMBED>
    </COMMENT>
</OBJECT>