Skip to end of metadata
Go to start of metadata

Pre Installation Tasks

The Java JDK has to be installed in your system http://java.sun.com in order for the Tomcat Server and thus Razuna to work. Please find the below instructions to install the JDK.

Razuna 1.2.2
Razuna 1.2.2 uses Java 6 (version 1.6) solely and supports 64bit. Make sure that you point to the correct Java version in order to deploy Razuna 1.2.2!

Windows

- If you already have J2SE Development Kit 6.0 installed, skip to "Running the Razuna Server"

- Browse to http://java.sun.com/javase/downloads
- Select the "JDK 6uN" option
- Download the "Windows Offline Installation" option
- Install once downloaded

Linux (Ubuntu)
Please follow the following descriptions to install Java 1.6 (or 6) under Ubuntu. First off, we need to enable the partner repository. To do so edit the file "/etc/apt/sources.list" with "vim" or your favorite editor and uncomment the following lines:

The update the repositories with:

The you are able to install Java with:

Linux (RedHat/CentOS)

We have seen that with JDK's later then 6u6 (Update 6) there can be a error message of "Failed dependencies: jdk = 2000:1.6.0_06-fcs is needed...". Thus we advice to download the Update 6 (jdk-6u6-linux-i586-rpm.bin) located at http://java.sun.com/products/archive/j2se/6u6/index.html.

Once you downloaded the above you can follow these steps to install the JDK successfully:

You will have to agree to a few things, but it self installs. After the JDK has been installed you have to download the Sun Compat libraries as well. Grab it at http://mirrors.dotsrc.org/jpackage/1.7/generic/non-free/RPMS/. Then do a;

To make sure your system is configured to use this latest version of Java by default, run the command:

you should see:

There are 2 programs which provide 'java'.

If number 2 has the *+ next to it, you should be fine. There is no need to do anything - just hit enter. If, for some reason, 1 is selected, then type 2 and enter.

MacOS X

In order to have Tomcat recognize the proper Java 1.6 version you need to set the Java version within the shell. Unfortunately, it does not help set it only in the "Java Preferences" of MacOS X, so you need to edit the .profile file.

As the user who runs the Razuna Application Server you need to open the file ./profile and add the following lines:

Save the file and close or reopen a new terminal window. You should now see that Tomcat uses the correct Java version with the line:

If you want to read more on this issue, then Nitai has written a more detail description of this over at his blog entitled "http://thenitai.com/2009/08/01/setting-the-correct-java-version-under-macos-x/".

Labels:
None
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.
  1. Jan 21, 2011

    Anonymous

    Am attempting to install Razuna on Mac running OS 10.5.8. Have installed everything except Java 1.6. The links provided appear not to be for Mac. Two questions: 1.) where may I find the correct Java version for Macintosh?; 2.) where may can I find the ./profile file referred to above? I have searched the drive for invisible, as well as visible, files with no success.

    Thank you

    1. Jan 22, 2011

      There is a .profile file for every user. Open a terminal window and "cd to "~/". this will take you to your home directory.

      Then edit the file with "nano .profile".

      1. Jan 25, 2011

        Anonymous

        I opened Terminal and copied and pasted "cd to "~/" into the window. It appears to hang the system at this point. I also made all files visible in Finder and still did not find a .profile file.

        1. Jan 26, 2011

          Anonymous

          I am able to open the .profile file by simply typing: open .profile

Add Comment