Click here to Skip to main content
15,884,673 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
In our corporate environment Java is really beloved. But suppliers love different java versions. Installing Java versions side by side is no issue; and in case of desktop application we can manage it.
But how can we assign different java version to different web applications?
Posted

1 solution

Hello Zoltan,

For web applications you need to change the environment of the application server. For application servers such as Websphere, Weblogic, it means running different versions (most of then comes bundled with the JRE version, changing it is a pain) and host applications in respective instance.

BTW why your web applications require different versions. JDK versions are backward compatible and a class compiled in earlier lower version of Java runs just fine in latest higher version.

Regards,
 
Share this answer
 
Comments
Zoltán Zörgő 4-Jul-13 4:33am    
Thank you, but the problem is not on the server side, but on client side. These run on different servers. One application requires on client side 1.6.0.18, an other 1.6.0.31, an other 1.7. They should be backward compatible, but they are not. If we install 1.7, the one requiring 1.6.0.18 is complaining about no java at all. But there are other problems too. Some work with other versions than the one supported by the supplier, others don't.
The only approach that could work is to have some means to assign java version to the application on client side - to somehow instruct the browser (IE) to load specific java based on the site.
Prasad Khandekar 4-Jul-13 7:51am    
So you mean to say it's the applet based system?
Zoltán Zörgő 4-Jul-13 8:01am    
Partially. The systems I am referring to run in a browser, are web based, but their architecture is not that simple. There are java components, that come from the server but run on client directly and not as applet. I have no deeper insight, maybe the "EMC Webtop" is telling you something.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900