wood burning stoves 2.0*
The moose likes Java in General and the fly likes Setting up Java EE (Linux) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Setting up Java EE (Linux)" Watch "Setting up Java EE (Linux)" New topic
Author

Setting up Java EE (Linux)

A Briarwood
Greenhorn

Joined: Apr 15, 2011
Posts: 6
I'm setting up Java EE on my Ubuntu system. I've downloaded the most recent setup for "Java EE SDK with Java 6 JDK", which is java_ee_sdk_6u2_jdk-linux.sh.

When trying to run the .sh file, it tells me that I need to have Java 6 installed because it needs access to the jar command (from the JDK). I thought the JDK 6 was included in the bundle . . . but I then need to download it separately so I can install the file that it's bundled in? Seems like a catch 22.

I mean, I'll do it, but it seems silly bundle the JDK 6 with Java EE if you have to download JDK 6 separately to run it.

Am I missing something here?
Pat Farrell
Rancher

Joined: Aug 11, 2007
Posts: 4650
    
    5

I download the Netbean bundle which includes the Netbeans IDE, the latest JDK, Glassfish and Apache Tomcat.

To run a JEE application, you need a servlet container, like Glassfish, Tomcat, JBoss, etc.
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 38519
    
  23
. . . and welcome to the Ranch
A Briarwood
Greenhorn

Joined: Apr 15, 2011
Posts: 6
Pat Farrell wrote:I download the Netbean bundle which includes the Netbeans IDE, the latest JDK, Glassfish and Apache Tomcat.

To run a JEE application, you need a servlet container, like Glassfish, Tomcat, JBoss, etc.


I understand what I need to run JEE, but what I'm asking about is the way the software itself is bundled. It's the equivalent of locking your keys in your car.

Anyway, this was probably a pointless topic, so I'm marking it as solved.
Pat Farrell
Rancher

Joined: Aug 11, 2007
Posts: 4650
    
    5

A Briarwood wrote: Seems like a catch 22. Am I missing something here?

I just built a new system, and downloaded from Oracle the Netbeans bundle, which is claimed to include the JDK, Netbeans and both Glashfish and Tomcat.

It too failed because it could not find a JDK.

Perhaps Oracle has invented a new meaning for bundle.
 
 
subject: Setting up Java EE (Linux)