-
-
Notifications
You must be signed in to change notification settings - Fork 7k
1.6.2 doesn't work on Linux - missing cores and Java errors #2830
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
The problem seems to be with a native lib that implements Posix Both areas are already covered and tested in Java 7 Looks like a shiny new wheel was invented |
As I've said in #2829, using Java 1.8 just works |
The main point is that obviously nobody tested the Linux version before it was released to the public.
That's a workaround, not a solution |
i don't think they tested the IDE at all did they? java8 doesn't fix it for me either on debian sid, and it seems a pretty steep requirement, when the osx build only just supports java7
it doesn't even get as far as extracting the cores to ~/.arduino15 as its reported to do on osx, just past the splashscreen. |
The mac versions actually seems to be based on 1.8 now. Yeah, it's unfortunate 123 commits when into the public repository only hours before release. Even a day or two would have allowed some beta testing on a wide range of systems and likely turned up these problems. |
are they? i thought it was java 1.6 by default and 1.7 is experimental - certainly 1.6.1 was, although they've dropped support for osx < 10.7, so maybe that's changed in 1.6.2 |
Yes, or at least Mac builds now appear to require Java 1.8. For example, look at line 271 in build.xml: https://github.com/arduino/Arduino/blob/master/build/build.xml#L271 The actual .jar files also appear to have been built with Java 1.8. Arduino doesn't even compile on a Mac anymore (issue #2835) without some currently undocumented setup involving a symbol named MACOSX_BUNDLED_JVM. So far, I haven't manged to figure out what this is supposed to be or how to get the source to build on a Mac, but I'm going to try (guessing) again later this evening or tomorrow morning. At least none of the builds involves 1.6 anymore. |
JNA bug fixed. A nightly build is on the way. IDE java code is still bound to java6, that's why we can't use java7 methods. It bundles java8 (and requires it in calling bundleapp task) only to force both windows and mac to use the bundled JVM, instead of the system one: reducing the number of java combinations eases support |
Well not really , I switched back to Java 7 and reinstalled the latest version.
If you bundle Java 8 with Windows and Mac, why is the IDE tied to 1.6 code? |
Forgot to mention: Release works fine with Java 8! |
With "latest version" you mean the nightly right? If so, you may have downloaded it before the CI box pushed the files to the download server. May you retry? |
The latest version was what I found on the official Download page. Since then I have rebuild the latest github version from scratch: it runs fine with Java 7. The offical release is still broken. |
Got it, thx. Btw, the nightly on the download page is similar to what you got from the source. |
There's nothing inside the hardware directory in arduino-1.6.2-linux64.tar.xz so you've forgotten the AVR cores that should be installed by default (and not rely on the new cores manager) and when trying to run it we get the following errors.
I think we need a more managed development process that would:
The text was updated successfully, but these errors were encountered: