Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

application server installation

 
sai donthneni
Ranch Hand
Posts: 50
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 15439
41
Android IntelliJ IDE Java Scala Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Campbell Ritchie
Sheriff
Pie
Posts: 49788
69
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 50
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 11343
Java Mac Safari
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic