aspose file tools*
The moose likes Beginning Java and the fly likes Correct Java Version ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Correct Java Version ?" Watch "Correct Java Version ?" New topic
Author

Correct Java Version ?

Steven Barnacle
Greenhorn

Joined: Feb 17, 2012
Posts: 11
Hi all,

I have downloaded and install Java version 7 and am about to start working with the Hybris ecommerce platform.

The version of Hybris we are going to use requires that we use Java 6, as the existing developers have been using Java 6.

The link on the oracle website though lists Java EE 6 + JDK 7 - which is somewhat confusing.

Is the JDK 7 essentially Java 7 ?

I have downloaded this 'so called' Java 6 but can clearly see a JDK7 folder after the install and am unsure as to whether i am using Java 6.

I know i can run java -verision from the command line - but that display 1.7.0x which confuses me even more.

Any light shedded on this for clarity will really help ?


Please no replies though unless you are absolutely sure - i can't stand any more confusion....

Steve
Jeanne Boyarsky
author & internet detective
Marshal

Joined: May 26, 2003
Posts: 30758
    
156

JDK 7 = Java 7 = Java 1.7.

JEE 6 is the enterprise edition. It is completely separate and does not contain a JDK. Most people use Java 6 or Java 7 with JEE 6.


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
Steven Barnacle
Greenhorn

Joined: Feb 17, 2012
Posts: 11
Hi Jeanne,

To downgrade to Java 6, could you let me know if this is enough ?

1. Download Java 6 SE
2. Install above
3. Change %JAVA_HOME% to point to above install folder
4. I already have downloaded Java EE - so when needed reference .jar files in Java EE download folder

Thanks
Steve
Jeanne Boyarsky
author & internet detective
Marshal

Joined: May 26, 2003
Posts: 30758
    
156

You'll also want to update your %PATH% to point to Java 6.
Mohamed Sanaulla
Saloon Keeper

Joined: Sep 08, 2007
Posts: 3071
    
  33

Jeanne Boyarsky wrote:You'll also want to update your %PATH% to point to Java 6.

May not be required if in case %JAVA_HOME% is used in %PATH%.


Mohamed Sanaulla | My Blog
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Correct Java Version ?