This week's book giveaway is in the Java in General forum.
We're giving away four copies of Beginning Java 17 Fundamentals: Object-Oriented Programming in Java 17 and have ishori Sharan & Adam L Davis on-line!
See this thread for details.
Win a copy of Beginning Java 17 Fundamentals: Object-Oriented Programming in Java 17 this week in the Java in General forum!
  • 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:
  • Tim Cooke
  • Campbell Ritchie
  • Ron McLeod
  • Liutauras Vilda
  • Jeanne Boyarsky
Sheriffs:
  • Junilu Lacar
  • Rob Spoor
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Tim Moores
  • Jesse Silverman
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Piet Souris
  • Frits Walraven

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: 4686
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: 74727
336
  • 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: 4686
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.
reply
    Bookmark Topic Watch Topic
  • New Topic