Mac Download Error Java Update



Hi jamroman, I had the same issue and a few days ago I managed to fix it. So here is what worked for me. I launched the Java Preferences app which is located at Applications-Utilities. The post above is right: SQLDeveloper only runs under Java 8. This is counter-intuitive as other programs runs under at least X version of a software (not only X version).I kept downloading Java 11 with no luck.

Are you getting below eclipse startup error?

A Java Runtime Environment (JRE) or Java Development Kit (JDK) must be available in order to run Eclipse.

No Java virtual machine was found after searching the following locations: /Library/Java/JavaVirtualMachines/jdk1.9.0_1.jdk/Contents/Home/bin

Well, today I found the same error while starting up Eclipse locally on my Mac. I have been using Eclipse since last 10 years and never faced this error before.

I immediately correlated this error with the some JRE and JDK un-installation did last week 🙂

Basically, over time I had installed Java 8, Java 9 and Java 10. When I went to folder /Library/Java/JavaVirtualMachinesI saw total 3 folders with respective JDK setup for Java 8, 9 and 10.

In order to avoid conflict I have decided to remove old Java versions 8 and java 9. I did it by simply deleting 2 folders.

As my Eclipse’s eclipse.ini file had Java 9 by default as a VM. It failed to startup with above error message.

How to find eclipse.ini file?

Mac
  • Right click on Eclipse.app icon
  • Click on Show Package Contents
  • Go to folder /Contents/Eclipse/
  • You will find eclipse.ini file

How to fix Eclipse Startup Error?

You have open eclipse.ini file and change -vm path to correct JDK location.

In my case it’s /Library/Java/JavaVirtualMachines/jdk1.10.001.jdk/Contents/Home/bin.

Now try restarting your eclipse by clicking eclipse.app icon and error should go away. Let me know if you face any issue starting Eclipse application.

Pro Tips:

Keep updating to latest Java version every 6 months. It’s my suggestion to get all latest features of Java and keep updating your project.

What’s next?

Join the Discussion

If you liked this article, then please share it on social media or leave us your comments. Limited time 3 months free WPEngine hosting. 40% OFFCrunchy Sharing Black Friday Deal.

Other Popular Articles...

Installing the software

Windows

  1. 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.
  2. After the download completes, run the installer and follow the steps.

Mac OS X

Free java download for mac
  1. After the download completes, click on the downloaded .dmg file.
  2. Drag the gephi application in your Application folder.

Linux

  1. Update your distribution with the last official JRE 7 ir 8 packages.
  2. After the download completes, unzip and untar the file in a directory.
  3. 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:

Java Mac Download

  • 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.

Mac Download Error Java Updates

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.

Java update error windows 10

User files

Locate and delete gephi user directory to clean your installation.

Java Update Error Windows 10

  • 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