This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes Distributed Java and the fly likes JDK versions on web server and client machines    Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

JavaRanch » Java Forums » Java » Distributed Java
Bookmark "JDK versions on web server and client machines    " Watch "JDK versions on web server and client machines    " New topic

JDK versions on web server and client machines

Vicky In

Joined: Mar 20, 2008
Posts: 3

Can I use different version of JDK on web server and client machines?
For example:
Web Server - jdk1.4
Client machines - jdk 6

Will this work?
Jesper de Jong
Java Cowboy
Saloon Keeper

Joined: Aug 16, 2005
Posts: 14952

First of all: Please read the private message that moderator Ben Souther has sent you.

It depends on what your program does exactly, but it shouldn't normally be a problem.

Java Beginners FAQ - JavaRanch SCJP FAQ - The Java Tutorial - Java SE 8 API documentation
Ilja Preuss

Joined: Jul 11, 2001
Posts: 14112
Well, for a standard web application, the client won't need Java installed at all, of course. In general, it totally depends on how client and server communicate.

The soul is dyed the color of its thoughts. Think only on those things that are in line with your principles and can bear the light of day. The content of your character is your choice. Day by day, what you do is who you become. Your integrity is your destiny - it is the light that guides your way. - Heraclitus
Ajith Prasad
Ranch Hand

Joined: Aug 22, 2006
Posts: 66
It is always use the same version in both ends, but it is depend on the application you use
I agree. Here's the link:
subject: JDK versions on web server and client machines
jQuery in Action, 3rd edition