• 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
  • Paul Clapham
  • Tim Cooke
  • Devaka Cooray
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Rob Spoor
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
Bartenders:
  • Carey Brown
  • Roland Mueller

Setting up Java EE (Linux)

 
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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?
 
Rancher
Posts: 4804
7
Mac OS X VI Editor Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Marshal
Posts: 79707
381
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
. . . and welcome to the Ranch
 
A Briarwood
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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: 4804
7
Mac OS X VI Editor Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Everyone is a villain in someone else's story. Especially this devious tiny ad:
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic