Can't select 1.4.2 runtime in 1.5 applet control panel

  • Thread starter The Abrasive Sponge
  • Start date
T

The Abrasive Sponge

Hey I got a 1.4.2 applet <needs to be 1.4> that I need to run. I have
installed 1.5 and has taken over my browser which is fine. Except that
when I want to run a 1.4.2 applet the control offers no choice to use a
1.4.2 jre.

Anybody have a solution?
 
P

Paul Lutus

The said:
Hey I got a 1.4.2 applet <needs to be 1.4> that I need to run. I have
installed 1.5 and has taken over my browser which is fine. Except that
when I want to run a 1.4.2 applet the control offers no choice to use a
1.4.2 jre.

Anybody have a solution?

To offer a solution, we need to hear a problem. You have not stated a
problem.
 
J

John Davison

The said:
Hey I got a 1.4.2 applet <needs to be 1.4> that I need to run. I have
installed 1.5 and has taken over my browser which is fine. Except that
when I want to run a 1.4.2 applet the control offers no choice to use a
1.4.2 jre.

Anybody have a solution?

I don't know if you can specify what runtime to use with an applet, but
I know you can with JWS. 1.5 should be able to run 1.4 bytecode though.

- john
 
T

The Abrasive Sponge

John said:
I don't know if you can specify what runtime to use with an applet, but
I know you can with JWS. 1.5 should be able to run 1.4 bytecode though.

- john

Yeah that option is available for Java Web Start but not for applets.
Just wondering if there is a way around it.

hmmmm.
 
T

The Abrasive Sponge

Paul said:
The Abrasive Sponge wrote:




To offer a solution, we need to hear a problem. You have not stated a
problem.

Oh Paul, so sanctimonious. Here, I'll copy and paste for you. The
problem is quite clear.

I got a 1.4.2 applet <needs to be 1.4> that I need to run. I have
installed 1.5 and has taken over my browser which is fine. Except that
when I want to run a 1.4.2 applet the control offers no choice to use a
1.4.2 jre.


Anybody have a solution?
 
J

Jason Teagle

Hey I got a 1.4.2 applet said:
installed 1.5 and has taken over my browser which is fine. Except that
when I want to run a 1.4.2 applet the control offers no choice to use a
1.4.2 jre.

Anybody have a solution?

Not sure if I've missed something here, but if your browser is now running
1.5, then it will also quite happily run 1.4.x Java code - no problem. You
don't need to select an older JRE, surely? - the only problem is if you had
code that required 1.5 and your browser was only running 1.4.x - not the
other way round.

Have you actually tried running your applet and found it doesn't work?
 
T

The Abrasive Sponge

John said:
I don't know if you can specify what runtime to use with an applet, but
I know you can with JWS. 1.5 should be able to run 1.4 bytecode though.

- john


Another thing John, I do have both JRE's installed on my machine.
 
T

The Abrasive Sponge

Jason said:
Not sure if I've missed something here, but if your browser is now running
1.5, then it will also quite happily run 1.4.x Java code - no problem. You
don't need to select an older JRE, surely? - the only problem is if you had
code that required 1.5 and your browser was only running 1.4.x - not the
other way round.

Have you actually tried running your applet and found it doesn't work?


Yes, I am using Morena scanning software which is JNI code.
Unfortunately, it did not work in 1.5 where as it did in 1.4. That is
why I would like to switch for this project in particular.


The weird thing about the plug-in, is that for JNLP it offers the user
to use a 1.4.2 JRE not for applets.

Thanks
 
T

The Abrasive Sponge

Andrew said:
So why not use webstart?

All you need to do is jar the classes and create a .jnlp file.


Duh! <---addressed to me
That's a good idea. I get so absorbed in one problem I forget.

I would still like a solution to the applet problem though, because I
will have to deploy this thing and it'd be nice to know who to resolve it.
 
A

Andrew Thompson

...
That's a good idea. I get so absorbed in one problem I forget.

No worries.
I would still like a solution to the applet problem though, because I
will have to deploy this thing and it'd be nice to know who to resolve it.

I have looked long and hard at the problem of exact JVM
versioning for the applet element and I do not think it
can be achieved. The applet element starts the default
JVM and once it does start it is too late to change to
another, even if installed.

The best I have come up with is redirecting for a minimum
version not met, but that is not what you are talking about.

--
Andrew Thompson
http://www.PhySci.org/codes/ Web & IT Help
http://www.PhySci.org/ Open-source software suite
http://www.1point1C.org/ Science & Technology
http://www.lensescapes.com/ Images that escape the mundane
 
T

Tor Iver Wilhelmsen

The Abrasive Sponge said:
I got a 1.4.2 applet <needs to be 1.4> that I need to run. I have
installed 1.5 and has taken over my browser which is fine. Except that
when I want to run a 1.4.2 applet the control offers no choice to use
a 1.4.2 jre.

What Paul wants to know is: What is "the control"? Do you mean the
Java 1.5 configuration control panel program? If so, yes; it only
lists 1.5.0.

But it's actually worse; I have IE configured to use the 1.4.2 plugin,
but it insists on using the 1.5.0 VM, despite setting of
CurrentVersion and the VM selection in the 1.4 plugin control panel...

Possibly a bug?
 
P

Paul Lutus

The said:
Oh Paul, so sanctimonious.

You still have not stated a problem.
Here, I'll copy and paste for you. The
problem is quite clear.

I got a 1.4.2 applet <needs to be 1.4> that I need to run.

Here is where you do not state a problem. This is either not true, or you
need to make the code maintainer correct the problems in his code. What you
cannot do is reliably force the use of a particular JVM in the field for an
applet, across the platforms of all your visitors.
I have
installed 1.5 and has taken over my browser which is fine. Except that
when I want to run a 1.4.2 applet the control offers no choice to use a
1.4.2 jre.
Yes.

Anybody have a solution?

Yes. Make the code maintainer correct his errors.
 
T

The Abrasive Sponge

Tor said:
What Paul wants to know is: What is "the control"? Do you mean the
Java 1.5 configuration control panel program? If so, yes; it only
lists 1.5.0.

Yeppers, JWS can allow other VMs in the same control panel, so I thought
this was strange.
But it's actually worse; I have IE configured to use the 1.4.2 plugin,
but it insists on using the 1.5.0 VM, despite setting of
CurrentVersion and the VM selection in the 1.4 plugin control panel...

Possibly a bug?

Could be, thanks, for your help.
 
T

The Abrasive Sponge

Paul said:
The Abrasive Sponge wrote:




You still have not stated a problem.




Here is where you do not state a problem. This is either not true, or you
need to make the code maintainer correct the problems in his code.

?

What you
cannot do is reliably force the use of a particular JVM in the field for an
applet, across the platforms of all your visitors.

That's why I want my java control panel to support multiple VMs so I can
easily test my applet.

Yes. Make the code maintainer correct his errors.

Thanks anyway, Paul.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,770
Messages
2,569,583
Members
45,075
Latest member
MakersCBDBloodSupport

Latest Threads

Top