Installing Fisheye on Windows

Still need help?

The Atlassian Community is here for you.

Ask the community

This page...

... describes how to perform a clean install of Fisheye on Windows.


If you're upgrading your Fisheye installation, read the Fisheye upgrade guide first.

Using Linux or Mac OS X?

If you're on one of these platforms read Installing Fisheye on Linux and Mac instead.

1. Check supported platforms

Better check the Supported platforms page first; it lists the application servers, databases, operating systems, web browsers and JDKs that we have tested Fisheye with, and that we recommend.

Atlassian only officially supports Fisheye running on x86 hardware and 64-bit derivatives of x86 hardware.

2. Create a dedicated Fisheye user (recommended)

For production installations, we recommend that you create a new dedicated Windows user that will run Fisheye on your system. This user:

  • Should not have admin privileges.
  • Should be a non-privileged user with read, write and execute access on the Fisheye install directory and instance (data) directory. These directories are described below.
  • Should only have read access to your repositories. 

If you have created a dedicated Fisheye user, ensure you are logged in as this user to complete the remaining instructions.

3. Decide which version of Java you want to use

3.1 Use the embedded JRE

Fisheye ships with a version of JRE bundled that will permit you to install and run it without the need of installing a JVM on your server.

In case you decide to use the embedded JRE you can skip to the next chapter.

3.2 Manually install a JVM

In case you decide to manually install a JVM first make sure you do not have a pre-existing installation already in place.

In a command prompt, run this:

java -version

The version of Java should be 1.8.x.

If you don't see a supported vesion of Java, then get Java...

Download and install the Java Platform JDK from Oracle's website.

(warning) We recommend that the Java install path should not contain spaces, so don't install into C:\Program Files\Java\. Instead, use a path like C:\Java.

Now try running 'java -version' again to check the installation. The version of Java should be 1.8.x.

4. Check that Windows can find Java

Windows uses the JAVA_HOME environment variable to find Java. To check that, in a new command prompt, run:

echo %JAVA_HOME%

You should see a path to the Java install location. We recommend that this path does not contain spaces, and that JAVA_HOME should point to the JDK home path.

If you don't see a path without spaces...
  • If you see a path with spaces, like  C:\Program Files\Java\, then sorry, but go back to 3. and reinstall Java to a location that doesn't have spaces.

  • If you don't see a path at all, or if you just see %JAVA_HOME%, then set JAVA_HOME as follows:

For Windows 7:

  1. Go to Start, search for "sys env" and choose Edit the system environment variables.
  2. Click Environment Variables, and then New under 'System variables'.
  3. Enter "JAVA_HOME" as the Variable name, and the absolute path to where you installed the Java JDK as the Variable value, that is, something like C:\Java\jdk1.7.0_51. Don't use a trailing backslash. We recommend that JAVA_HOME should point to the JDK home path.
  4. Now, in a new command prompt,  try running 'java -version'. You should see the same version of Java as you saw above.

4.1 Set JAVA_HOME when using the embedded JRE

In case you did not install and additional JVM and want to run Fisheye using the embedded JRE you will still need to setup the JAVA_HOME environment variable for your server.

In that case you can setup the JAVA home variable to point to FISHEYE_INST\jre.

How to find your FISHEYE_INST location...

The installer creates the FISHEYE_HOME system environment variable. This points to the location of the installation files directory.

The default location for the installation files directory (FISHEYE_HOME) is C:\Atlassian\fecru-x.y.z (where x.y.z is the version you installed on your server).

5. Now it's time to get Fisheye

The recommended way to install Fisheye is to use the installer, which installs Fisheye as a Windows service.

Download the Fisheye installer from the Atlassian download site.

There are 32-bit and 64-bit installers for Fisheye on Windows. Each installer adds Fisheye as a Windows service, and starts the service, automatically. The express install creates, by default, a Data directory and a separate install directory  in C:\Atlassian. The custom install mode allows you to choose different locations for the install and Data directories, with the restriction that the Data directory must not be contained in the install directory.

  • The installer creates the FISHEYE_INST system environment variable. This points to the location of the instance (data) directory.
  • The path to the installation location is referred to as the <FishEye install directory> in these instructions.
  • You need separate Fisheye instance (data) directories if you want to run multiple copies of Fisheye.
  • If you expect to have a large number of users for this Fisheye installation, and Fisheye will be connected to an external database, consider installing Fisheye on a different server from the one running the external database, for improved performance.
  • If you have a large number of repositories, we recommend you increase the default number of files that Fisheye is allowed to open. See the following knowledge base article for more info: Subversion Indexer Paused with "Too many open files" Error.
  • For Fisheye 3.4.4 and later, you can edit JVM parameters for the Windows service by going to Start > All Programs > Fisheye > Configure Fisheye. Ensure that you restart the Fisheye service when finished. Do not reference any environment variables in the settings (e.g. %FISHEYE_INST%). Instead, set the actual path.

6. Visit Fisheye!

Give the Fisheye service a minute to launch. Then, in a web browser on the same machine, go to http://localhost:8060/ (or, from another machine, type http://hostname:8060/, where hostname is the name of the machine where you installed Fisheye).

Enter your license, then an admin password, to finish the setup. Note that this password is for the 'built-in' Fisheye admin user. You can log in as this user, if necessary, by clicking the Administration link in the page footer. See also How to reset the Administration Page password in Fisheye or Crucible.

You can postpone setting up Jira integration until later if you wish; see Configuring Jira integration in the Setup Wizard.

7. Add repositories

Now you can tell Fisheye about any existing repositories you have. Please read Starting to use Fisheye for the details.

Fisheye will perform an initial index of your repositories, during which it accesses, indexes and organizes a view of your repositories (including all historical items) back to the earliest commits. If you are evaluating Fisheye, we suggest that you index a single project, so you can use Fisheye as soon as possible. If you choose to index your entire repository, be aware that this can take a long time (possibly days) for massive or complex repositories and can be more complex to set up (especially for Subversion). The basic process is slightly different for each SCM type.

8. Add users and groups

You will want to set up your users and groups in Fisheye. You can add users directly to Fisheye, or connect to an external user directory. Please read Starting to use Fisheye for an introduction.

9. Set up your mail server

Configure the Fisheye email server so that users can get notifications from Fisheye. See Configuring SMTP.

10. Connect to an external database (recommended)

If you intend to use this Fisheye installation in a production environment, it is highly recommended that you use one of the supported external databases. See Migrating to an external database.

If you are evaluating Fisheye, or don't wish to do this now, Fisheye will happily use its embedded HSQL database, and you can easily migrate later.  

11. Stop Fisheye (optional)

Control the Fisheye service from the Windows administration console. Alternatively, in a command prompt, change directory to <FishEye install directory> and run this:


12. Tuning Fisheye performance

To get the best performance from your new Fisheye installation, please consult Tuning Fisheye performance.

Last modified on Dec 5, 2019

Was this helpful?

Provide feedback about this article
Powered by Confluence and Scroll Viewport.