Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Running an applet with an older version than compiling the source code

Status
Not open for further replies.

peteru

Technical User
Oct 26, 2001
27
0
0
DE
Does anyone now what happens
if I compile a java class with 1.4.2_06 and
run the applet with
version
1.3.1
or
1.4.1
or
1.4.2_03 ?

Does this result in errors ? system hanging ?

thanks
Peter
 
It strongly depends on what functionalities of the JRE are you using, but I'd expect some exceptions, and even strange beaviour in, for example, focus management

Cheers.

Dian
 
It depends entirely on what your applet is doing, and the classes that your code uses.
With minor versions, you will normally be OK, (ie compile on 1.4.2, run on 1.4.1).
With major versions (ie compile on 1.4.2, run on 1.3) - if your code only uses classes that have not changed their class & methods signatures between version, then you will probably be OK, but its uncertain territorary.
Basically, try it and see what happens !

--------------------------------------------------
Free Database Connection Pooling Software
 
Is this valid for all different JRE or only for those lower the 1.4.2 ?
 
It's valid for all, even valid from the same version and different vendors.

The more difference between versions, the more difference between behavoiurs.

AFAIK, 1.4 introduced a lot of changes to 1.3 compared with those 1.3 introduced compared to 1.2

Cheers.

Dian
 
1.5 beta has an even greater host of changes since 1.4 ... They like piling it on.
 
Thanks to all who have answer my question, it was helpful for me,

Peter
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top