• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Setting up Java EE (Linux)

 
A Briarwood
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 4678
7
Linux Mac OS X VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 51468
87
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
. . . and welcome to the Ranch
 
A Briarwood
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 4678
7
Linux Mac OS X VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic