Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

J2EE on Fedora Core 2?  RSS feed

 
Jim Smithian
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I'd like to install J2EE and Tomcat on Fedoro Core 2 Linux to learn servlet, JSP, EJB, etc. Fedora is not officially supported by Sun to run J2EE.

Does anybody know can we install J2EE on Fedora Linux? What preparation, configuration is required?

Thanks for your help.

Jim
 
Chris Montgomery
Ranch Hand
Posts: 141
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I use it and have had no issues.
I run jboss and tomcat on it.

As with any Linux setup, there's a bit of labor involved, but nothing too bad.

get all your java apps:
j2re1.4.2_05 (don't forget to use chmod)
j2sdk1.4.2_05(don't forget to use chmod)
j2sdkee1.3.1 no install - just unzip and go

Tomcat?
grab whatever version you want, unzip and go
if you want a script to run it as a service, let me know

jboss?
unzip and go

lastly, you need to set your classpaths
export JAVA_HOME=/usr/java/jdk1.5.0 (in my case)
you'll need to do this for your PATH, J2EE_HOME, JDK_TOOLS, CATALINA_HOME (for Tomcat)

That should do it.


Chris
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!