Lucas
April 15, 2019, 8:15pm
1
Hi,
I am using osx 10.11.6, I have installed jre-8u201-macosx-x64.
Downloaded ganttproject-2.8.10-r2363
ganttproject.app will not start.
What am I doing wrong?
Thanks,
Lucas
You may want to read this knowledge base article:
opened 06:19PM - 30 Jan 19 UTC
OpSys-OSX
KnowledgeBase
## Symptoms and Summary
You have macOS and you can't launch GanttProject appl… ication. It either says "Unable to load Java Runtime environment" or just nothing happens after double-clicking the application. These issues are reportedly specific to macOS Mojave with Java 10, however, there are chances of seeing them on other combinations of macOS versions and Java Runtimes.
Unfortunately, currently Java ecosystem passes a kind of turbulence, and vendors of Java Runtimes, operating systems and launcher applications cannot always agree with each other about the location of Java on the file system, and this is especially true on macOS.
Below you can find two approaches to fixing this issue.
## Distribution with bundled Java Runtime
The first approach is using GanttProject distro with bundled Java Runtime. We will officially start buildign such distros for all platforms with the next major GanttProject release, but meanwhile, we prefer to distribute GanttProject with no bundled Java. However, there is a special experimental [GanttProject distro with bundled Java 11 Runtime for macOS](https://www.dropbox.com/s/lj2uipbs4l6ygfc/ganttproject-2.8.10-r2364-jre.dmg?dl=0) which is available from our Dropbox folder. This distro is somewhat experimental, however, it is reported to be working. It is supposed to run fine without any additional downloads.
## Pointing GanttProject to your existing Java Runtime
The second approach is to make GanttProject aware of your installed Java Runtime.
### Essential diagnostics
Make sure that you really have Java Runtime. Open `Terminal` application and type `java -version` command. If Java Runtime is installed, you should see something like
```
java 10.0.2 2018-07-17
Java(TM) SE Runtime Environment 18.3 (build 10.0.2+13)
Java HotSpot(TM) 64-Bit Server VM 18.3 (build 10.0.2+13, mixed mode)
```
### Solution
1. If Java Runtime is not installed, please install it. For GanttProject 2.8+ [Java Runtime version 8](https://www.oracle.com/technetwork/java/javase/downloads/jre8-downloads-2133155.html) is recommended, although more recent versions most likely will be okay.
1. If Java Runtime is installed, and you can run `java` in Terminal, you have a few options. First is to just try running GanttProject again. [According to tests from our users](https://help.ganttproject.biz/t/running-ganttproject-on-macos-mojave-with-java-10/587/19?u=dmitrybarashev) it may help. If it does not then please try using [fallback distro for Mojave](https://www.ganttproject.biz/dl/2.8.10/mac-mojave) which basically runs a shell script which executes `java` command with appropriate arguments.
Lucas
April 15, 2019, 8:43pm
3
Thank you. It’s running now. Sorry for disturbing.
Thanks, Lucas
That’s great! What helped?
Lucas
April 17, 2019, 10:25am
5
Hi Dimitry,
I’m not sure. I have tried to start the app by dubble klicking, three / four times, but it didn’t start. The fith time, he was running. Why I don’t know. I think there was a jave problem, java not running or not running well.
I’ve used Ganttproject a long time ago, but I returned to Project.
Now, I am practising with the app, I am very pleased with the way I can use the software. It’s running very well and I can do all my msProject things, I am used to do. Thank you.
I like the possibility to change the colours in my ganttchart. I am staying.
Regards, Lucas