• 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

How to setup ubuntu machine for Java, Servlets, JSP development with Tomcat

 
Greenhorn
Posts: 2
Tomcat Server Java Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi, i'm new to servlet and jsp development.
Please guide regarding how to configure a ubuntu 10.04 LTS machine for such development
with
1) tomcat
2) postgresql/mysql database.
3) eclipse helios ide.
 
Saloon Keeper
Posts: 27752
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
Welcome to the JavaRanch, Vijay!

I cannot comment in detail, but here are the basics, rearranged for recommended order of installation:

2. PostgreSQL and Mysql are standard Ubuntu packages and can be downloaded and installed using apt-get, synaptic, or one of the other Ubuntu/Debian package tools. Some post-installation configuration may be required, and the best place to get details is on a Ubuntu forum or how-to web page, for which you'll probably have to do a web search.

1. Tomcat may be available as a Ubuntu package, but I generally just download the Tomcat ZIP file from tomcat.apache.org and unzip it. For development, I usually just unzip it into my home directory.

3. Likewise, download Eclipse and unzip from Eclipse.org - you'll want the J2EE bundle, which is fairly large. I also typically unzip Eclipse into my home directory. For convenience I like to define a desktop/menu shortcut to /home/me/eclipse/eclipse (where "me" is my userId).

4. It's a good idea to edit your profile to add the following 2 lines:


Your Java may be installed somewhere other than /usr/java (default is a softlink to the preferred JDK directory). Adjust accordingly. You should NOT attempt to use the freebie Java that comes with Linux! It's still not powerful enough for this kind of stuff, so download and install a Sun/Oracle JDK!

 
Vijay K Pant
Greenhorn
Posts: 2
Tomcat Server Java Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks for replying
 
reply
    Bookmark Topic Watch Topic
  • New Topic