Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Installing Java EE 6 on Ubuntu/linux

 
Frank Dijkstra
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • 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?
 
Tim Holloway
Saloon Keeper
Pie
Posts: 18096
50
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • 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
  • 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
Pie
Posts: 18096
50
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • 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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic