• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
  • Rob Spoor
  • Junilu Lacar
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
  • Carey Brown
Bartenders:

application server installation

 
Ranch Hand
Posts: 50
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Java Cowboy
Posts: 16084
88
Android Scala IntelliJ IDE Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Marshal
Posts: 77157
370
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Sheriff
Posts: 11343
Mac Safari Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 ]
 
reply
    Bookmark Topic Watch Topic
  • New Topic