Archive

Posts Tagged ‘installation and configuration’

MySql Installation & Configuration

September 1, 2009 1 comment

 

 

At the time of this post, the current release is MySQL 5.1 – Generally Available (GA) release for production use and is the recommended version, though MySQL 5.4 is available to download as Beta release. When preparing to use MySQL, you should decide the version to go ahead with. After deciding which version to install, you can choose a distribution format. Releases are available in binary or source format.

The first decision to make is whether you want to use a production (stable) release or a development release.

  • MySQL 5.4 is the current development release series.
  • MySQL 5.1 is the current General Availability (Production) release series. New releases are issued for bugfixes only; no new features are being added that could affect stability.
  • MySQL 5.0 is the previous stable (production-quality) release series.
  • MySQL 4.1, 4.0, and 3.23 are old stable (production-quality) release series. MySQL 4.1 is now at the end of the product lifecycle. Active development and support for these versions has ended.

If you are beginning to use MySQL for the first time or trying to port it to some system for which there is no binary distribution, go with the General Availability release series. Currently, this is MySQL 5.1.

After choosing which version of MySQL to install, you should decide whether to use a binary distribution, or a source distribution. In most cases, you should probably use a binary distribution.

Binary distributions contain a setup program that installs everything you need so that you can start the server im-mediately. Another binary distribution format contains an archive that you simply unpack in the installation location and then con-figure yourself. The source distribution contains all the code and support files for building the executables using the Visual Studio compiler system.

New MySQL users can use the Binary distributions (which contains the MySQL Installation Wizard and MySQL Configuration Wizard) to install MySQL. These are designed to install and configure MySQL in such a way that new users can immediately get started using MySQL.

 

 

Pre-Requisites:

Please note that not all platforms are equally suitable for running MySQL, and that not all platforms on which MySQL is known to run are officially supported by Sun Microsystems, Inc. AIX 4.x / 5.x, FreeBSD 5.x, HP-UX 11.x, Linux, Mac OS X, Solaris 2.8, Windows 2000, Windows XP, Windows Vista, Windows Server 2003, and Windows Server 2008 are the platforms supported.

 

  

Download Instructions: Read more…

Ant Installation & Configuration

  

  

At the time of this post, the latest stable version available form Apache is 1.7. Older releases of Ant can be found here. Old releases are only provided as zip archives that can be extracted by jar xf archive.zip. Its highly recommend to not use old releases but upgrade to Ant’s latest release.

Ant 1.5.4 is the last release that supports JDK 1.1, Ant 1.6.0 onwards requires JDK 1.2 or later. There will be no other compatibility issues with Java versions otherwise. Current version of Ant i.e., 1.7, requires JDK version 1.2 or later, 1.5 or later is strongly recommended. Latest the version of Java is, the more Ant tasks you get. If a JDK is not present, and only JRE is present, then many tasks will not work.

  

Follow the steps below to download, install and configure Ant : Read more…

Eclipse IDE Installation & Configuration

August 24, 2009 2 comments

 

 

At the time of this post, the latest Eclipse package version available to download is Eclipse 3.5.0. Eclipse releases are named after the moons of Jupiter, and each denotes a successive release. For Ex, Galileo is 3.5 which is the latest version, previous versions are Eclipse Ganymede which is Eclipse Version 3.4.0, and Eclipse Europa which is Eclipse Version 3.3.0. Eclipse is free for downloading. All you have to do is navigate to http://www.eclipse.org/downloads , chose and download the Eclipse package suitable for your requirements from one of the download mirrors available, such as:

  • Eclipse Classic 3.5.0 (The classic Eclipse download includes the Eclipse Platform, Java Development Tools, and Plug-in Development Environment, including source and both user and programmer documentation.)
  • Eclipse IDE for Java Developers (The essential tools for any Java developer, including a Java IDE, a CVS client, XML Editor and Mylyn)
  • Eclipse IDE for Java EE Developers (If you want to develop web applications, you should download Eclipse IDE for Java EE DevelopersTools for Java developers creating Java EE and Web applications, including a Java IDE, tools for Java EE, JPA, JSF, Mylyn and others.)
  • Eclipse packages for PHP, C/C++ Developers, etc.

 

 

Since Eclipse is a Java program, you will need to have Java installed on your computer to run Eclipse [Refer to Java Installation & Configuration post for details]. Eclipse can run on a number of Java Virtual Machines. Eclipse officially recommends Java version 5 (also known as 1.5), although many Eclipse users use the newer version 6 (1.6).

Sun’s Java is available in two main distributions: the Java Runtime Engine (JRE) and the Java Development Kit (JDK). If you are using Eclipse for Java development, the JDK offers several advantages, including the availability of source code for the Java classes. If you are using Eclipse for something other than Java development, the JRE is all you need. Once you have a Java VM installed, you’re ready to work with Eclipse.

 

Download Instructions:  Read more…

Tomcat Installation & Configuration

 

 

At the time of this post, the latest stable version available form Apache Tomcat is 6.0.x. Older releases of Tomcat can be found on download section of http://tomcat.apache.org/. Apache Tomcat version 6.0 implements the Servlet 2.5 and JavaServer Pages 2.1 specifications from the Java Community Process, and includes many additional features that make it a useful platform for developing and deploying web applications and web services.

 

Different versions of Apache Tomcat are available for different versions of the Servlet and JSP specifications. The following table shows the dependancies:

 

Servlet/JSP Spec Apache Tomcat version
2.5/2.1 6.0.x
2.4/2.0 5.5.x
2.3/1.2 4.1.x
2.2/1.1 3.3.x (archived)

 

  

Before downloading Tomcat, you might want to know about the different releases available from Apache:

  • Alpha releases may contain large amounts of untested/missing functionality required by the specification and/or significant bugs and are not expected to run stably for any length of time.
  • Beta releases may contain some untested functionality and/or a number of relatively minor bugs. Beta releases are not expected to run stably.
  • Stable releases may contain a small number of relatively minor bugs. Stable releases are intended for production use and are expected to run stably for extended periods of time.

 

Pre-requisites:

Tomcat requires Java to be installed on your computer to run. Make sure you have a recent Java version installed and JAVA_HOME variable to be set. Note: Refer to Java Installation and configuration post for details. After setting the JAVA_HOME environment variable, you can install tomcat.

 

Download Instructions: Read more…

Java Installation & Configuration

August 18, 2009 4 comments

 

 

Java is freely downloadable from Sun’s website (http://developers.sun.com/downloads/) . What’s to decide is which version to chose? At the time of this post, recommended Java versions are 1.4 , 1.5 and 1.6. While Java 1.4 has been in the field for quiet few years and personified as a de-facto across wide range of applications and industry choice, Java 1.5 has made its advent to an extent that many Java applications across the globe are now migrating to 1.5. Reason being simple, Java is backward compatible and richer features of Java 1.5. While Java 1.4 has persisted to demonstrate reliability, Java 1.5 has proved to be more plenteous. Relatively recent arrival of Java 1.6 has its share of the buzz with more features in the kit. Now, we have a sneak peak into Java 1.7 available as well. With every new release, new features in Java will be explored. As this post’s focus is on the installation/configuration facet, we shall keep the discussion of java versions, features, pros & cons as an open topic.

Many times, there’s confusion about PATH / CLASSPATH/ JAVA_HOME variables. What they actually are and how they matter? Or if its really necessary to set them, if so how to set them? Below we try to answer all the questions that matter.

The following sections describe:-

  • Downloading Instructions – Describes where and what to to download.
  • Installing Instructions – Describes how to install Java into a location in the computer.
  • Configuration Instructions – Describes how to set up a computer to write java programs and also execute them.

 

In brief:

  • Download Java (JDK – if you want to write and run your own java programs / JRE – if you only want to run java programs) from Sun’s website. (Chose your java version)
  • Once downloaded, install Java to any location on your computer
  • Set environment variables (PATH / CLASSPATH / JAVA_HOME – all optional and set for convinience) in your computer.
  • Set PATH to (java installed location)/JDK_verstion/bin (optional)
  • Set CLASSPATH to (java installed location)/JDK_verstion/lib/tools.jar (optional)
  • Set JAVA_HOME to (java installed location)/JDK_verstion (optional)

If you are using any IDE for working on java, you dont even have to set the environment variables, as the IDE itself ships with a support for a Java version. You have to set the environment variables most likely in situations like:

  • You want to work with simple text editors like notepad
  • You want to work with certain java dependant softwares like Ant, Glassfish, Tomcat etc which need java environment variables to be set.

Refer below detailed description for more information.

 

 

Downloading Instructions: Read more…