GeeCON Prague 2014*
The moose likes Beginning Java and the fly likes application server installation Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Beginning Java
Bookmark "application server installation" Watch "application server installation" New topic
Author

application server installation

sai donthneni
Ranch Hand

Joined: Mar 26, 2006
Posts: 50
How can I know which version of java SDK is running on my system? If I have jdk1.3.1, is this version ok to run j2ee application if we install just the application server or do we have to install 1.4.2_06 or higher?

In the java tutorial, there are some statments like
<INSTALL>/j2eetutorial14/example/common/build.properties
What is this statement and where do you use this?


Thanks
Sai
Jesper de Jong
Java Cowboy
Saloon Keeper

Joined: Aug 16, 2005
Posts: 14196
    
  20

You can find out which SDK (= JDK or Java SDK) version you are running by executing "java -version" in a command prompt (Windows) or terminal (Unix)window.

Which version of the JDK or JRE you need depends on which version of which J2EE application server you want to install. Look in the documentation (readme or installation notes) of the J2EE app server you want to install.


Java Beginners FAQ - JavaRanch SCJP FAQ - The Java Tutorial - Java SE 8 API documentation
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 39103
    
  23
Open a command prompt. Enter java -version. Like this:-
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

C:\Documents and Settings\user>java -version
java version "1.6.0-beta2"
Java(TM) SE Runtime Environment (build 1.6.0-beta2-b86)
Java HotSpot(TM) Client VM (build 1.6.0-beta2-b86, mixed mode)

C:\Documents and Settings\user>


And why not upgrade to a newer version than 1.3?

CR
sai donthneni
Ranch Hand

Joined: Mar 26, 2006
Posts: 50
I have used java-version statment but it gives me an error message as follows
'java-version' is not recognized as an internal or external command,
operable program or batch file.
marc weber
Sheriff

Joined: Aug 31, 2004
Posts: 11343

Originally posted by sai donthneni:
I have used java-version statment but it gives me an error message as follows
'java-version' is not recognized as an internal or external command,
operable program or batch file.

Try a space between java and the hyphen.

With respect to the build.properties file, I suggest you try our Build Tools forum.
[ June 14, 2006: Message edited by: marc weber ]

"We're kind of on the level of crossword puzzle writers... And no one ever goes to them and gives them an award." ~Joe Strummer
sscce.org
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: application server installation