-
-
Notifications
You must be signed in to change notification settings - Fork 7k
Mac OS X 10.10 Problem #2384
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
Comments
+1 |
Hit "More Info" and download and install the Java SE 6 runtime. |
I would if I was given the option. See attached screen grab.
|
In the screen grab there is a button called "More info..." like @gregcotten suggests. |
is there not a better method than to run Java SE 6? .... |
Installing a legacy runtime cannot be the answer. The IDE should run with java 8, too. |
I've been able to get it working with the 1.5.8 Beta release named "Mac OS X: ZIP file for Java 7" from the download page - it doesn't run if you double-click Arduino.app but I've been able to launch the IDE, compile and program Uno boards. After copying Arduino.app into my Applications folder, I just did this in the terminal:
(If you're wondering how I figured that long command out, I basically looked at what this launch script in the Linux arduino build does and figured out a similar-looking command) Here are my java version details:
I was under the impression Java tries pretty hard to keep new JVM releases compatible with jars targeting older Java versions; I'd be interested to hear, if anyone knows, why the launcher isn't happy with Java 8 given that Processing seems fine with it. |
Can you try version "macosx-new" from #2590 (comment) ? |
macosx-new starts fine for me - but now I already have the legacy java installed already. Not sure how to figure out which runtime it uses. |
Don't know either. The "-new" version should not work with java <= 6. But a way to know which version is using would be nice to have. Maybe a plain |
Good idea. From |
I'm not sure lsof works as expected, though |
@ffissore I downloaded arduino-PR-2590-BUILD-142-macosx.zip (the file had an sha1 of c942411f294156e3737c8495b44863ed9db6857a ) from #2590 (comment) Unfortunately, when I try to open it, I still get the message "To open “Arduino.app” you need to install the legacy Java SE 6 runtime." Next, I installed arduino-PR-2590-BUILD-142-macosx-new.zip (the file had an sha1 of f810ccee173069c691be93c8c2198dfabe4344e8 ) from #2590 (comment) - this time I received the message "“Arduino.app” can’t be opened because it is from an unidentified developer." - when I looked in the package, it didn't contain a "_CodeSignature" folder. My computer's details:
|
That still sounds like progress :) In preferences "Security & Privacy > General > Allow apps downloaded from" (at least for the test) switch it to "Anywhere". If that works all is left is signing the release properly. |
As the -new file wasn't in the comment by @ArduinoBot I figured it wasn't from the build server - but looking at the ant file I see it was from the build server, just not in the comment. Pretty unhelpful error message, eh? I tried these at the command line, hoping to get some debug info on stdout, but I didn't get anything:
|
It's not yet in the comment since PR builder has to work with all PRs. It will eventually be. The error message is expected and it's the reason why we'll keep on pushing the normal version, which requires java6, the package of which is managed by Apple. Since Java7, Apple doesn't provide a Java package any more. You need to download a recent jre on your own (from http://java.com/it/download/). Then the IDE will run fine |
@michaeltandy only now I see you already have java. Can you paste the output of |
@tcurdt @michaeltandy Automated builds (everything but the released versions you find on the download page) are not signed |
Since Mavericks it's a hassle to install the old version and the installation of a newer runtime is recommended. That's what should be communicated to the users giving them instructions on how to install the runtime. I also had java8 installed when I came here.
The problem is that with the "normal" version it will not run fine. People come here because they do have java but are forced to search, find and install a legacy package to install java6 to get the IDE running - despite the already installed newer runtime. |
Yes, helping users with issues is the whole point of this "-new" version. When people run the IDE, and mac says there's a requirement, and everything is done with a no-brainer sequence of "yes, ok, continue", that's is far easier to explain. This will only happen once we've released |
@ffissore that's how it was before - unfortunately that's no longer true on Mavericks |
And there will be a dedicated guide :) Trust me, at the end, it will look easy (hopefully it will be easy ;)). Now we are polishing the code. Documentation will follow |
@ffissore Command output:
I decided to dump 1.7 and followed Oracle's instructions - after doing this the result was:
However, I still get the error "Unable to load Java Runtime Environment." |
What does |
Give a try to http://arduino.cc/download.php?f=/arduino-1.6.0rc3-macosx-java-latest.zip in the mean time |
Fixed with IDE 1.6.0 release. If you still have problems, please open a new issue |
I recently upgraded to OS X Yosemite and Java 1.8. Upon attempting to start Arduino app, I get an error as follows:
Arduino quit unexpectedly.
Please advise.
Many thanks
The text was updated successfully, but these errors were encountered: