An error “you need to install the legacy Java SE 6 runtime”, is encountered when you open any Adobe application.
Download Java For Mac Os X 10.5 Update 1
With Mac OS 10.7 (Lion) and later, the Java runtime is no longer installed automatically as part of the OS installation. Follow any of the methods below to install Java runtime.
- Java SE 7 Archive Downloads. Go to the Oracle Java Archive page. Thank you for downloading this release of the Java TM Platform, Standard Edition Development Kit (JDK TM).The JDK is a development environment for building applications, applets, and components using the Java programming language.
- Java script free download - Apple Java for OS X 10.6, Apple Java for OS X 10.7/10.8, Script It, and many more programs.
Oracle also provides the latest OpenJDK release under the open source GPL License at jdk.java.net. If you want to develop applications for Java, download the Java Development Kit, or JDK™. The JDK includes the JRE, so you do not have to download both separately. JRE 8u261 Checksum. Java SE Runtime Environment 8u261.
You can download and install the latest Java runtime from the Java website - Download Free Java Software.
On Mac OS 10.10 (Yosemite), when you launch any Adobe product, you might receive a warning 'The Application has been moved and its path has been changed...'.
Click Repair Now or Update button to update the location and resolve the issue. When prompted for password, enter your system password to complete.
If Java runtime is not installed, you are prompted to install when you first launch any Adobe product. Follow the onscreen instructions in the Java required notification dialog box to install.
Use the following method to initiate the Java runtime installation or confirm if it is installed.
- Go to Applications > Utilities > Java Preferences.
If Java is not installed, you receive the following message: “To open “Java Preferences,' you need a Java runtime. Would you like to install one now?”
- Click Install and accept the license agreement. The Java runtime is downloaded and installed.
Many Adobe applications depend on the Oracle Java Runtime Environment (JRE) for some features to work. Apple recently changed the way it includes Java in Mac OS, and with Lion, Java is no longer preinstalled. It is now an optional install that you must select.
Since current Adobe installers and applications were built before these changes by Apple, Adobe software anticipates that Java is installed. Adobe and Apple have worked together to ensure that you can install Java at OS install time. Or it can be installed later before you install Adobe applications. At runtime, when you launch an Adobe application, you are prompted to install Java if it is not already installed. If you do not install Java before running an Adobe application, there can be missing or improperly behaving features. If you encounter any issues, install Java to correct the problems. Adobe recommends that corporate IT organizations pre install Java (or make sure that Java can be installed through their firewalls/security) to avoid conflicts with Adobe applications.
If the Java runtime is not installed, some issues that are known to occur include -
- Failure to launch.
- Install Java runtime prompts when you attempt to use the applications.
- Applications hang or quit.
Installing the software
- Make sure you have a recent Java JRE installed on your system. Gephi is compatible with Java 7 and 8 versions. Download Free Java here.
- After the download completes, run the installer and follow the steps.
Mac OS X
- After the download completes, click on the downloaded .dmg file.
- Drag the gephi application in your Application folder.
- Update your distribution with the last official JRE 7 ir 8 packages.
- After the download completes, unzip and untar the file in a directory.
- Run it by executing ./bin/gephi script file.
Java 7 standard edition or newer required
Check you have Java properly installed on your system. If you're on Linux, you may provide the path to the jdk with ./bin/gephi --jdkhome $JAVA_HOME
JVM Creation failed
This error message is due to memory settings, see following section.
Memory available to Gephi is determined by Java. Less or more memory can be allocated by configuring Gephi’s startup settings. If too less memory is allocated, Gephi will stop running when it reached the limit and you will loose your current work. If more memory than what the system is equipped with is set, Java will not be able to start and return “JVM Creation failed” message. By default, maximum memory is set to 512mo.
To modify memory settings, you need to edit gephi settings file. Modify the value after the -Xmx option to change the maximum heap space. For example, to use a heap size between 256 and 1024 MB, change the options to -Xms256m and -Xmx1024m. If you have Gephi open, you must close and reopen Gephi before new options take effect. On computers with 2GB of memory, you can set -Xmx1400 to get maximum performance.
How to edit gephi.conf:
- On Windows, go to the Gephi folder in Start menu and click on Startup Settings. Edit this file with Notepad or WordPad. Alternatively, go in C:Program Files (x86)Gephi 0.9etcgephi.conf and edit file manually.
- On Mac OS X, right-click on Gephi application icon and select Show Package Contents to open a new Finder window displaying a Contents folder. Open the Contents folder, and then open the Resources/gephi/etc folder, in which the gephi.conf file resides. Use TextEdit to edit the file.
- On Linux, go into your application directory and then into the etc folder. Edit the file with a text editor.
Java Installation On Mac
When multiple JRE or JDK are installed on the same machine, you can specifty to Gephi to use a particular path. Edit gephi.conf as described in the upper section, uncomment the jdkhome line and set the JRE or JDK path.
Locate and delete gephi user directory to clean your installation.
- On Windows 2K/XP, user diretory is located in
C:Documents and SettingsusernameApplication Data.gephi
- On Windows Vista/Seven/8/10, user directory is located in
- On Mac OS X, user directory is located in
- On Linux, user diretory is located in