-
Notifications
You must be signed in to change notification settings - Fork 309
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issues with launching GanttProject on macOS #1637
Comments
I confirm the same behaviour (nothing happens after double-clicking the application) on this setup: I confirm that using the "fallback distro for Mojave" works fine. I hope that the problem will be fixed in a future release... |
Same here, fallback distro for Mojave works. java version "9.0.1" |
Nothing works for me...installed Java and then when I open gannt I get that I needs to install a jdk file...already did it. Nothing works...not even fallback for Mojave! Deadline for doing this project is Sunday evening. Please help |
@eberleb what |
Same for me. java version "1.8.0_202" |
I'm running MacOS 10.14.5 and have jre-8u211-macosx-x64 installed, but kept getting an error message, and not opening. The solution was that I did not have the Java Development Toolkit installed. Installing that, and everything works fine now. |
java version "12.0.2" 2019-07-16 checked version in terminal. |
I can't seem to get the application GanttProject to open. I downloaded with Google Chrome on an early-2011 MacBookPro running High Sierra. I tried downloading both versions (with and without Java) and when I double click the icon, nothing happens in each case. Please help! |
Please start with Essential diagnostics section above. Please post the results of executing |
GanttProject requires Java 8+. You have Java 6. Please remove it and install Java Runtime version 8. |
Did you install it? Java 6 comes by default on old Mac OSX, while Java 8 needs to be downloaded and installed. When I say "install", I mean "run the installer which sits on Java 8 Update 241 disk" |
Also, if you have not tried it yet, I really recommend to try using "Distribution with bundled Java runtime" (see the knowledge base article text). It comes with its own Java Runtime and does not care what other JRE are installed. I think it must be compatible with High Sierra. |
Okay, so most likely you have two Java Runtimes now and Java 6 just happens to be the default. I don't remember if there is Java Control Panel in the Settings -- probably there is and chances are that you can choose the default runtime. But really, try using distro with bundled JRE first. |
I have a Mac Cataliana downloaded the normal Gantt project and it gave still gave some problems, then I downloaded the mojava-falldown version and it works perfectly. |
Symptoms and Summary
You have macOS and you can't launch GanttProject application. 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 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 typejava -version
command. If Java Runtime is installed, you should see something likeSolution
java
in Terminal, you have a few options. First is to just try running GanttProject again. According to tests from our users it may help. If it does not then please try using fallback distro for Mojave which basically runs a shell script which executesjava
command with appropriate arguments.The text was updated successfully, but these errors were encountered: