In this video I show you the only solution for the java installer: download failed error that happens while java is updating automatically. When I try to launch a KVM console, I got error: 'unable to launch the application' I have java 7. My Mac OS is 10.7.3 This is the JRE version: lefu-mac:Downloads lefu$ java -version java version "1.6.031" Java(TM) SE Runtime.
Installing the software
Windows
- 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.
Linux
- 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.
Troubleshooting
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
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.
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.
User files
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
C:UsersusernameAppDataRoaming.gephi
- On Mac OS X, user directory is located in
/Users/username/Library/Application Support/gephi
- On Linux, user diretory is located in
/home/username/.gephi
Java 1.7 Download Mac
Last updated: October 22, 2017
The steps below explain how to uninstall Oracle Java 7 or Java 8 from your Mac. Please note that to uninstall Java on Mac, you must have Administrator privileges. To uninstall Java on Mac, you first need to delete the Java plug-in file itself. Here is how to find the Java plug-in file:
- Click on the Finder icon in your Mac’s dock
- Click on the Applications tab in the sidebar
- In the Search box enter (or copy/paste):
JavaAppletPlugin.plugin
- Right-click on JavaAppletPlugin.plugin and choose Move to Trash
Alternatively, if you are familiar with using the Mac’s Terminalutility with Administrator privilegesas root or by using sudo, you may copy/paste the command line below to uninstall Oracle Java 7 or Java 8. You can launch Terminal by using Finder -> Applications -> Utilities. Double-click Terminal to launch it. In the terminal window, type (or copy/paste) the following command:
sudo rm -fr /Library/Internet Plug-Ins/JavaAppletPlugin.plugin
Java Failed To Download
How to Restore Apple’s Java 6 after uninstalling Oracle Java 7 or Java 8
If you updated your Mac to Oracle Java 7 or Java 8, and it has created an unforeseen issue, you can still use Apple’s Java on your Mac. You just need to restore it. Before restoring Apple’s Java, however, you need to uninstall Oracle’s Java using the instructions above. Please note that to restore Apple’s Java, you must also have Administrator privileges and execute the command either as root or by using sudo.
- Click on the Finder icon located in your dock
- Click on Applications tab on sidebar
- Click on the Utilities folder
- Double-click on the Terminal icon
- In the Terminal window Copy and Paste the command below:
sudo ln -s /System/Library/Java/Support/CoreDeploy.bundle/Contents/JavaAppletPlugin.plugin /Library/Internet Plug-Ins/JavaAppletPlugin.plugin
Unless you absolutely have to have Apple’s Java, it is advisable to install Java provided by Oracle instead. It is under continuous development, and updates are released on a regular cycle. Oracle is also known to release out-of-cycle Java updates if an urgent fix is required to patch a newly discovered vulnerability.
Thank you for visiting Tech Help Knowledgebase to learn how to uninstall Java on Mac.
Image credit:Pixabay / josealbafotos
Tech Help Knowledgebase creates how-to articles and video tutorials for common issues, and provides technical support for the categories covered by our site.
Get Support.