Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > Re: Handling both MS JVM and Sun JVM

Reply
Thread Tools

Re: Handling both MS JVM and Sun JVM

 
 
Kevin Hooke
Guest
Posts: n/a
 
      08-26-2003
Hi Razu - if by 'downloading fails' you mean 'use the Sun JVM if the MS JVM
isn't present', then you can use the Sun Java Plug-in - search on the
java.sun.com site and you'll find the docs. There is an app that is included
with the J2SE SDK that will read an existing applet tag and convert it to
use a combination of script and applet/object/embed tabs to cover all
eventualities - this will generate the html (and js) you need in your page
for you.

Hope that helps,

--
Kevin Hooke

MindBeans Software Consulting
http://www.mindbeans.net

"Razu" <> wrote in message
news: om...
> HI Friends,
>
> I have a java1.1.8 support Applet program (signed cab file) , But in
> some systems without MS JVM or an error in MS JVM cab won't work so I
> have a signed jar file. For MS JVM applet I'm using applet tag and Sun
> JVm Using Object tag. My problem How can I automatically switch over
> to SunJvm , if a user has no MS JVM or any error in downloading
> through MS JVM. Have any method to specify both cab and jar
> simultaneously and work another if one is failed.
>
> It would be very helpful, If any one can help me.
>
> Regards
> razu



 
Reply With Quote
 
 
 
 
Razu
Guest
Posts: n/a
 
      08-28-2003
Hi kevin,

Thanks for the prompt help, But I have these two solutions and I made
Sun Jvm support with the help of HTML convertor. But I want to know
How can I automatically switch over to another JVM if one fails. I
gave both object tag and applet tag in the same page then it entering
to both. I need only one at a time and if one fails the nest.

Thanks in advance
razu

"Kevin Hooke" <> wrote in message news:<4GK2b.1196$ gy.com>...
> Hi Razu - if by 'downloading fails' you mean 'use the Sun JVM if the MS JVM
> isn't present', then you can use the Sun Java Plug-in - search on the
> java.sun.com site and you'll find the docs. There is an app that is included
> with the J2SE SDK that will read an existing applet tag and convert it to
> use a combination of script and applet/object/embed tabs to cover all
> eventualities - this will generate the html (and js) you need in your page
> for you.
>
> Hope that helps,
>
> --
> Kevin Hooke
>
> MindBeans Software Consulting
> http://www.mindbeans.net
>
> "Razu" <> wrote in message
> news: om...
> > HI Friends,
> >
> > I have a java1.1.8 support Applet program (signed cab file) , But in
> > some systems without MS JVM or an error in MS JVM cab won't work so I
> > have a signed jar file. For MS JVM applet I'm using applet tag and Sun
> > JVm Using Object tag. My problem How can I automatically switch over
> > to SunJvm , if a user has no MS JVM or any error in downloading
> > through MS JVM. Have any method to specify both cab and jar
> > simultaneously and work another if one is failed.
> >
> > It would be very helpful, If any one can help me.
> >
> > Regards
> > razu

 
Reply With Quote
 
 
 
 
Razu
Guest
Posts: n/a
 
      09-02-2003
Thanks Mickey Segal,

But my requirement is different, actually I found a solution
http://java.sun.com/j2se/1.4.1/docs/...sing_tags.html
"Java Plug-in Anywhere" session , but now they are updated that, it is
not suitable, and also I found object tag do not running directly and
they are using HTML converter for this, and also fails in the case MS
java with cab. please look in this url and help me with an alternative
way.

razu

"Mickey Segal" <> wrote in message news:<bim9p7$hbs$>...
> Try the final code sample at:
> http://www.rgagnon.com/javadetails/java-0153.html

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
compilation error: file exists in both in both 'c:\WINNT\Microsoft.NET\Framework\v2.0.50727 ABCL ASP .Net 0 05-29-2008 04:59 PM
2 computers, both online, both invisible to each other ? b Computer Support 9 04-21-2006 04:06 AM
Sun Updates Sun Java Availability Suite, Adds Sun Cluster Advanced Edition for Oracle Real Application Clusters Deployments technology_post@yahoo.com Java 0 04-05-2006 04:29 AM
MS JVM and Sun JVM problem Young-Jin Lee Java 3 01-21-2004 04:25 AM
Different behavior for newStringUTF() for Sun JVM and IBM Jvm Lasse Java 1 01-05-2004 07:49 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57