• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Installing Java EE 6 on Ubuntu/linux

 
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi everyone,

I'm trying to get the Java EE SDK 6 installed on Ubuntu Linux. I've downloaded a file named "java_ee_sdk-6u4-unix.sh" from http://www.oracle.com/technetwork/java/javaee/downloads/index.html.

When I run the installer using the bash command "sudo sh java_ee_sdk-6u4-unix.sh" an installation wizard pops up, saying "This is a tool for installing Java EE 6 SDK". When I run the installer though, it starts to install "Glassfish server". (I did not ask for this, and it doesn't seem possible to install the SDK without this). And when the installation is complete it lists all the things it installed, including this glassfish server, some other stuff, but "Java EE SDK" is not listed and I can't find the SDK anywhere on my system after closing the installer.

I've spent an hour searching online but can not get this working. I'm confused now, I must be missing something here. Can anyone help me get back on track?
 
Saloon Keeper
Posts: 27762
196
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You probably didn't really want the Java EE SDK. More likely you just wanted the standard Java (non-EE) SDK a/k/a the JDK. The Java EE classes come pre-packaged with most web application servers, so only if you're doing something exotic like creating your own web application server would you want the JEE SDK.
 
Frank Dijkstra
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Tim Holloway wrote:You probably didn't really want the Java EE SDK. More likely you just wanted the standard Java (non-EE) SDK a/k/a the JDK. The Java EE classes come pre-packaged with most web application servers, so only if you're doing something exotic like creating your own web application server would you want the JEE SDK.



Thanks. I want Jave EE so I can extend HttpServlet, for creating my own Tomcat webapp.

Anyway figured out another way in the meantime, I downloaded Eclipse EE, created a new web application project, and choose "Apache Tomcat v7.0" under "Target runtime". (I did have to download Tomcat first and point Eclipse to that) And HttpServlet was available to me.

P.S. I like your signature
 
Tim Holloway
Saloon Keeper
Posts: 27762
196
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Well, I guess you really did want the JEE SDK! Although as you have discovered, the part you needed was excerpted and integrated into Tomcat, so a separate download and install of the full SDK wasn't actually required.
 
I am not a spy. Definitely. Definitely not a spy. Not me. No way. But this tiny ad ...
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic